Lesson 2.1: Configure WebSphere eXtreme Scale client security
You configure the client properties with a properties file. The client properties file indicates the CredentialGenerator implementation class to use.
Client properties file contents
The tutorial uses WebSphere Application Server security tokens for the client credential. The samples_home/security_extauth directory contains the client3.props file.
The client3.props file includes the
following settings:
- securityEnabled
- Enables WebSphere eXtreme Scale client security. The value is set to true to indicate that the client must send available security information to the server.
- credentialAuthentication
- Specifies the client credential authentication support. The value is set to Supported to indicate that the client supports credential authentication.
- credentialGeneratorClass
- Specifies the name of the class that implements the com.ibm.websphere.objectgrid.security.plugins.CredentialGenerator interface. The value is set to the com.ibm.websphere.objectgrid.security.plugins.builtins. UserPasswordCredentialGenerator class so that the client retrieves the security information from the UserPasswordCredentialGenerator class.
- credentialGeneratorProps
- Specifies the user name and password: manager manager1. The user name is manager, and the password is manager1. You can also use the FilePasswordEncoder.bat|sh command to encode this property using an exclusive or (xor) algorithm.
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.