Lesson 2.1: Configure client server security
The client properties file indicates the CredentialGenerator implementation class to use.
About this task
Client properties file contents
This example uses WebSphere Application Server security tokens as the
client credential. The client2.props file is in the samples_home/security directory. The
client2.props file includes the following settings:
- securityEnabled
- When set to true, indicates that the client must send available security information to the server.
- credentialAuthentication
- When set to Supported, indicates that the client supports credential authentication.
- credentialGeneratorClass
- Indicates the com.ibm.websphere.objectgrid.security.plugins.builtins.WSTokenCredentialGenerator class so the client retrieves the security tokens from the thread. See Security integration with WebSphere Application Server for more information about how security tokens are retrieved.
Setting the client properties file using Java™ virtual machine (JVM) properties
About this task
Procedure
Lesson checkpoint
You edited the client properties file and configured the servers in the appCluster cluster to use the client properties file. This properties file indicates the CredentialGenerator implementation class to use.