+

Search Tips   |   Advanced Search

Persistent cookie authenticator

Description and syntax of the persistent cookie authenticator.


Description

The persistent cookie authenticator looks for a specific cookie in any request that is sent to it. If the request does not contain the cookie, the authenticator creates a cookie, and sends it in the response. This authenticator is not interactive, that is, it does not ask the user for credentials, and is mainly used in environment realms.


Class Name


Parameters

The persistent cookie authenticator class has the following parameter:

Parameter Description
<cookie-name> Optional. The name of the persistent cookie. If this parameter is not specified, the default name, WL_PERSISTENT_COOKIE, is used.

<realm name="PersistentCookie" loginModule="dummy">
<className> com.worklight.core.auth.ext.PersistentCookieAuthenticator </className>
</realm>


Parent topic: Configure authenticators and realms