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:
Serializable
Deprecated.
Indicates a secure object invocation failed because the
Authentication
could not be obtained from the SecurityContextHolder.- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationCredentialsNotFoundEvent(Object secureObject, Collection<ConfigAttribute> attributes, AuthenticationCredentialsNotFoundException credentialsNotFoundException) Deprecated.Construct the event. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Methods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
AuthenticationCredentialsNotFoundEvent
public AuthenticationCredentialsNotFoundEvent(Object secureObject, 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 Details
-
getConfigAttributes
Deprecated. -
getCredentialsNotFoundException
Deprecated.
-
AbstractAuthenticationFailureEventinstead.