Authenticatorpublic abstract class AbstractMaprAuthenticator extends java.lang.Object implements Authenticator
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
NEGOTIATE |
HTTP header prefix used by the MAPR client/server endpoints during an authentication sequence.
|
static java.lang.String |
WWW_ERR_AUTHENTICATE |
HTTP header used by the MAPR server endpoint during an authentication sequence in case of error
|
| Constructor | Description |
|---|---|
AbstractMaprAuthenticator() |
| Modifier and Type | Method | Description |
|---|---|---|
abstract void |
authenticate(java.net.URL url,
AuthenticatedURL.Token token) |
Authenticates against a URL and returns a
AuthenticatedURL.Token to be
used by subsequent requests. |
abstract void |
setConnectionConfigurator(ConnectionConfigurator configurator) |
Sets a
ConnectionConfigurator instance to use for
configuring connections. |
public static final java.lang.String WWW_ERR_AUTHENTICATE
public static final java.lang.String NEGOTIATE
public abstract void authenticate(java.net.URL url,
AuthenticatedURL.Token token)
throws java.io.IOException,
AuthenticationException
AuthenticatorAuthenticatedURL.Token to be
used by subsequent requests.authenticate in interface Authenticatorurl - 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.public abstract void setConnectionConfigurator(ConnectionConfigurator configurator)
AuthenticatorConnectionConfigurator instance to use for
configuring connections.setConnectionConfigurator in interface Authenticatorconfigurator - the ConnectionConfigurator instance.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.