Package org.xwiki.security.authorization
Class AccessDeniedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.xwiki.security.authorization.AuthorizationException
-
- org.xwiki.security.authorization.AccessDeniedException
-
- All Implemented Interfaces:
Serializable
public class AccessDeniedException extends AuthorizationException
Exception raised by the AuthorizationManager when denying access.- Since:
- 4.0M2
- Version:
- $Id: e5739761103b38c2ff83f7c769a949b18ed036a2 $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AccessDeniedException(DocumentReference userReference, EntityReference entityReference)
AccessDeniedException(DocumentReference userReference, EntityReference entityReference, Throwable t)
AccessDeniedException(Right right, DocumentReference userReference, EntityReference entityReference)
AccessDeniedException(Right right, DocumentReference userReference, EntityReference entityReference, Throwable t)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AccessDeniedException
public AccessDeniedException(DocumentReference userReference, EntityReference entityReference)
- Parameters:
userReference
- The user, for which the query was attempted.entityReference
- The entity, on which the query was attempted.
-
AccessDeniedException
public AccessDeniedException(Right right, DocumentReference userReference, EntityReference entityReference)
- Parameters:
right
- The right currently being checked.userReference
- The user, for which the query was attempted.entityReference
- The entity, on which the query was attempted.
-
AccessDeniedException
public AccessDeniedException(DocumentReference userReference, EntityReference entityReference, Throwable t)
- Parameters:
userReference
- The user, for which the query was attempted.entityReference
- The entity, on which the query was attempted.t
- a Throwable providing details about the underlying cause.
-
AccessDeniedException
public AccessDeniedException(Right right, DocumentReference userReference, EntityReference entityReference, Throwable t)
- Parameters:
right
- The right currently being checked.userReference
- The user, for which the query was attempted.entityReference
- The entity, on which the query was attempted.t
- a Throwable providing details about the underlying cause.
-
-