public abstract class BSTokenCallbackHandler
extends java.lang.Object
implements javax.security.auth.callback.CallbackHandler
CallbackHandler
for the binary security tokens.CallbackHandler
Modifier and Type | Class and Description |
---|---|
protected static class |
BSTokenCallbackHandler.TokenInformation |
Modifier | Constructor and Description |
---|---|
protected |
BSTokenCallbackHandler(java.util.Map properties)
Constructs a
BSTokenCallbackHandler using a properties
parameter. |
Modifier and Type | Method and Description |
---|---|
BSTokenCallbackHandler.TokenInformation |
_handle(javax.security.auth.callback.Callback[] callbacks)
Gathers configuration data to be used by
CallbackHandler s that extend this abstract class. |
protected BSTokenCallbackHandler(java.util.Map properties)
BSTokenCallbackHandler
using a properties
parameter.
The properties
parameter should include only stateless information.properties
- A set of name-value pairs.public BSTokenCallbackHandler.TokenInformation _handle(javax.security.auth.callback.Callback[] callbacks) throws java.io.IOException, javax.security.auth.callback.UnsupportedCallbackException
CallbackHandler
s that extend this abstract class.callbacks
- An 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[])