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
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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.
Copyright © 2004–2015 XWiki. All rights reserved.