| Constructor and Description |
|---|
KerberosTokenValidator() |
| Modifier and Type | Method and Description |
|---|---|
CallbackHandler |
getCallbackHandler()
Get the CallbackHandler to use with the LoginContext
|
String |
getContextName()
Get the JAAS Login context name to use.
|
String |
getJaasLoginModuleName()
Deprecated.
Get the JAAS Login module name to use.
|
KerberosTokenDecoder |
getKerberosTokenDecoder()
Get the KerberosTokenDecoder instance used to extract a session key from the received Kerberos
token.
|
String |
getServiceName()
Get the name of the service to use when contacting the KDC.
|
void |
setCallbackHandler(CallbackHandler callbackHandler)
Set the CallbackHandler to use with the LoginContext.
|
void |
setContextName(String contextName)
Set the JAAS Login context name to use.
|
void |
setJaasLoginModuleName(String jaasLoginModuleName)
Deprecated.
Set the JAAS Login module name to use.
|
void |
setKerberosTokenDecoder(KerberosTokenDecoder kerberosTokenDecoder)
Set the KerberosTokenDecoder instance used to extract a session key from the received Kerberos
token.
|
void |
setServiceName(String serviceName)
The name of the service to use when contacting the KDC.
|
Credential |
validate(Credential credential,
RequestData data)
Validate the credential argument.
|
public String getContextName()
public void setContextName(String contextName)
contextName - the JAAS Login context name to usepublic String getJaasLoginModuleName()
public void setJaasLoginModuleName(String jaasLoginModuleName)
jaasLoginModuleName - the JAAS Login module name to usepublic CallbackHandler getCallbackHandler()
public void setCallbackHandler(CallbackHandler callbackHandler)
callbackHandler - the CallbackHandler to use with the LoginContextpublic void setServiceName(String serviceName)
serviceName - the name of the service to use when contacting the KDCpublic String getServiceName()
public KerberosTokenDecoder getKerberosTokenDecoder()
public void setKerberosTokenDecoder(KerberosTokenDecoder kerberosTokenDecoder)
kerberosTokenDecoder - the KerberosTokenDecoder instance used to extract a session keypublic Credential validate(Credential credential, RequestData data) throws WSSecurityException
validate in interface Validatorcredential - the Credential to be validateddata - the RequestData associated with the requestWSSecurityException - on a failed validationCopyright © 2004–2013 The Apache Software Foundation. All rights reserved.