public interface SshAuthenticationSuccessHandler
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
.
Modifier and Type | Method and Description |
---|---|
void |
onAuthenticationSuccess(SshAuthenticationSuccessContext context)
Callback method that is called by the system on authentication success over SSH.
|
void onAuthenticationSuccess(@Nonnull SshAuthenticationSuccessContext context)
user
can be retrieved through SshAuthenticationSuccessContext.getUser()
.context
- a context object holding authentication details and authenticated user.Copyright © 2020 Atlassian. All rights reserved.