public class SCTConsumeCallback
extends java.lang.Object
implements javax.security.auth.callback.Callback
SCTConsumeCallbackHandler
Constructor and Description |
---|
SCTConsumeCallback() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClientLabel()
Returns the client label
|
java.lang.String |
getEncryptionAlgorithm()
Returns the algorithm for the encryption
|
java.lang.String |
getServiceLabel()
Returns the service label
|
void |
handle(javax.security.auth.callback.Callback[] callbacks)
Sets necessary information to a
SCTConsumeCallback object. |
void |
setClientLabel(java.lang.String clientLabel)
Sets the client label
|
void |
setEncryptionAlgorithm(java.lang.String encryptionAlgorithm)
Sets the algorithm for the encryption
|
void |
setServiceLabel(java.lang.String serviceLabel)
Sets the service label
|
public void setServiceLabel(java.lang.String serviceLabel)
servicLabel
- service labelpublic void setClientLabel(java.lang.String clientLabel)
clientLabel
- client labelpublic void setEncryptionAlgorithm(java.lang.String encryptionAlgorithm)
encryptionAlgorithm
- encryption algorithmpublic java.lang.String getServiceLabel()
public java.lang.String getClientLabel()
public java.lang.String getEncryptionAlgorithm()
public void handle(javax.security.auth.callback.Callback[] callbacks) throws java.io.IOException, javax.security.auth.callback.UnsupportedCallbackException
SCTConsumeCallback
object.callbacks
- array of Callback
objects provided by the
underlying security service which contains the information requested
to be retrieved or displayed.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.CallbackHandler.handle(javax.security.auth.callback.Callback[])