public class KerberosScheme extends GGSSchemeBase
| Constructor and Description |
|---|
KerberosScheme() |
KerberosScheme(boolean stripPort) |
| Modifier and Type | Method and Description |
|---|---|
Header |
authenticate(Credentials credentials,
HttpRequest request,
HttpContext context)
Produces KERBEROS authorization Header based on token created by
processChallenge.
|
protected byte[] |
generateToken(byte[] input,
String authServer) |
String |
getParameter(String name)
There are no valid parameters for KERBEROS authentication so this
method always returns
null. |
String |
getRealm()
The concept of an authentication realm is not supported by the Negotiate
authentication scheme.
|
String |
getSchemeName()
Returns textual designation of the given authentication scheme.
|
boolean |
isConnectionBased()
Returns true.
|
authenticate, generateGSSToken, getManager, isComplete, parseChallengegetChallengeState, isProxy, processChallenge, toStringpublic KerberosScheme(boolean stripPort)
public KerberosScheme()
public String getSchemeName()
AuthSchemepublic Header authenticate(Credentials credentials, HttpRequest request, HttpContext context) throws AuthenticationException
authenticate in interface ContextAwareAuthSchemeauthenticate in class GGSSchemeBasecredentials - not used by the KERBEROS scheme.request - The request being authenticatedcontext - HTTP contextAuthenticationException - if authentication string cannot
be generated due to an authentication failureprotected byte[] generateToken(byte[] input,
String authServer)
throws GSSException
generateToken in class GGSSchemeBaseGSSExceptionpublic String getParameter(String name)
null.name - The name of the parameter to be returnednullpublic String getRealm()
null.nullpublic boolean isConnectionBased()
Copyright © 1999–2013 The Apache Software Foundation. All rights reserved.