|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.security.authentication.client.KerberosAuthenticator
public class KerberosAuthenticator
The KerberosAuthenticator implements the Kerberos SPNEGO authentication sequence.
PseudoAuthenticator if the HTTP endpoint does not trigger an SPNEGO authentication
sequence.
| Field Summary | |
|---|---|
static String |
AUTHORIZATION
HTTP header used by the SPNEGO client endpoint during an authentication sequence. |
static String |
NEGOTIATE
HTTP header prefix used by the SPNEGO client/server endpoints during an authentication sequence. |
static String |
WWW_AUTHENTICATE
HTTP header used by the SPNEGO server endpoint during an authentication sequence. |
| Constructor Summary | |
|---|---|
KerberosAuthenticator()
|
|
| Method Summary | |
|---|---|
void |
authenticate(URL url,
AuthenticatedURL.Token token)
Performs SPNEGO authentication against the specified URL. |
protected Authenticator |
getFallBackAuthenticator()
If the specified URL does not support SPNEGO authentication, a fallback Authenticator will be used. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String WWW_AUTHENTICATE
public static final String AUTHORIZATION
public static final String NEGOTIATE
| Constructor Detail |
|---|
public KerberosAuthenticator()
| Method Detail |
|---|
public void authenticate(URL url,
AuthenticatedURL.Token token)
throws IOException,
AuthenticationException
OPTIONS request.
authenticate in interface Authenticatorurl - the URl to authenticate against.token - the authentication token being used for the user.
IOException - if an IO error occurred.
AuthenticationException - if an authentication error occurred.protected Authenticator getFallBackAuthenticator()
Authenticator will be used.
This implementation returns a PseudoAuthenticator.
Authenticator.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||