public abstract class PublicKeyAuthenticationAdapter extends Object implements PublicKeyAuthenticationProvider
Constructor and Description |
---|
PublicKeyAuthenticationAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
add(SshPublicKey key,
String comment,
Connection<SshServerContext> con) |
Iterator<SshPublicKeyFile> |
getKeys(Connection<SshServerContext> con) |
void |
remove(SshPublicKey key,
Connection<SshServerContext> con) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isAuthorizedKey
public Iterator<SshPublicKeyFile> getKeys(Connection<SshServerContext> con) throws PermissionDeniedException, IOException
getKeys
in interface PublicKeyAuthenticationProvider
PermissionDeniedException
IOException
public void remove(SshPublicKey key, Connection<SshServerContext> con) throws IOException, PermissionDeniedException, SshException
remove
in interface PublicKeyAuthenticationProvider
IOException
PermissionDeniedException
SshException
public void add(SshPublicKey key, String comment, Connection<SshServerContext> con) throws IOException, PermissionDeniedException, SshException
add
in interface PublicKeyAuthenticationProvider
IOException
PermissionDeniedException
SshException
Copyright © 2017. All rights reserved.