Class AuthenticationCredentialsNotFoundEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- org.springframework.security.access.event.AbstractAuthorizationEvent
-
- org.springframework.security.access.event.AuthenticationCredentialsNotFoundEvent
-
- All Implemented Interfaces:
java.io.Serializable
@Deprecated public class AuthenticationCredentialsNotFoundEvent extends AbstractAuthorizationEvent
Deprecated.Authentication is now separated from authorization. ConsiderAbstractAuthenticationFailureEvent
instead.Indicates a secure object invocation failed because theAuthentication
could not be obtained from theSecurityContextHolder
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthenticationCredentialsNotFoundEvent(java.lang.Object secureObject, java.util.Collection<ConfigAttribute> attributes, AuthenticationCredentialsNotFoundException credentialsNotFoundException)
Deprecated.Construct the event.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.Collection<ConfigAttribute>
getConfigAttributes()
Deprecated.AuthenticationCredentialsNotFoundException
getCredentialsNotFoundException()
Deprecated.
-
-
-
Constructor Detail
-
AuthenticationCredentialsNotFoundEvent
public AuthenticationCredentialsNotFoundEvent(java.lang.Object secureObject, java.util.Collection<ConfigAttribute> attributes, AuthenticationCredentialsNotFoundException credentialsNotFoundException)
Deprecated.Construct the event.- Parameters:
secureObject
- the secure objectattributes
- that apply to the secure objectcredentialsNotFoundException
- exception returned to the caller (contains reason)
-
-
Method Detail
-
getConfigAttributes
public java.util.Collection<ConfigAttribute> getConfigAttributes()
Deprecated.
-
getCredentialsNotFoundException
public AuthenticationCredentialsNotFoundException getCredentialsNotFoundException()
Deprecated.
-
-