- Callback handler class name
-
The name of the callback handler implementation class that is used to plug in a security token framework.
The specified callback handler class must implement the javax.security.auth.callback.CallbackHandler class. The implementation of the JAAS javax.security.auth.callback.CallbackHandler interface must provide a constructor using the following syntax:
MyCallbackHandler(String username, char[] password, java.util.Map properties)
Where:
- username
- The user name that is passed into the configuration.
- password
- The password that is passed into the configuration.
- properties
- The other configuration properties that are passed into the configuration.
WebSphere Application Server provides the following default callback handler implementations:
com.ibm.wsspi.wssecurity.auth.callback.GUIPromptCallbackHandler
- This callback handler uses a login prompt to gather user name and password information. However, if you specify the user name and password on this panel,
a prompt is not displayed and WebSphere Application Server returns the user name and password to the token generator if it is specified on this panel.
However, use this implementation for a Java 2 Platform, Enterprise Edition (J2EE) application client only.
com.ibm.wsspi.wssecurity.auth.callback.NonPromptCallbackHandler
- This callback handler does not issue a prompt and returns the user name and password if it is specified on this panel. You can use this callback handler when the Web service is acting as a client.
com.ibm.wsspi.wssecurity.auth.callback.StdinPromptCallbackHandler
- This callback handler uses a standard-in prompt to gather the user name and password. However, if the user name and password is specified on this panel, WebSphere Application Server does not issue a prompt, but returns the user name and password to the token generator. However, use this implementation for a Java 2 Platform, Enterprise Edition (J2EE) application client only.
com.ibm.wsspi.wssecurity.auth.callback.LTPATokenCallbackHandler
- This callback handler is used to obtain the Lightweight Third Party Authentication
(LTPA) security token from the Run As invocation Subject. This token is inserted in the Web services security header within the SOAP message as a binary security
token. However, if the user name and password are specified on this panel,
WebSphere Application Server authenticates the user name and password to obtain the LTPA security token rather than obtaining it from the Run As Subject.
Use this callback handler only when the Web service is acting as a client on the application server. IBM recommends that you do not use this callback handler on a J2EE application client.
com.ibm.wsspi.wssecurity.auth.callback.X509CallbackHandler
- This callback handler is used to create the X.509 certificate that is inserted in the Web services security header within the SOAP message as a binary security token. A keystore and a key definition is required for this callback handler.
com.ibm.wsspi.wssecurity.auth.callback.PKCS7CallbackHandler
- This callback handler is used to create X.509 certificates encoded with the PKCS#7 format. The certificate is inserted in the Web services security
header in the SOAP message as a binary security token. A keystore is required for this callback handler. You must specify a certificate revocation list (CRL) in the collection certificate store. The CRL is encoded with the X.509
certificate in the PKCS#7 format.
com.ibm.wsspi.wssecurity.auth.callback.PkiPathCallbackHandler
- This callback handler is used to create X.509 certificates encoded with the PkiPath format. The certificate is inserted in the Web services security
header within the SOAP message as a binary security token. A keystore is required for this callback handler. A CRL is not supported by the callback handler,
hence, the collection certificate store is not required or used.
The callback handler implementation obtains the required security token and passes it to the token generator. The token generator inserts the security
token in the Web services security header within the SOAP message. Also, the token generator is plug-in point for the pluggable security token framework.
Service providers can provide their own implementation, but the implementation must use the com.ibm.wsspi.wssecurity.token.TokenGeneratorComponent interface.
- Use identity assertion
-
Select this option if you have identity assertion defined in the IBM extended deployment descriptor.
This option indicates that only the identity of the initial sender is required and inserted into the Web services security header within the SOAP message.
For example, WebSphere Application Server only sends the user name of the original caller for a Username TokenGenerator. For an X.509 token generator,
the application server sends the original signer certification only.
- Use RunAs identity
-
Select this option if you have identity assertion defined in the IBM extended deployment descriptor and you want to use the Run As identity instead of the initial caller identity for identity assertion for a downstream call.
This option is valid only if you have Username TokenGenerator configured as a token generator.
- Basic authentication user ID
-
The user name that is passed to the constructors of the callback handler implementation.
The basic authentication user name and password are used if you select one of the following default callback handler implementations provided by WebSphere Application Server:
- com.ibm.wsspi.wssecurity.auth.callback.GUIPromptCallbackHandler
- com.ibm.wsspi.wssecurity.auth.callback.LTPATokenCallbackHandler
- com.ibm.wsspi.wssecurity.auth.callback.NonPromptCallbackHandler
- com.ibm.wsspi.wssecurity.auth.callback.StdinPromptCallbackHandler
These implementations are described in detail under the Callback handler class name field description in this article.
- Basic authentication password
-
The password that is passed to the constructor of the callback handler.
The keystore and its related configuration are used if you select one of the following default callback handler implementations provided by WebSphere Application Server:
- com.ibm.wsspi.wssecurity.auth.callback.PKCS7CallbackHandler
- The keystore is used to build the X.509 certificate with the certificate path.
- com.ibm.wsspi.wssecurity.auth.callback.PkiPathCallbackHandler
- The keystore is used to build the X.509 certificate with the certificate path.
- com.ibm.wsspi.wssecurity.auth.callback.X509CallbackHandler
- The keystore is used to retrieve the X.509 certificate.
- Key store password
-
The password that is used to access the keystore file.
- Key store path
-
The location of the keystore file.
Use ${USER_INSTALL_ROOT} in the path name because this variable expands to the WebSphere Application Server path on your machine. To change the path used by this variable, click Environment > WebSphere variables and click USER_INSTALL_ROOT .
- Key store type
-
The type of keystore file format You can choose one of the following values for this field:
- JKS
- Use this option if the keystore uses the Java Keystore (JKS) format.
- JCEKS
- Use this option if the Java Cryptography Extension is configured in the software development kit (SDK). The default IBM JCE is configured in WebSphere Application Server. This option provides stronger protection for stored private keys by using Triple DES encryption.
- PKCS11KS (PKCS11)
- Use this option if your keystore file uses the PKCS#11 file format. Keystore files that use this format might contain Rivest Shamir Adleman (RSA) keys on cryptographic hardware or might encrypt keys that use cryptographic hardware to ensure protection.
- PKCS12KS (PKCS12)
- Use this option if your keystore file uses the PKCS#12 file format.