public class X509CallbackHandler extends BSTokenCallbackHandler
X509CallbackHandler
collects the x509Certificate
and sets it in the
X509BSCallback
object.BSTokenCallbackHandler
BSTokenCallbackHandler.TokenInformation
Constructor and Description |
---|
X509CallbackHandler(java.util.Map properties)
Constructs a
X509CallbackHandler using a properties
parameter. |
Modifier and Type | Method and Description |
---|---|
void |
handle(javax.security.auth.callback.Callback[] callbacks)
Sets
X509Certificate s into X509BSCallback objects, according to the
KeyInformationConfig list . |
_handle
public X509CallbackHandler(java.util.Map properties)
X509CallbackHandler
using a properties
parameter.
The properties
parameter should include only stateless information.properties
- A set of name-value pairs used for the initialization of
a X509CallbackHandler
public void handle(javax.security.auth.callback.Callback[] callbacks) throws java.io.IOException, javax.security.auth.callback.UnsupportedCallbackException
X509Certificate
s into X509BSCallback
objects, according to the
KeyInformationConfig
list .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[])