Class SuccessSsoAuthenticationEvent
Object
se.curity.identityserver.sdk.data.events.AuthenticationEvent
se.curity.identityserver.sdk.data.events.UserAuthenticationEvent
se.curity.identityserver.sdk.data.events.AuthenticationAttemptEvent
se.curity.identityserver.sdk.data.events.LoginAuthenticationEvent
se.curity.identityserver.sdk.data.events.SuccessSsoAuthenticationEvent
- All Implemented Interfaces:
SerializableAsMap,AuditableEvent,Event
public class SuccessSsoAuthenticationEvent
extends LoginAuthenticationEvent
implements AuditableEvent
Event fired at successful SSO authentication.
- Since:
- 2.2.0
-
Field Summary
Fields inherited from class se.curity.identityserver.sdk.data.events.AuthenticationAttemptEvent
_acr, _oauthClientId, _oauthProfileId, _serviceProviderId, _subject -
Constructor Summary
ConstructorsConstructorDescriptionSuccessSsoAuthenticationEvent(String sessionId, String subject, String acr, AuthenticationAttributes authenticationAttributes, Instant authenticationInstant, @Nullable String oauthProfileId, @Nullable String oauthClientId, String profileId) Creates a newSuccessSsoAuthenticationEvent.SuccessSsoAuthenticationEvent(String sessionId, String subject, String acr, AuthenticationAttributes authenticationAttributes, Instant authenticationInstant, @Nullable String serviceProviderId, String profileId) Creates a newSuccessSsoAuthenticationEvent. -
Method Summary
Methods inherited from class se.curity.identityserver.sdk.data.events.LoginAuthenticationEvent
asMap, getAuthenticationAttributes, getAuthenticationInstantMethods inherited from class se.curity.identityserver.sdk.data.events.AuthenticationAttemptEvent
getAcr, getAuditMessage, getOauthClientId, getOauthProfileId, getServiceProviderId, getSubjectMethods 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
-
SuccessSsoAuthenticationEvent
public SuccessSsoAuthenticationEvent(String sessionId, String subject, String acr, AuthenticationAttributes authenticationAttributes, Instant authenticationInstant, @Nullable String serviceProviderId, String profileId) Creates a newSuccessSsoAuthenticationEvent.- Parameters:
sessionId- The ID of the session bound to this SSO authenticationsubject- The subject of whoever logged inacr- The ACR (Authentication Context Class Reference) used for authenticationauthenticationAttributes- TheAuthenticationAttributesreturned from the authenticationauthenticationInstant- The instant in time when the authentication happenedserviceProviderId- The service provider used for authenticationprofileId- The ID of the profile from which this event originated
-
SuccessSsoAuthenticationEvent
public SuccessSsoAuthenticationEvent(String sessionId, String subject, String acr, AuthenticationAttributes authenticationAttributes, Instant authenticationInstant, @Nullable String oauthProfileId, @Nullable String oauthClientId, String profileId) Creates a newSuccessSsoAuthenticationEvent.- Parameters:
sessionId- The ID of the session bound to this SSO authenticationsubject- The subject of whoever logged inacr- The ACR (Authentication Context Class Reference) used for authenticationauthenticationAttributes- TheAuthenticationAttributesreturned from the authenticationauthenticationInstant- The instant in time when the authentication happenedoauthProfileId- The OAuth profile requesting authenticationoauthClientId- The OAuth client requesting authenticationprofileId- The ID of the profile from which this event originated
-
-
Method Details
-
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
-
getAuditMessagePrologue
Description copied from class:AuthenticationAttemptEventGets the beginning of the audit message. The "prologue" should describe the event, and will be followed by further details (service provider, OAuth client, OAuth profile).- Specified by:
getAuditMessageProloguein classAuthenticationAttemptEvent- Returns:
- a description of the event.
- See Also:
-