Interface HttpAuthenticationFailureContext

All Superinterfaces:
HttpAuthenticationContext

public interface HttpAuthenticationFailureContext extends HttpAuthenticationContext
Context class holding all details relevant for authentication failure processing by HttpAuthenticationFailureHandler modules.
  • Method Details

    • getAuthenticationState

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

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