public interface

SshAuthenticationSuccessHandler

com.atlassian.stash.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, until a handler returns true.

All ssh-auth-success-handler callbacks will be made in the com.atlassian.stash.request.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.