IBM WebSphere Application ServerTM
Release 7

com.ibm.websphere.wssecurity.callbackhandler
Class SCTGenerateCallback

java.lang.Object
  extended by com.ibm.websphere.wssecurity.callbackhandler.SCTGenerateCallback
All Implemented Interfaces:
javax.security.auth.callback.Callback

public class SCTGenerateCallback
extends java.lang.Object
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
SCTGenerateCallback()
           
 
Method Summary
 javax.xml.ws.BindingProvider getBindingProvider()
          Returns the binding provider for axis2.
 java.lang.String getClientLabel()
          Returns the client label to generate the derived key token.
 java.lang.String getEncyptionAlgorithm()
          Returns the algorithm for the encryption.
 int getEncyptionKeyBytesLength()
          Returns the length of key for encryption.
 java.lang.String getServiceEndpointAddress()
          Returns the server endpoint address.
 java.lang.String getServiceLabel()
          Returns the service label to generate the derived key token.
 java.lang.String getSignatureAlgorithm()
          Returns the algorithm for signature
 int getSignatureKeyBytesLength()
          Returns the length of key for signature
 SecurityContextToken getToken()
          Returns the security context token
 WSSConsumingContext getWSSConsumingContext()
          Gets WSSConsumingContext object.
 WSSGenerationContext getWSSGenerationContext()
          Returns WSSGenerationContext object.
 boolean isRequiredDKT()
          Checks whether it requires the derived key token or not
 void setBindingProvider(javax.xml.ws.BindingProvider bindingProvider)
          Sets the binding provider for axis2.
 void setClientLabel(java.lang.String clientLabel)
          Sets the client label to generate the derived key token.
 void setEncyptionAlgorithm(java.lang.String encyptionAlgorithm)
          Sets the algorithm for encryption.
 void setEncyptionKeyBytesLength(int encyptionKeyBytesLength)
          Sets the length of key for encryption
 void setRequiredDKT(boolean requiredDKT)
          Sets the required derived key token.
 void setServiceEndpointAddress(java.lang.String serviceEndpointAddress)
          Returns the server endpoint address.
 void setServiceLabel(java.lang.String serviceLabel)
          Sets the service label to generate the derived key token.
 void setSignatureAlgorithm(java.lang.String signatureAlgorithm)
          Sets the algorithm for signature.
 void setSignatureKeyBytesLength(int signatureKeyBytesLength)
          Sets the length of key for signature
 void setToken(SecurityContextToken token)
          Sets the security context token
 void setWSSConsumingContext(WSSConsumingContext concont)
          Sets WSSConsumingContext object.
 void setWSSGenerationContext(WSSGenerationContext gencont)
          Sets WSSGenerationContext object.
 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

public SCTGenerateCallback()
Method Detail

getWSSConsumingContext

public WSSConsumingContext getWSSConsumingContext()
Gets WSSConsumingContext object.

Returns:
WSSConsumingContext object

setWSSConsumingContext

public void setWSSConsumingContext(WSSConsumingContext concont)
Sets WSSConsumingContext object.

Parameters:
concont - WSSConsumingContext object

getWSSGenerationContext

public WSSGenerationContext getWSSGenerationContext()
Returns WSSGenerationContext object.

Returns:
WSSGenerationContext object

setWSSGenerationContext

public void setWSSGenerationContext(WSSGenerationContext gencont)
Sets WSSGenerationContext object.

Parameters:
gencont - WSSGenerationContext object

getServiceEndpointAddress

public java.lang.String getServiceEndpointAddress()
Returns the server endpoint address.

Returns:
address of the service endpoint

setServiceEndpointAddress

public void setServiceEndpointAddress(java.lang.String serviceEndpointAddress)
Returns the server endpoint address.

Parameters:
serviceEndpointAddress - address of the service endpoint

getToken

public SecurityContextToken getToken()
Returns the security context token

Returns:
the security context token

setToken

public void setToken(SecurityContextToken token)
Sets the security context token

Parameters:
token - security context token

isRequiredDKT

public boolean isRequiredDKT()
Checks whether it requires the derived key token or not

Returns:
true if it is required. otherwise, it returns false.

setRequiredDKT

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

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

Returns:
client label

setClientLabel

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

Parameters:
clientLabel - client label

getEncyptionAlgorithm

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

Returns:
algorithm for the encryption

setEncyptionAlgorithm

public void setEncyptionAlgorithm(java.lang.String encyptionAlgorithm)
Sets the algorithm for encryption.

Parameters:
encyptionAlgorithm - algorithm for the encryption

getEncyptionKeyBytesLength

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

Returns:
length of key for the encryption.

setEncyptionKeyBytesLength

public void setEncyptionKeyBytesLength(int encyptionKeyBytesLength)
Sets the length of key for encryption

Parameters:
encyptionKeyBytesLength - length of the key for the encryption

getServiceLabel

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

Returns:
service label

setServiceLabel

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

Parameters:
serviceLabel - service label

getSignatureAlgorithm

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

Returns:
algorithm for signature

setSignatureAlgorithm

public void setSignatureAlgorithm(java.lang.String signatureAlgorithm)
Sets the algorithm for signature.

Parameters:
signatureAlgorithm - algorithm for signature

getSignatureKeyBytesLength

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

Returns:
length of the key for the signature

setSignatureKeyBytesLength

public void setSignatureKeyBytesLength(int signatureKeyBytesLength)
Sets the length of key for signature

Parameters:
signatureKeyBytesLength - length of the key for the signature

setBindingProvider

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

Parameters:
bindingProvider -

getBindingProvider

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

Returns:
bindingProvider

toString

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

IBM WebSphere Application ServerTM
Release 7