|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.ws.security.kerberos.KerberosClient
public class KerberosClient
A class that obtains a ticket from a KDC and wraps it in a SecurityToken object.
| Constructor Summary | |
|---|---|
KerberosClient()
|
|
KerberosClient(org.apache.cxf.Bus b)
Deprecated. |
|
| Method Summary | |
|---|---|
String |
getBeanName()
|
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. |
boolean |
isRequestCredentialDelegation()
|
boolean |
isUseDelegatedCredential()
|
boolean |
isUsernameServiceNameForm()
|
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 |
setRequestCredentialDelegation(boolean requestCredentialDelegation)
|
void |
setServiceName(String serviceName)
The name of the service to use when contacting the KDC. |
void |
setUseDelegatedCredential(boolean useDelegatedCredential)
|
void |
setUsernameServiceNameForm(boolean usernameServiceNameForm)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated public KerberosClient(org.apache.cxf.Bus b)
public KerberosClient()
| Method Detail |
|---|
public String getBeanName()
getBeanName in interface org.apache.cxf.configuration.Configurablepublic 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
Exceptionpublic boolean isUsernameServiceNameForm()
public void setUsernameServiceNameForm(boolean usernameServiceNameForm)
public boolean isRequestCredentialDelegation()
public void setRequestCredentialDelegation(boolean requestCredentialDelegation)
public boolean isUseDelegatedCredential()
public void setUseDelegatedCredential(boolean useDelegatedCredential)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||