Package com.atlassian.bitbucket.auth
Interface HttpAuthenticationFailureContext
- All Superinterfaces:
HttpAuthenticationContext
Context class holding all details relevant for authentication failure processing by
HttpAuthenticationFailureHandler
modules.-
Field Summary
Fields inherited from interface com.atlassian.bitbucket.auth.HttpAuthenticationContext
METHOD_BASIC, METHOD_FORM, METHOD_TOKEN
-
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.bitbucket.auth.AuthenticationException
Methods inherited from interface com.atlassian.bitbucket.auth.HttpAuthenticationContext
getCredentials, getFilterChain, getMethod, getRequest, getResponse, getUsername
-
Method Details
-
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.
-