Interface PublicKeyAuthenticationProvider

All Superinterfaces:
Authenticator
All Known Implementing Classes:
AbstractPublicKeyAuthenticationProvider, AuthorizedKeysPublicKeyAuthenticationProvider, OpenSshCertificateAuthenticationProvider, PublicKeyAuthenticationAdapter, UniversalAuthenticationProvider

public interface PublicKeyAuthenticationProvider extends Authenticator

This interface allows you to define a custom public key store for the publickey authentication mechanism. The actual key verification is performed by the mechanism itself and your only requirement is to return a value which indicates whether the key has been authorized by the user for public key access.

The implementation may optionally support addition, removal and listing of keys. When supported, PublicKeySubsystemServer may be used. If not required the methods should thrown UnsupportedOperationException.

Author:
Lee David Painter