org.acegisecurity.event.authorization
Class AuthorizationFailureEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.acegisecurity.event.authorization.AbstractAuthorizationEvent
org.acegisecurity.event.authorization.AuthorizationFailureEvent
- All Implemented Interfaces:
- java.io.Serializable
public class AuthorizationFailureEvent
- extends AbstractAuthorizationEvent
Indicates a secure object invocation failed because the principal could not be authorized for the request.
- Version:
- $Id: AuthorizationFailureEvent.java 1496 2006-05-23 13:38:33Z benalex $
- Author:
- Ben Alex
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
| Methods inherited from class org.springframework.context.ApplicationEvent |
getTimestamp |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AuthorizationFailureEvent
public AuthorizationFailureEvent(java.lang.Object secureObject,
ConfigAttributeDefinition configAttribs,
Authentication authentication,
AccessDeniedException accessDeniedException)
- Construct the event.
- Parameters:
secureObject - the secure objectconfigAttribs - that apply to the secure objectauthentication - that was found in the SecurityContextHolderaccessDeniedException - that was returned by the
AccessDecisionManager
- Throws:
java.lang.IllegalArgumentException - if any null arguments are presented.
getAccessDeniedException
public AccessDeniedException getAccessDeniedException()
getAuthentication
public Authentication getAuthentication()
getConfigAttributeDefinition
public ConfigAttributeDefinition getConfigAttributeDefinition()
Copyright © 2004-2006 Acegi Technology Pty Limited. All Rights Reserved.