Package com.atlassian.bitbucket.auth
Interface SshAuthenticationFailureHandler
public interface SshAuthenticationFailureHandler
Handler for authentication failure over SSH.
onAuthenticationFailure(SshAuthenticationFailureContext)
is called by the system for all installed ssh-auth-failure-handler
module types, in order of their configured
weight (low to high).-
Method Summary
Modifier and TypeMethodDescriptionvoid
A method called back on SSH authentication failure.
-
Method Details
-
onAuthenticationFailure
A method called back on SSH authentication failure. Thereason
for authentication failure can be retrieved throughSshAuthenticationFailureContext.getAuthenticationException()
.- Parameters:
context
- a context object holding the authentication details and authentication exception.
-