public class KRBTokenGenerateCallback
extends java.lang.Object
implements javax.security.auth.callback.Callback
KRBToken
,
KRBGenerateCallbackHandler
Constructor and Description |
---|
KRBTokenGenerateCallback() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClientKerberosRealm()
This method returns the Kerberos realm name
associated with the Kerberos client.
|
java.lang.String |
getClientName()
This method returns the Kerberos client principal name.
|
char[] |
getClientPassword()
This method returns the password for the Kerberos client.
|
java.lang.String |
getTargetServiceHostName()
This method returns the host name associated with
the target Kerberos service name.
|
java.lang.String |
getTargetServiceKerberosRealm()
This method returns the Kerberos realm name
associated with the target Web Service.
|
java.lang.String |
getTargetServiceName()
This method returns the Kerberos service name
associated with the target Web Service.
|
javax.xml.namespace.QName |
getValueType()
This method returns the value type of the Kerberos token.
|
void |
setClientKerberosRealm(java.lang.String rName)
This method sets the Kerberos realm name
for the Kerberos client.
|
void |
setClientName(java.lang.String cname)
This method sets the Kerberos client principal name.
|
void |
setClientPassword(char[] pwd)
This method sets the password of the Kerberos client.
|
void |
setTargetServiceHostName(java.lang.String hname)
This method sets the host name associated with
the target Kerberos service name.
|
void |
setTargetServiceKerberosRealm(java.lang.String rName)
This method sets the Kerberos realm name
associated with the target Web Service.
|
void |
setTargetServiceName(java.lang.String sname)
This method sets the Kerberos service name
associated with the target Web Service.
|
void |
setValueType(javax.xml.namespace.QName qm)
This method sets the value type of the Kerberos token.
|
public java.lang.String getClientName()
public void setClientName(java.lang.String cname)
cname
- String - the Kerberos client principal namepublic char[] getClientPassword()
public void setClientPassword(char[] pwd)
pwd
- String - the Kerberos client's passwordpublic java.lang.String getClientKerberosRealm()
public void setClientKerberosRealm(java.lang.String rName)
rName
- String - set the Kerberos realm name
for the Kerberos client.public java.lang.String getTargetServiceName()
public void setTargetServiceName(java.lang.String sname)
sname
- String - the service principal name associated
with the target Web Service.public java.lang.String getTargetServiceHostName()
public void setTargetServiceHostName(java.lang.String hname)
hname
- String - sets the host name associated
with the target Kerberos service name.public java.lang.String getTargetServiceKerberosRealm()
public void setTargetServiceKerberosRealm(java.lang.String rName)
rName
- String - set the Kerberos realm name associated with the
target Web Service.public javax.xml.namespace.QName getValueType()
public void setValueType(javax.xml.namespace.QName qm)
qm
- QName - the QName representation of the Kerberos
token value type.