org.camunda.bpm.engine
Class AuthorizationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.camunda.bpm.engine.ProcessEngineException
                  extended by org.camunda.bpm.engine.AuthorizationException
All Implemented Interfaces:
Serializable

public class AuthorizationException
extends ProcessEngineException

Exception thrown by the process engine in case a user tries to interact with a resource in an unauthorized way.

Author:
Daniel Meyer
See Also:
Serialized Form

Field Summary
protected  String permissionName
           
protected  String resourceId
           
protected  String resourceType
           
protected  String userId
           
 
Constructor Summary
AuthorizationException(String message)
           
AuthorizationException(String userId, String permissionName, String resourceType, String resourceId)
           
 
Method Summary
 String getResourceId()
           
 String getResourceType()
           
 String getUserId()
           
 String getViolatedPermissionName()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

resourceType

protected final String resourceType

permissionName

protected final String permissionName

userId

protected final String userId

resourceId

protected final String resourceId
Constructor Detail

AuthorizationException

public AuthorizationException(String message)

AuthorizationException

public AuthorizationException(String userId,
                              String permissionName,
                              String resourceType,
                              String resourceId)
Method Detail

getResourceType

public String getResourceType()

getViolatedPermissionName

public String getViolatedPermissionName()

getUserId

public String getUserId()

getResourceId

public String getResourceId()


Copyright © 2015 camunda services GmbH. All rights reserved.