Class FailedAuthenticationActionEvent
Object
se.curity.identityserver.sdk.data.events.AuthenticationEvent
se.curity.identityserver.sdk.data.events.UserAuthenticationEvent
se.curity.identityserver.sdk.data.events.FailedAuthenticationActionEvent
- All Implemented Interfaces:
SerializableAsMap,AuditableEvent,Event
public class FailedAuthenticationActionEvent
extends UserAuthenticationEvent
implements AuditableEvent
A failed authentication action event.
- Since:
- 3.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionFailedAuthenticationActionEvent(String sessionId, @Nullable String actionId, String authenticatorId, String subject, String acr, AuthenticationAttributes authenticationAttributes, String errorCode, String errorDescription, String profileId) Creates anFailedAuthenticationActionEvent. -
Method Summary
Methods inherited from class se.curity.identityserver.sdk.data.events.UserAuthenticationEvent
getSessionIdMethods inherited from class se.curity.identityserver.sdk.data.events.AuthenticationEvent
getProfileId, toString
-
Constructor Details
-
FailedAuthenticationActionEvent
public FailedAuthenticationActionEvent(String sessionId, @Nullable String actionId, String authenticatorId, String subject, String acr, AuthenticationAttributes authenticationAttributes, String errorCode, String errorDescription, String profileId) Creates anFailedAuthenticationActionEvent.- Parameters:
sessionId- The ID of the session bound to this loginactionId- The ID of the action that triggered this eventauthenticatorId- The authenticator instance ID that the action is configured onsubject- The subject of whoever logged inacr- The ACR (Authentication Context Class Reference, i.e., authentication method)authenticationAttributes- TheAuthenticationAttributesbefore theAuthenticationActionwas appliederrorCode- Error code from theAuthenticationActionResult.FailedAuthenticationActionResultthat triggered the eventerrorDescription- Error message from theAuthenticationActionResult.FailedAuthenticationActionResultthat triggered the eventprofileId- The ID of the profile from which this event originated
-
-
Method Details
-
asMap
Description copied from interface:EventGet a map representation of thisEvent.- Specified by:
asMapin interfaceEvent- Specified by:
asMapin interfaceSerializableAsMap- Overrides:
asMapin classUserAuthenticationEvent- Returns:
- a
Maprepresentation of thisEvent. This can be used to serialize events. Sub-types are encouraged to override this method, callingsuper.asMap()and enriching the returned mutableMapwith the more specific information added by the sub-type.
-
getActionId
-
getAuthenticatorId
-
getSubject
Get the subject of whoever performed the login.- Returns:
- the authenticated subject
-
getAcr
-
getAuthenticationAttributes
-
getAuditData
Description copied from interface:AuditableEventGet allAuditDataassociated with this auditable event.This method must always return the same instant of
AuditData.- Specified by:
getAuditDatain interfaceAuditableEvent- Returns:
- the
AuditDataconcisely describing the auditable data of this event
-
getErrorCode
-
getErrorDescription
-