com.ibm.websphere.wssecurity.callbackhandler

Class KRBTokenGenerateCallback

  1. java.lang.Object
  2. extended bycom.ibm.websphere.wssecurity.callbackhandler.KRBTokenGenerateCallback
All implemented interfaces:
javax.security.auth.callback.Callback

  1. public class KRBTokenGenerateCallback
  2. extends java.lang.Object
  3. implements javax.security.auth.callback.Callback
This is a callback class for the Kerberos token in generator side.
See Also:
KRBToken, KRBGenerateCallbackHandler

Constructor Summary

Constructor and Description
KRBTokenGenerateCallback()

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getClientKerberosRealm()
This method returns the Kerberos realm name associated with the Kerberos client.
  1. java.lang.String
getClientName()
This method returns the Kerberos client principal name.
  1. char[]
getClientPassword()
This method returns the password for the Kerberos client.
  1. java.lang.String
getTargetServiceHostName()
This method returns the host name associated with the target Kerberos service name.
  1. java.lang.String
getTargetServiceKerberosRealm()
This method returns the Kerberos realm name associated with the target Web Service.
  1. java.lang.String
getTargetServiceName()
This method returns the Kerberos service name associated with the target Web Service.
  1. javax.xml.namespace.QName
getValueType()
This method returns the value type of the Kerberos token.
  1. void
setClientKerberosRealm(java.lang.String rName)
This method sets the Kerberos realm name for the Kerberos client.
  1. void
setClientName(java.lang.String cname)
This method sets the Kerberos client principal name.
  1. void
setClientPassword(char[] pwd)
This method sets the password of the Kerberos client.
  1. void
setTargetServiceHostName(java.lang.String hname)
This method sets the host name associated with the target Kerberos service name.
  1. void
setTargetServiceKerberosRealm(java.lang.String rName)
This method sets the Kerberos realm name associated with the target Web Service.
  1. void
setTargetServiceName(java.lang.String sname)
This method sets the Kerberos service name associated with the target Web Service.
  1. void
setValueType(javax.xml.namespace.QName qm)
This method sets the value type of the Kerberos token.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

KRBTokenGenerateCallback

  1. public KRBTokenGenerateCallback( )

Method Detail

getClientName

  1. public java.lang.String getClientName( )
This method returns the Kerberos client principal name.
Returns:
String Returns the Kerberos client principal name

setClientName

  1. public void setClientName(java.lang.String cname)
This method sets the Kerberos client principal name.
Parameters:
cname - String - the Kerberos client principal name

getClientPassword

  1. public char[] getClientPassword( )
This method returns the password for the Kerberos client.
Returns:
char[] Returns the password of the Kerberos client

setClientPassword

  1. public void setClientPassword(char[] pwd)
This method sets the password of the Kerberos client.
Parameters:
pwd - String - the Kerberos client's password

getClientKerberosRealm

  1. public java.lang.String getClientKerberosRealm( )
This method returns the Kerberos realm name associated with the Kerberos client.
Returns:
String Returns the Kerberos realm name associated with the Kerberos client.

setClientKerberosRealm

  1. public void setClientKerberosRealm( java.lang.String rName)
This method sets the Kerberos realm name for the Kerberos client.
Parameters:
rName - String - set the Kerberos realm name for the Kerberos client.

getTargetServiceName

  1. public java.lang.String getTargetServiceName( )
This method returns the Kerberos service name associated with the target Web Service. The service name is part of a service principal name(SPN) in the form of service_name/host_name
Returns:
String Returns the Kerberos service name associated with the target Web Service.

setTargetServiceName

  1. public void setTargetServiceName( java.lang.String sname)
This method sets the Kerberos service name associated with the target Web Service. The service name is part of a service principal name(SPN) in the form of service_name/host_name
Parameters:
sname - String - the service principal name associated with the target Web Service.

getTargetServiceHostName

  1. public java.lang.String getTargetServiceHostName( )
This method returns the host name associated with the target Kerberos service name. The host name is part of a service principal name(SPN) in the form of service_name/host_name
Returns:
String Returns the host name associated with the target Kerberos service name.

setTargetServiceHostName

  1. public void setTargetServiceHostName( java.lang.String hname)
This method sets the host name associated with the target Kerberos service name. The host name is part of a service principal name(SPN) in the form of service_name/host_name
Parameters:
hname - String - sets the host name associated with the target Kerberos service name.

getTargetServiceKerberosRealm

  1. public java.lang.String getTargetServiceKerberosRealm( )
This method returns the Kerberos realm name associated with the target Web Service.
Returns:
String Returns the Kerberos realm name associated with the target Web Service.

setTargetServiceKerberosRealm

  1. public void setTargetServiceKerberosRealm( java.lang.String rName)
This method sets the Kerberos realm name associated with the target Web Service.
Parameters:
rName - String - set the Kerberos realm name associated with the target Web Service.

getValueType

  1. public javax.xml.namespace.QName getValueType( )
This method returns the value type of the Kerberos token. The values of the value type are defined in Oasis Kerberos Token Profile specification.
Returns:
QName - the QName representation of the Kerberos token value type.

setValueType

  1. public void setValueType(javax.xml.namespace.QName qm)
This method sets the value type of the Kerberos token. The values of the value type are defined in Oasis Kerberos Token Profile specification.
Parameters:
qm - QName - the QName representation of the Kerberos token value type.