com.ibm.wsspi.wssecurity.auth.callback

Class X509CallbackHandler

  1. java.lang.Object
  2. extended bycom.ibm.wsspi.wssecurity.auth.callback.BSTokenCallbackHandler
  3. extended bycom.ibm.wsspi.wssecurity.auth.callback.X509CallbackHandler
All implemented interfaces:
javax.security.auth.callback.CallbackHandler

  1. public class X509CallbackHandler
  2. extends BSTokenCallbackHandler
The X509CallbackHandler collects the x509Certificate and sets it in the X509BSCallback object.
See Also:
BSTokenCallbackHandler

Nested Class Summary

Nested classes/interfaces inherited from class com.ibm.wsspi.wssecurity.auth.callback.BSTokenCallbackHandler
BSTokenCallbackHandler.TokenInformation

Constructor Summary

Constructor and Description
X509CallbackHandler(java.util.Map properties)
Constructs a X509CallbackHandler using a properties parameter.

Method Summary

Modifier and Type Method and Description
  1. void
handle(javax.security.auth.callback.Callback[] callbacks)
Sets X509Certificates into X509BSCallback objects, according to the KeyInformationConfig list .
Methods inherited from class com.ibm.wsspi.wssecurity.auth.callback.BSTokenCallbackHandler
_handle
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

X509CallbackHandler

  1. public X509CallbackHandler(java.util.Map properties)
Constructs a X509CallbackHandler using a properties parameter. The properties parameter should include only stateless information.
Parameters:
properties - A set of name-value pairs used for the initialization of a X509CallbackHandler

Method Detail

handle

  1. public void handle(javax.security.auth.callback.Callback[] callbacks)
  2. throws java.io.IOException
  3. javax.security.auth.callback.UnsupportedCallbackException
Sets X509Certificates into X509BSCallback objects, according to the KeyInformationConfig list .
Parameters:
callbacks - An 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 Callbacks specified in the callbacks parameter.
See Also:
CallbackHandler.handle(javax.security.auth.callback.Callback[])