com.ibm.websphere.wssecurity.callbackhandler
Class SCTConsumeCallback
- java.lang.Object
com.ibm.websphere.wssecurity.callbackhandler.SCTConsumeCallback
All implemented interfaces:
javax.security.auth.callback.Callback
- public class SCTConsumeCallback
- extends java.lang.Object
- implements javax.security.auth.callback.Callback
See Also:
Constructor Summary
Constructor and Description |
---|
SCTConsumeCallback()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getClientLabel()
Returns the client label
|
|
getEncryptionAlgorithm()
Returns the algorithm for the encryption
|
|
getServiceLabel()
Returns the service label
|
|
handle(javax.security.auth.callback.Callback[] callbacks)
Sets necessary information to a
SCTConsumeCallback object.
|
|
setClientLabel(java.lang.String clientLabel)
Sets the client label
|
|
setEncryptionAlgorithm(java.lang.String encryptionAlgorithm)
Sets the algorithm for the encryption
|
|
setServiceLabel(java.lang.String serviceLabel)
Sets the service label
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
SCTConsumeCallback
- public SCTConsumeCallback()
Method Detail
setServiceLabel
- public void setServiceLabel(java.lang.String serviceLabel)
Sets the service label
setClientLabel
- public void setClientLabel(java.lang.String clientLabel)
Sets the client label
Parameters:
clientLabel
- client label setEncryptionAlgorithm
- public void setEncryptionAlgorithm( java.lang.String encryptionAlgorithm)
Sets the algorithm for the encryption
Parameters:
encryptionAlgorithm
- encryption algorithm getServiceLabel
- public java.lang.String getServiceLabel( )
Returns the service label
Returns:
service label
getClientLabel
- public java.lang.String getClientLabel( )
Returns the client label
Returns:
client label
getEncryptionAlgorithm
- public java.lang.String getEncryptionAlgorithm( )
Returns the algorithm for the encryption
Returns:
encryption algorithm
handle
- public void handle(javax.security.auth.callback.Callback[] callbacks)
- throws java.io.IOException
- javax.security.auth.callback.UnsupportedCallbackException
Sets necessary information to a
SCTConsumeCallback
object.
Parameters:
callbacks
- array of Callback
objects provided by the
underlying security service which contains the information requested
to be retrieved or displayed. Throws:
java.io.IOException
- if an input or output error occurs. javax.security.auth.callback.UnsupportedCallbackException
- if the implementation of this method does not support one or more
of the Callback
s specified in the callbacks parameter. See Also:
CallbackHandler.handle(javax.security.auth.callback.Callback[])