Programming client authentication for WebSphere eXtreme Scale Client for .NET
To send credentials from the WebSphere® eXtreme Scale Client for .NET to the server side, you must implement the ICredentialGenerator and ICredential interfaces. These interfaces generate a credential object that is passed to the data grid and interpreted on the server side. On the server side, the corresponding plug-in interprets the credential object.
About this task
- ICredential: A Credential represents a client credential, such as a user ID and password pair.
- ICredentialGenerator: A CredentialGenerator represents a credential factory to generate the credential.
You can also use the provided CredentialGenerator plug-in to create a credential that is based on the credentialGeneratorProps= setting in the Client.Net.Properties file. The additional settings that define the credential plug-in are credentialGeneratorAssembly and credentialGeneratorClass.
Procedure
Implement the ICredentialGenerator and ICredential interfaces
in your .NET application.
Remember: If the
you implement this client credential plug-in, then you must also implement
a corresponding server credential plug-in that can interpret and receive
the authentication credentials from the WebSphere eXtreme Scale
Client for .NET.
You
can use the following examples to develop your application: