Class SuccessAuthenticationEvent

All Implemented Interfaces:
SerializableAsMap, AuditableEvent, Event

public class SuccessAuthenticationEvent extends LoginAuthenticationEvent implements AuditableEvent
Event fired at successful authentication.
Since:
2.2.0
  • Constructor Details

    • SuccessAuthenticationEvent

      public SuccessAuthenticationEvent(String sessionId, String subject, String acr, AuthenticationAttributes authenticationAttributes, Instant authenticationInstant, @Nullable String serviceProviderId, String profileId)
      Parameters:
      sessionId - The ID of the session bound to this authentication
      subject - The subject of the authentication
      acr - The ACR (Authentication Context Class Reference) used for authentication
      authenticationAttributes - The AuthenticationAttributes returned from authentication
      authenticationInstant - The instant in time when the authentication happened
      serviceProviderId - The service provider used for authentication
      profileId - The ID of the profile from which this event originated
    • SuccessAuthenticationEvent

      public SuccessAuthenticationEvent(String sessionId, String subject, String acr, AuthenticationAttributes authenticationAttributes, Instant authenticationInstant, @Nullable String oauthProfileId, @Nullable String oauthClientId, String profileId)
      Parameters:
      sessionId - The ID of the session bound to this authentication
      subject - The subject of the authentication
      acr - The ACR (Authentication Context Class Reference) used for authentication
      authenticationAttributes - The AuthenticationAttributes returned from authentication
      authenticationInstant - The instant in time when the authentication happened
      oauthProfileId - The OAuth profile requesting authentication
      oauthClientId - The OAuth client requesting authentication
      profileId - The ID of the profile from which this event originated
  • Method Details