Deprecated
Do not use. The GGS based experimental authentication schemes are no longer supported. Consider using Basic or Bearer authentication with TLS instead.
GSS based authentication schemes.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static enum |
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private final KerberosConfig | config
Deprecated
as a consequence of
KerberosConfig being deprecated.
|
| private final DnsResolver | |
| private GSSCredential | |
| private static final String | |
| private static final Logger | |
| private static final String | |
| private GGSSchemeBase. | state
Authentication process state |
| private byte[] |
| Access | Constructor and Description |
|---|---|
| pack-priv | GGSSchemeBase(final KerberosConfig config, final DnsResolver dnsResolver)
Deprecated
as a consequence of
KerberosConfig being deprecated.
|
| pack-priv | GGSSchemeBase(final KerberosConfig config)
Deprecated
as a consequence of
KerberosConfig being deprecated.
|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected GSSContext | createGSSContext(final GSSManager manager, final Oid oid, final GSSName serverName, final GSSCredential gssCredential)
|
| public String | generateAuthResponse(final HttpHost host, final HttpRequest
The request being authenticated request, final HttpContext HTTP context context)Implements org. |
| protected byte[] | generateGSSToken(final byte[] input, final Oid oid, final String serviceName, final String authServer)
|
| protected abstract byte[] | |
| protected GSSManager | |
| public Principal | getPrincipal()
Implements org. Principal whose credentials are used to generate
an authentication response.
|
| public String | getRealm()
Implements org. |
| public boolean | isChallengeComplete()
Implements org. |
| public boolean | isResponseReady(final HttpHost host, final CredentialsProvider
The credentials to be used for authentication credentialsProvider, final HttpContext HTTP context context)Implements org. |
| public void | processChallenge(final AuthChallenge
the auth challenge authChallenge, final HttpContext HTTP context context)Implements org. |
| public String |
| challenge | back to summary |
|---|---|
| private String challenge | |
| config | back to summary |
|---|---|
| private final KerberosConfig config
Deprecated as a consequence of | |
| dnsResolver | back to summary |
|---|---|
| private final DnsResolver dnsResolver | |
| gssCredential | back to summary |
|---|---|
| private GSSCredential gssCredential | |
| KERBEROS_SCHEME | back to summary |
|---|---|
| private static final String KERBEROS_SCHEME | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| NO_TOKEN | back to summary |
|---|---|
| private static final String NO_TOKEN | |
| state | back to summary |
|---|---|
| private GGSSchemeBase. Authentication process state | |
| token | back to summary |
|---|---|
| private byte[] token | |
| GGSSchemeBase | back to summary |
|---|---|
| pack-priv GGSSchemeBase(final KerberosConfig config, final DnsResolver dnsResolver)
Deprecated as a consequence of | |
| GGSSchemeBase | back to summary |
|---|---|
| pack-priv GGSSchemeBase(final KerberosConfig config)
Deprecated as a consequence of | |
| GGSSchemeBase | back to summary |
|---|---|
| pack-priv GGSSchemeBase() | |
| createGSSContext | back to summary |
|---|---|
protected GSSContext createGSSContext(final GSSManager manager, final Oid oid, final GSSName serverName, final GSSCredential gssCredential) throws GSSException
| |
| generateAuthResponse | back to summary |
|---|---|
| public String generateAuthResponse(final HttpHost host, final HttpRequest request, final HttpContext context) throws AuthenticationException Implements org. Doc from org. Generates an authorization response based on the current state. Some authentication
schemes may need to load user credentials required to generate an authorization
response from a
| |
| generateGSSToken | back to summary |
|---|---|
protected byte[] generateGSSToken(final byte[] input, final Oid oid, final String serviceName, final String authServer) throws GSSException
| |
| generateToken | back to summary |
|---|---|
protected abstract byte[] generateToken(byte[] input, String serviceName, String authServer) throws GSSException
| |
| getManager | back to summary |
|---|---|
| protected GSSManager getManager() | |
| getPrincipal | back to summary |
|---|---|
| public Principal getPrincipal() Implements org. Doc from org. Returns | |
| getRealm | back to summary |
|---|---|
| public String getRealm() Implements org. Doc from org. Returns authentication realm. If the concept of an authentication
realm is not applicable to the given authentication scheme, returns
| |
| isChallengeComplete | back to summary |
|---|---|
| public boolean isChallengeComplete() Implements org. Doc from org. Authentication process may involve a series of challenge-response exchanges. This method tests if the authorization process has been fully completed (either successfully or unsuccessfully), that is, all the required authorization challenges have been processed in their entirety.
| |
| isResponseReady | back to summary |
|---|---|
| public boolean isResponseReady(final HttpHost host, final CredentialsProvider credentialsProvider, final HttpContext context) throws AuthenticationException Implements org. Doc from org. Determines whether or not an authorization response can be generated based on the actual authentication state. Generally the outcome of this method will depend upon availability of user credentials necessary to produce an authorization response.
| |
| processChallenge | back to summary |
|---|---|
| public void processChallenge(final AuthChallenge authChallenge, final HttpContext context) throws MalformedChallengeException Implements org. Doc from org. Processes the given auth challenge. Some authentication schemes may involve multiple challenge-response exchanges. Such schemes must be able to maintain internal state when dealing with sequential challenges
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final GGSSchemeBase. | |
| public static final GGSSchemeBase. | |
| public static final GGSSchemeBase. | |
| public static final GGSSchemeBase. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static GGSSchemeBase. | |
| public static GGSSchemeBase. |
| CHALLENGE_RECEIVED | back to summary |
|---|---|
| public static final GGSSchemeBase. | |
| FAILED | back to summary |
|---|---|
| public static final GGSSchemeBase. | |
| TOKEN_GENERATED | back to summary |
|---|---|
| public static final GGSSchemeBase. | |
| UNINITIATED | back to summary |
|---|---|
| public static final GGSSchemeBase. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static GGSSchemeBase. | |
| values | back to summary |
|---|---|
| public static GGSSchemeBase. | |