com.ibm.websphere.wssecurity.callbackhandler

Class X509ConsumeCallbackHandler

  • java.lang.Object
    • com.ibm.websphere.wssecurity.callbackhandler.X509ConsumeCallbackHandler
    • Constructor Summary

      Constructors 
      Constructor and Description
      X509ConsumeCallbackHandler()
      Class constructor.
      X509ConsumeCallbackHandler(java.util.Map<java.lang.Object,java.lang.Object> properties)
      Class constructor.
      X509ConsumeCallbackHandler(java.lang.String trustAnchorPath, java.lang.String trustAnchorType, char[] trustAnchorPassword, java.util.List certStores, java.security.Provider provider)
      Class constructor.
      X509ConsumeCallbackHandler(java.lang.String keyStoreRef, java.lang.String keyStorePath, java.lang.String keyStoreType, char[] keyStorePassword, java.lang.String alias, char[] keyPassword, java.lang.String keyName)
      Class constructor.
      X509ConsumeCallbackHandler(java.lang.String keyStoreRef, java.lang.String keyStorePath, java.lang.String keyStoreType, char[] keyStorePassword, java.lang.String alias, char[] keyPassword, java.lang.String keyName, java.lang.String trustAnchorPath, java.lang.String trustAnchorType, char[] trustAnchorPassword, java.util.List certStores, java.security.Provider provider)
      Class constructor.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void handle(javax.security.auth.callback.Callback[] callbacks)
      Sets necessary information to a X509ConsumeCallback object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • X509ConsumeCallbackHandler

        public X509ConsumeCallbackHandler(java.util.Map<java.lang.Object,java.lang.Object> properties)
        Class constructor.
        Parameters:
        properties - map including key-value pairs
      • X509ConsumeCallbackHandler

        public X509ConsumeCallbackHandler(java.lang.String keyStoreRef,
                                  java.lang.String keyStorePath,
                                  java.lang.String keyStoreType,
                                  char[] keyStorePassword,
                                  java.lang.String alias,
                                  char[] keyPassword,
                                  java.lang.String keyName,
                                  java.lang.String trustAnchorPath,
                                  java.lang.String trustAnchorType,
                                  char[] trustAnchorPassword,
                                  java.util.List certStores,
                                  java.security.Provider provider)
        Class constructor.
        Parameters:
        keyStoreRef - reference name of the keystore used for key locator
        keyStorePath - file path from which the keystore used for key locator is loaded
        keyStorePassword - password used to check the integrity of the keystore used for key locator or the password used to unlock the keystore
        keyStoreType - type of the keystore used for key locator
        alias - alias name
        keyPassword - password for recovering the key
        keyName - name of the key
        trustAnchorPath - file path from which the trust anchor is loaded
        trustAnchorType - type of the trust anchor
        trustAnchorPassword - password used to check the integrity of the trust anchor or the password used to unlock the keystore
        certStores - list of certificate stores
        provider - ecurity provider
      • X509ConsumeCallbackHandler

        public X509ConsumeCallbackHandler(java.lang.String keyStoreRef,
                                  java.lang.String keyStorePath,
                                  java.lang.String keyStoreType,
                                  char[] keyStorePassword,
                                  java.lang.String alias,
                                  char[] keyPassword,
                                  java.lang.String keyName)
        Class constructor.
        Parameters:
        keyStoreRef - reference name of the keystore used for key locator
        keyStorePath - file path from which the keystore used for key locator is loaded
        keyStorePassword - password used to check the integrity of the keystore used for key locator or the password used to unlock the keystore
        keyStoreType - type of the keystore used for key locator
        alias - alias name
        keyPassword - password for recovering the key
        keyName - name of the key
      • X509ConsumeCallbackHandler

        public X509ConsumeCallbackHandler(java.lang.String trustAnchorPath,
                                  java.lang.String trustAnchorType,
                                  char[] trustAnchorPassword,
                                  java.util.List certStores,
                                  java.security.Provider provider)
        Class constructor.
        Parameters:
        trustAnchorPath - file path from which the trust anchor is loaded
        trustAnchorPassword - password used to check the integrity of the trust anchor or the password used to unlock the keystore
        trustAnchorType - type of the trust anchor
      • X509ConsumeCallbackHandler

        public X509ConsumeCallbackHandler()
        Class constructor.
    • Method Detail

      • handle

        public void handle(javax.security.auth.callback.Callback[] callbacks)
                    throws java.io.IOException,
                           javax.security.auth.callback.UnsupportedCallbackException
        Sets necessary information to a X509ConsumeCallback object.
        Specified by:
        handle in interface javax.security.auth.callback.CallbackHandler
        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 Callbacks specified in the callbacks parameter.
        See Also:
        CallbackHandler.handle(javax.security.auth.callback.Callback[])
IBM WebSphere Application ServerTM
Release 8.5