Package com.atlassian.bitbucket.auth
Interface SshAuthenticationSuccessHandler
public interface SshAuthenticationSuccessHandler
Handler that is called when a user successfully authenticates with the system over SSH. The system will call
onAuthenticationSuccess(SshAuthenticationSuccessContext)
on all installed ssh-auth-success-handler
modules in order of their configured weight.
All ssh-auth-success-handler
callbacks will be made in the context
of the SSH command requested but will take place before the command is resolved to an ScmRequest
and before it is handled
.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Callback method that is called by the system on authentication success over SSH.
-
Method Details
-
onAuthenticationSuccess
Callback method that is called by the system on authentication success over SSH. The authenticateduser
can be retrieved throughSshAuthenticationSuccessContext.getUser()
.- Parameters:
context
- a context object holding authentication details and authenticated user.
-