AbstractMaprAuthenticator, KerberosAuthenticator, PseudoAuthenticatorpublic interface Authenticator
Implementations are use-once instances, they don't need to be thread safe.
| Modifier and Type | Method | Description |
|---|---|---|
void |
authenticate(java.net.URL url,
AuthenticatedURL.Token token) |
Authenticates against a URL and returns a
AuthenticatedURL.Token to be
used by subsequent requests. |
void |
setConnectionConfigurator(ConnectionConfigurator configurator) |
Sets a
ConnectionConfigurator instance to use for
configuring connections. |
void setConnectionConfigurator(ConnectionConfigurator configurator)
ConnectionConfigurator instance to use for
configuring connections.configurator - the ConnectionConfigurator instance.void authenticate(java.net.URL url,
AuthenticatedURL.Token token)
throws java.io.IOException,
AuthenticationException
AuthenticatedURL.Token to be
used by subsequent requests.url - the URl to authenticate against.token - the authentication token being used for the user.java.io.IOException - if an IO error occurred.AuthenticationException - if an authentication error occurred.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.