com.ibm.websphere.wim.security.authz
Class AccessException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.websphere.wim.exception.WIMException
              extended by com.ibm.websphere.wim.exception.WIMApplicationException
                  extended by com.ibm.websphere.wim.security.authz.AccessException
All Implemented Interfaces:
java.io.Serializable

public class AccessException
extends WIMApplicationException

A class representing an access exception.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.websphere.wim.exception.WIMException
SUCCESS
 
Constructor Summary
AccessException(java.lang.String subjectId, java.lang.String roleName, Entitlement entitlement, java.util.logging.Level logLevel)
          Constructs the access exception.
AccessException(java.lang.String subjectId, java.lang.String entityId, java.lang.String entityViewName, Entitlement entitlement, java.util.logging.Level logLevel)
          Constructs the access exception.
 
Method Summary
 Entitlement getEntitlement()
          Returns the entitlement.
 java.lang.String getEntityId()
          Returns the entity identifier.
 java.lang.String getEntityViewName()
          Returns the entity view name.
 java.lang.String getRoleName()
          Returns the role name.
 java.lang.String getSubjectId()
          Returns the subject identifier.
 
Methods inherited from class com.ibm.websphere.wim.exception.WIMException
getLocalizedMessage, getLocalizedMessage, getMessage, getMessage, getMessageBundle, getMessageKey, getMessageParams, getRootError, getRootErrorCode, getRootErrorMessage, getRootErrorSource, isRootErrorSet, setRootError, setRootError, setRootErrorCode, setRootErrorCode, setRootErrorMessage, setRootErrorMessage, setRootErrorSource, setRootErrorSource
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AccessException

public AccessException(java.lang.String subjectId,
                       java.lang.String entityId,
                       java.lang.String entityViewName,
                       Entitlement entitlement,
                       java.util.logging.Level logLevel)
Constructs the access exception.

Parameters:
subjectId - Subject identifier
entityId - Entity identifier
entityViewName - Entity view name
entitlement - Entitlement
logLevel - Logging level

AccessException

public AccessException(java.lang.String subjectId,
                       java.lang.String roleName,
                       Entitlement entitlement,
                       java.util.logging.Level logLevel)
Constructs the access exception.

Parameters:
subjectId - Subject identifier
roleName - Role name
entitlement - Entitlement
logLevel - Logging level
Method Detail

getSubjectId

public java.lang.String getSubjectId()
Returns the subject identifier.

Return:
Subject identifier

getRoleName

public java.lang.String getRoleName()
Returns the role name.

Return:
Role name

getEntityId

public java.lang.String getEntityId()
Returns the entity identifier.

Return:
Entity identifier

getEntityViewName

public java.lang.String getEntityViewName()
Returns the entity view name.

Return:
Entity view name

getEntitlement

public Entitlement getEntitlement()
Returns the entitlement.

Return:
Entitlement