org.springframework.security.event.authorization
Class AuthenticationCredentialsNotFoundEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.security.event.authorization.AbstractAuthorizationEvent
org.springframework.security.event.authorization.AuthenticationCredentialsNotFoundEvent
- All Implemented Interfaces:
- java.io.Serializable
public class AuthenticationCredentialsNotFoundEvent
- extends AbstractAuthorizationEvent
Indicates a secure object invocation failed because the Authentication
could not be obtained from
the SecurityContextHolder
.
- Version:
- $Id: AuthenticationCredentialsNotFoundEvent.java 2217 2007-10-27 00:45:30Z luke_t $
- 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 |
AuthenticationCredentialsNotFoundEvent
public AuthenticationCredentialsNotFoundEvent(java.lang.Object secureObject,
ConfigAttributeDefinition configAttribs,
AuthenticationCredentialsNotFoundException credentialsNotFoundException)
- Construct the event.
- Parameters:
secureObject
- the secure objectconfigAttribs
- that apply to the secure objectcredentialsNotFoundException
- exception returned to the caller
(contains reason)
- Throws:
java.lang.IllegalArgumentException
- DOCUMENT ME!
getConfigAttributeDefinition
public ConfigAttributeDefinition getConfigAttributeDefinition()
getCredentialsNotFoundException
public AuthenticationCredentialsNotFoundException getCredentialsNotFoundException()