public abstract class AbstractPublicKeyAuthenticationProvider extends java.lang.Object implements PublicKeyAuthenticationProvider
Abstract implementation of a PublicKeyAuthenticationProvider
that just provides getName() implementation.
| Constructor and Description |
|---|
AbstractPublicKeyAuthenticationProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(SshPublicKey key,
java.lang.String comment,
SshConnection con) |
boolean |
checkKey(SshPublicKey key,
SshConnection con) |
java.util.Iterator<SshPublicKeyFile> |
getKeys(SshConnection con) |
java.lang.String |
getName() |
void |
remove(SshPublicKey key,
SshConnection con) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisAuthorizedKeypublic AbstractPublicKeyAuthenticationProvider()
public boolean checkKey(SshPublicKey key, SshConnection con) throws java.io.IOException
checkKey in interface PublicKeyAuthenticationProviderjava.io.IOExceptionpublic java.util.Iterator<SshPublicKeyFile> getKeys(SshConnection con) throws PermissionDeniedException, java.io.IOException
getKeys in interface PublicKeyAuthenticationProviderPermissionDeniedExceptionjava.io.IOExceptionpublic void remove(SshPublicKey key, SshConnection con) throws java.io.IOException, PermissionDeniedException, SshException
remove in interface PublicKeyAuthenticationProviderjava.io.IOExceptionPermissionDeniedExceptionSshExceptionpublic void add(SshPublicKey key, java.lang.String comment, SshConnection con) throws java.io.IOException, PermissionDeniedException, SshException
add in interface PublicKeyAuthenticationProviderjava.io.IOExceptionPermissionDeniedExceptionSshExceptionpublic java.lang.String getName()
Copyright © 2022. All rights reserved.