Package com.atlassian.bitbucket.auth
Interface SshAuthenticationFailureContext
- All Superinterfaces:
SshAuthenticationContext
Context class holding all details relevant for authentication failure processing by
SshAuthenticationFailureHandler
modules.-
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.bitbucket.auth.AuthenticationException
Methods inherited from interface com.atlassian.bitbucket.auth.SshAuthenticationContext
getPublicKey, getUsername
-
Method Details
-
getAuthenticationException
@Nonnull com.atlassian.bitbucket.auth.AuthenticationException getAuthenticationException()- Returns:
- the exception that was thrown by the
SshAuthenticationHandler
that triggered authentication failure
-
getAuthenticationState
- Returns:
- the state of authentication. Can be used to deduce the reason for authentication failure
-