org.riotfamily.riot.security
Class PermissionDeniedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.riotfamily.riot.security.PermissionDeniedException
All Implemented Interfaces:
Serializable

public class PermissionDeniedException
extends RuntimeException

Since:
6.5
Author:
Felix Gnass [fgnass at neteye dot de]
See Also:
Serialized Form

Constructor Summary
PermissionDeniedException(RiotUser user, String action, Object object, AuthorizationPolicy policy)
           
PermissionDeniedException(RiotUser user, String action, Object object, AuthorizationPolicy policy, String permissionRequestUrl)
           
 
Method Summary
 String getAction()
           
 Object getObject()
           
 String getPermissionRequestUrl()
           
 AuthorizationPolicy getPolicy()
           
 RiotUser getUser()
           
 
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
 

Constructor Detail

PermissionDeniedException

public PermissionDeniedException(RiotUser user,
                                 String action,
                                 Object object,
                                 AuthorizationPolicy policy)

PermissionDeniedException

public PermissionDeniedException(RiotUser user,
                                 String action,
                                 Object object,
                                 AuthorizationPolicy policy,
                                 String permissionRequestUrl)
Method Detail

getUser

public RiotUser getUser()

getAction

public String getAction()

getObject

public Object getObject()

getPolicy

public AuthorizationPolicy getPolicy()

getPermissionRequestUrl

public String getPermissionRequestUrl()