Class SecurityAuthenticationSuccessfulEvent


public final class SecurityAuthenticationSuccessfulEvent extends SecurityAuthenticationEvent
An event to represent a successful authentication.
Author:
Darran Lofthouse
  • Constructor Details

    • SecurityAuthenticationSuccessfulEvent

      public SecurityAuthenticationSuccessfulEvent(SecurityIdentity securityIdentity)
      Constructor for a new instance.
      Parameters:
      securityIdentity - the SecurityIdentity that successfully authenticated.
  • Method Details

    • accept

      public <P, R> R accept(SecurityEventVisitor<P,R> visitor, P param)
      Description copied from class: SecurityEvent
      Accept the given visitor, calling the method which is most applicable to this event type.
      Overrides:
      accept in class SecurityAuthenticationEvent
      Type Parameters:
      P - the visitor parameter type
      R - the visitor return type
      Parameters:
      visitor - the visitor
      param - the parameter to pass to the visitor handleXxx method
      Returns:
      the value returned from the visitor handleXxx method