public abstract class AbstractPKA
extends java.lang.Object
implements org.apache.sshd.server.auth.pubkey.PublickeyAuthenticator
Constructor and Description |
---|
AbstractPKA() |
Modifier and Type | Method and Description |
---|---|
boolean |
authenticate(java.lang.String username,
java.security.PublicKey key,
org.apache.sshd.server.session.ServerSession session) |
protected abstract java.lang.String |
getUsername() |
protected abstract java.util.List<java.security.PublicKey> |
parseAuthorizedKeys() |
public boolean authenticate(java.lang.String username, java.security.PublicKey key, org.apache.sshd.server.session.ServerSession session)
authenticate
in interface org.apache.sshd.server.auth.pubkey.PublickeyAuthenticator
protected abstract java.util.List<java.security.PublicKey> parseAuthorizedKeys() throws java.lang.Exception
java.lang.Exception
protected abstract java.lang.String getUsername()