...
To enable simulation mode, perform the following steps:
Implement an authentication mechanism for the simulation user in a simple Java class.
Note Note: Refer CTAuthenticationProviderSimulatingUser.java for your reference.
Specify the authentication provider class in the securityconfig.property file as shown.
Code Block language java This is the default authentication provider that is to be used during Login / logout / re-authentication purposes. AUTH_SERV_PROV_CLASS=com.intellectdesign.canvas.test.providers.CTAuthenticationProviderSimulatingUser
Note Note: Refer securityconfig.properties for your reference.
This property maps the authentication provider that is to be used during logon, logoff and re-authentication purposes. In the example, the class that provides the authentication mechanism is CTAuthenticationProviderSimulatingUser.- Pass isSimulated flag as TRUE as a request parameter in the login request.
The following is a sample login request that shows the flag 'isSimulated' sent along with other login request parameters.
...