public class KerberosClient extends Object implements Configurable
Constructor and Description |
---|
KerberosClient() |
KerberosClient(Bus b)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getBeanName()
Get the configurable object's Bean name
|
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.
|
String |
getServiceName()
Get the name of the service to use when contacting the KDC.
|
SecurityToken |
requestSecurityToken() |
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 |
setServiceName(String serviceName)
The name of the service to use when contacting the KDC.
|
@Deprecated public KerberosClient(Bus b)
public KerberosClient()
public String getBeanName()
Configurable
getBeanName
in interface Configurable
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 SecurityToken requestSecurityToken() throws Exception
Exception
Apache CXF