|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ws.security.validate.KerberosTokenValidator
public class KerberosTokenValidator
Constructor Summary | |
---|---|
KerberosTokenValidator()
|
Method Summary | |
---|---|
javax.security.auth.callback.CallbackHandler |
getCallbackHandler()
Get the CallbackHandler to use with the LoginContext |
java.lang.String |
getContextName()
Get the JAAS Login context name to use. |
java.lang.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. |
java.lang.String |
getServiceName()
Get the name of the service to use when contacting the KDC. |
void |
setCallbackHandler(javax.security.auth.callback.CallbackHandler callbackHandler)
Set the CallbackHandler to use with the LoginContext. |
void |
setContextName(java.lang.String contextName)
Set the JAAS Login context name to use. |
void |
setJaasLoginModuleName(java.lang.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(java.lang.String serviceName)
The name of the service to use when contacting the KDC. |
Credential |
validate(Credential credential,
RequestData data)
Validate the credential argument. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KerberosTokenValidator()
Method Detail |
---|
public java.lang.String getContextName()
public void setContextName(java.lang.String contextName)
contextName
- the JAAS Login context name to usepublic java.lang.String getJaasLoginModuleName()
public void setJaasLoginModuleName(java.lang.String jaasLoginModuleName)
jaasLoginModuleName
- the JAAS Login module name to usepublic javax.security.auth.callback.CallbackHandler getCallbackHandler()
public void setCallbackHandler(javax.security.auth.callback.CallbackHandler callbackHandler)
callbackHandler
- the CallbackHandler to use with the LoginContextpublic void setServiceName(java.lang.String serviceName)
serviceName
- the name of the service to use when contacting the KDCpublic java.lang.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 Validator
credential
- the Credential to be validateddata
- the RequestData associated with the request
WSSecurityException
- on a failed validation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |