Spring Security Framework

org.springframework.security.event.authorization
Class AuthenticationCredentialsNotFoundEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by org.springframework.security.event.authorization.AbstractAuthorizationEvent
              extended by org.springframework.security.event.authorization.AuthenticationCredentialsNotFoundEvent
All Implemented Interfaces:
Serializable

public class AuthenticationCredentialsNotFoundEvent
extends AbstractAuthorizationEvent

Indicates a secure object invocation failed because the Authentication could not be obtained from the SecurityContextHolder.

Version:
$Id$
Author:
Ben Alex
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AuthenticationCredentialsNotFoundEvent(Object secureObject, ConfigAttributeDefinition configAttribs, AuthenticationCredentialsNotFoundException credentialsNotFoundException)
          Construct the event.
 
Method Summary
 ConfigAttributeDefinition getConfigAttributeDefinition()
           
 AuthenticationCredentialsNotFoundException getCredentialsNotFoundException()
           
 
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
 

Constructor Detail

AuthenticationCredentialsNotFoundEvent

public AuthenticationCredentialsNotFoundEvent(Object secureObject,
                                              ConfigAttributeDefinition configAttribs,
                                              AuthenticationCredentialsNotFoundException credentialsNotFoundException)
Construct the event.

Parameters:
secureObject - the secure object
configAttribs - that apply to the secure object
credentialsNotFoundException - exception returned to the caller (contains reason)
Throws:
IllegalArgumentException - DOCUMENT ME!
Method Detail

getConfigAttributeDefinition

public ConfigAttributeDefinition getConfigAttributeDefinition()

getCredentialsNotFoundException

public AuthenticationCredentialsNotFoundException getCredentialsNotFoundException()

Spring Security Framework

Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.