com.ibm.websphere.wssecurity.callbackhandler

Class SCTGenerateCallback

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

  1. public class SCTGenerateCallback
  2. extends java.lang.Object
  3. implements javax.security.auth.callback.Callback
This is a callback class for the security context token in generator side.
See Also:
SecurityContextToken, SCTGenerateCallbackHandler

Constructor Summary

Constructor and Description
SCTGenerateCallback()

Method Summary

Modifier and Type Method and Description
  1. javax.xml.ws.BindingProvider
getBindingProvider()
Returns the binding provider for axis2.
  1. java.lang.String
getClientLabel()
Returns the client label to generate the derived key token.
  1. java.lang.String
getEncyptionAlgorithm()
Returns the algorithm for the encryption.
  1. int
getEncyptionKeyBytesLength()
Returns the length of key for encryption.
  1. java.lang.String
getServiceEndpointAddress()
Returns the server endpoint address.
  1. java.lang.String
getServiceLabel()
Returns the service label to generate the derived key token.
  1. java.lang.String
getSignatureAlgorithm()
Returns the algorithm for signature
  1. int
getSignatureKeyBytesLength()
Returns the length of key for signature
  1. SecurityContextToken
getToken()
Returns the security context token
  1. WSSConsumingContext
getWSSConsumingContext()
Gets WSSConsumingContext object.
  1. WSSGenerationContext
getWSSGenerationContext()
Returns WSSGenerationContext object.
  1. boolean
isRequiredDKT()
Checks whether it requires the derived key token or not
  1. void
setBindingProvider(javax.xml.ws.BindingProvider bindingProvider)
Sets the binding provider for axis2.
  1. void
setClientLabel(java.lang.String clientLabel)
Sets the client label to generate the derived key token.
  1. void
setEncyptionAlgorithm(java.lang.String encyptionAlgorithm)
Sets the algorithm for encryption.
  1. void
setEncyptionKeyBytesLength(int encyptionKeyBytesLength)
Sets the length of key for encryption
  1. void
setRequiredDKT(boolean requiredDKT)
Sets the required derived key token.
  1. void
setServiceEndpointAddress(java.lang.String serviceEndpointAddress)
Returns the server endpoint address.
  1. void
setServiceLabel(java.lang.String serviceLabel)
Sets the service label to generate the derived key token.
  1. void
setSignatureAlgorithm(java.lang.String signatureAlgorithm)
Sets the algorithm for signature.
  1. void
setSignatureKeyBytesLength(int signatureKeyBytesLength)
Sets the length of key for signature
  1. void
setToken(SecurityContextToken token)
Sets the security context token
  1. void
setWSSConsumingContext(WSSConsumingContext concont)
Sets WSSConsumingContext object.
  1. void
setWSSGenerationContext(WSSGenerationContext gencont)
Sets WSSGenerationContext object.
  1. java.lang.String
toString()
Returns the string of this object's properties.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

SCTGenerateCallback

  1. public SCTGenerateCallback()

Method Detail

getWSSConsumingContext

  1. public WSSConsumingContext getWSSConsumingContext( )
Gets WSSConsumingContext object.
Returns:
WSSConsumingContext object

setWSSConsumingContext

  1. public void setWSSConsumingContext( WSSConsumingContext concont)
Sets WSSConsumingContext object.
Parameters:
concont - WSSConsumingContext object

getWSSGenerationContext

  1. public WSSGenerationContext getWSSGenerationContext( )
Returns WSSGenerationContext object.
Returns:
WSSGenerationContext object

setWSSGenerationContext

  1. public void setWSSGenerationContext( WSSGenerationContext gencont)
Sets WSSGenerationContext object.
Parameters:
gencont - WSSGenerationContext object

getServiceEndpointAddress

  1. public java.lang.String getServiceEndpointAddress( )
Returns the server endpoint address.
Returns:
address of the service endpoint

setServiceEndpointAddress

  1. public void setServiceEndpointAddress( java.lang.String serviceEndpointAddress)
Returns the server endpoint address.
Parameters:
serviceEndpointAddress - address of the service endpoint

getToken

  1. public SecurityContextToken getToken( )
Returns the security context token
Returns:
the security context token

setToken

  1. public void setToken(SecurityContextToken token)
Sets the security context token
Parameters:
token - security context token

isRequiredDKT

  1. public boolean isRequiredDKT()
Checks whether it requires the derived key token or not
Returns:
true if it is required. otherwise, it returns false.

setRequiredDKT

  1. public void setRequiredDKT(boolean requiredDKT)
Sets the required derived key token.
Parameters:
requiredDKT - true if the derived key token is required. false if it does not required.

getClientLabel

  1. public java.lang.String getClientLabel( )
Returns the client label to generate the derived key token.
Returns:
client label

setClientLabel

  1. public void setClientLabel(java.lang.String clientLabel)
Sets the client label to generate the derived key token.
Parameters:
clientLabel - client label

getEncyptionAlgorithm

  1. public java.lang.String getEncyptionAlgorithm( )
Returns the algorithm for the encryption.
Returns:
algorithm for the encryption

setEncyptionAlgorithm

  1. public void setEncyptionAlgorithm( java.lang.String encyptionAlgorithm)
Sets the algorithm for encryption.
Parameters:
encyptionAlgorithm - algorithm for the encryption

getEncyptionKeyBytesLength

  1. public int getEncyptionKeyBytesLength( )
Returns the length of key for encryption.
Returns:
length of key for the encryption.

setEncyptionKeyBytesLength

  1. public void setEncyptionKeyBytesLength( int encyptionKeyBytesLength)
Sets the length of key for encryption
Parameters:
encyptionKeyBytesLength - length of the key for the encryption

getServiceLabel

  1. public java.lang.String getServiceLabel( )
Returns the service label to generate the derived key token.
Returns:
service label

setServiceLabel

  1. public void setServiceLabel(java.lang.String serviceLabel)
Sets the service label to generate the derived key token.
Parameters:
serviceLabel - service label

getSignatureAlgorithm

  1. public java.lang.String getSignatureAlgorithm( )
Returns the algorithm for signature
Returns:
algorithm for signature

setSignatureAlgorithm

  1. public void setSignatureAlgorithm( java.lang.String signatureAlgorithm)
Sets the algorithm for signature.
Parameters:
signatureAlgorithm - algorithm for signature

getSignatureKeyBytesLength

  1. public int getSignatureKeyBytesLength( )
Returns the length of key for signature
Returns:
length of the key for the signature

setSignatureKeyBytesLength

  1. public void setSignatureKeyBytesLength( int signatureKeyBytesLength)
Sets the length of key for signature
Parameters:
signatureKeyBytesLength - length of the key for the signature

setBindingProvider

  1. public void setBindingProvider( javax.xml.ws.BindingProvider bindingProvider)
Sets the binding provider for axis2.
Parameters:
bindingProvider -

getBindingProvider

  1. public javax.xml.ws.BindingProvider getBindingProvider( )
Returns the binding provider for axis2.
Returns:
bindingProvider

toString

  1. public java.lang.String toString( )
Returns the string of this object's properties.
Overrides:
toString in class java.lang.Object
Returns:
string representation of this object