public abstract class StaticPublickeyAuthenticator extends AbstractLoggingBean implements PublickeyAuthenticator
true/false regardlesslog| Modifier | Constructor and Description |
|---|---|
protected |
StaticPublickeyAuthenticator(boolean acceptance) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(String username,
PublicKey key,
ServerSession session)
Check the validity of a public key.
|
protected void |
handleAcceptance(String username,
PublicKey key,
ServerSession session) |
protected void |
handleRejection(String username,
PublicKey key,
ServerSession session) |
boolean |
isAccepted() |
getSimplifiedLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromAuthorizedEntriesprotected StaticPublickeyAuthenticator(boolean acceptance)
public final boolean isAccepted()
public final boolean authenticate(String username, PublicKey key, ServerSession session)
PublickeyAuthenticatorauthenticate in interface PublickeyAuthenticatorusername - the usernamekey - the keysession - the server sessionprotected void handleAcceptance(String username, PublicKey key, ServerSession session)
protected void handleRejection(String username, PublicKey key, ServerSession session)
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.