@FunctionalInterface public interface PublickeyAuthenticator
PublickeyAuthenticator is used on the server side
to authenticate user public keys.| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(String username,
PublicKey key,
ServerSession session)
Check the validity of a public key.
|
boolean authenticate(String username, PublicKey key, ServerSession session) throws AsyncAuthException
username - the usernamekey - the keysession - the server sessionAsyncAuthException - If the authentication is performed asynchronouslyCopyright © 2008–2019 The Apache Software Foundation. All rights reserved.