Class AbstractAuthenticationEvent

java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.auth.AbstractAuthenticationEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AuthenticationFailureEvent, AuthenticationSuccessEvent

public abstract class AbstractAuthenticationEvent extends ApplicationEvent
Base class for constructing events that relate to authentication.
See Also:
  • Constructor Details

    • AbstractAuthenticationEvent

      protected AbstractAuthenticationEvent(@Nonnull Object source, @Nullable String username, @Nonnull String method)
  • Method Details

    • getAuthenticationMethod

      @Nonnull public String getAuthenticationMethod()
    • getUsername

      @Nullable public String getUsername()