Interface SshAuthenticationFailureContext

All Superinterfaces:
SshAuthenticationContext

public interface SshAuthenticationFailureContext extends SshAuthenticationContext
Context class holding all details relevant for authentication failure processing by SshAuthenticationFailureHandler modules.
  • Method Details

    • getAuthenticationException

      @Nonnull com.atlassian.bitbucket.auth.AuthenticationException getAuthenticationException()
      Returns:
      the exception that was thrown by the SshAuthenticationHandler that triggered authentication failure
    • getAuthenticationState

      @Nonnull AuthenticationState getAuthenticationState()
      Returns:
      the state of authentication. Can be used to deduce the reason for authentication failure