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