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: a50c4a00a43f92368cf2ec1efea967824fccd001 $
- 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-2013 XWiki. All Rights Reserved.