| com.atlassian.bitbucket.auth.SshAuthenticationHandler | 
Implementations should be stateless and thread-safe, as a single instance will be used to service all authentication requests.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 
      
  This method is deprecated.
      in 5.5 for removal in 6.0. Use  performAuthentication(SshAuthenticationContext)instead. | |||||||||||
| Invoked by the system when authentication is attempted over SSH. | |||||||||||
      
  This method is deprecated.
 in 5.5 for removal in 6.0. Use performAuthentication(SshAuthenticationContext)
             instead.
  
Invoked by the system when authentication is attempted over SSH. Implementations must
ApplicationUser instance of the authenticated user if the user is authenticated
         successfully
     null if the handler does not know how to authenticate the user from the request (for
         instance when a public key cannot be found in the system). By returning null, other
         handlers will be attempted.
     handlers will be attempted.
     handlers will be invoked in
 weight order until a handler successfully
 authenticates the user, or throws an AuthenticationException.| authenticationContext | the authentication context that provides username, public key, remote address, etc. | 
|---|
null when the handler opts out of authentication.| when authentication fails. | 
Invoked by the system when authentication is attempted over SSH. Implementations must
AuthenticationResult if the user is authenticated successfully
     null if the handler does not know how to authenticate the user from the request (for
         instance when a public key cannot be found in the system). By returning null, other
         handlers will be attempted.
     handlers will be attempted.
     handlers will be invoked in
 weight order until a handler successfully
 authenticates the user, or throws an AuthenticationException.| authenticationContext | the authentication context that provides username, public key, remote address, etc | 
|---|
AuthenticationResult if the handler was able to authenticate a user based on the request, or
         null if the handler opted out| when authentication fails. |