public interface

SshAuthenticationSuccessHandler

com.atlassian.bitbucket.auth.SshAuthenticationSuccessHandler

Class Overview

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 RequestContext context of the SSH command requested but will take place before the command is resolved to an ScmRequest and before it is handled.

Summary

Public Methods
void onAuthenticationSuccess(SshAuthenticationSuccessContext context)
Callback method that is called by the system on authentication success over SSH.

Public Methods

public void onAuthenticationSuccess (SshAuthenticationSuccessContext context)

Callback method that is called by the system on authentication success over SSH. The authenticated user can be retrieved through getUser().

Parameters
context a context object holding authentication details and authenticated user.