public abstract class StaticPublickeyAuthenticator extends AbstractLoggingBean implements PublickeyAuthenticator
true/false regardless| Modifier and Type | Field and Description |
|---|---|
private boolean |
acceptance |
log| Modifier | Constructor and Description |
|---|---|
protected |
StaticPublickeyAuthenticator(boolean acceptance) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(java.lang.String username,
java.security.PublicKey key,
ServerSession session)
Check the validity of a public key.
|
protected void |
handleAcceptance(java.lang.String username,
java.security.PublicKey key,
ServerSession session) |
protected void |
handleRejection(java.lang.String username,
java.security.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(java.lang.String username,
java.security.PublicKey key,
ServerSession session)
PublickeyAuthenticatorauthenticate in interface PublickeyAuthenticatorusername - the usernamekey - the keysession - the server sessionprotected void handleAcceptance(java.lang.String username,
java.security.PublicKey key,
ServerSession session)
protected void handleRejection(java.lang.String username,
java.security.PublicKey key,
ServerSession session)