public abstract class ServiceAuthenticator<T extends ServiceCreds> extends ChainedAuthenticator
ServiceCreds to handle the authentication of service clients
(bureaus, peers, etc.).Authenticator.AuthException| Constructor and Description |
|---|
ServiceAuthenticator(Class<T> credsClass,
Class<? extends Name> authNameClass)
Creates an authenticator that will handle requests using the supplied credentials class and
which will create instances of the supplied auth name class to identify those clients.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldHandleConnection(AuthingConnection conn)
Derived classes should implement this method and return true if the supplied connection is
one that they should authenticate.
|
authenticateConnectionpublic ServiceAuthenticator(Class<T> credsClass, Class<? extends Name> authNameClass)
public boolean shouldHandleConnection(AuthingConnection conn)
ChainedAuthenticatorshouldHandleConnection in class ChainedAuthenticatorCopyright © 2015. All rights reserved.