-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 11.0.0, 11.0.1, 11.0.2, 11.0.3, 12.0.0, 12.0.1, 12.0.2, 13.0.0
-
Component/s: authentication
-
Labels:
-
Target Version/s:
-
Sprint:AM Sustaining Sprint 36, AM Sustaining Sprint 37, AM Sustaining Sprint 38, AM Sustaining Sprint 42
-
Story Points:3
-
Needs backport:No
-
Support Ticket IDs:
By default the cookie name for the persistent cookie auth module can not be changed because the service property
openam-auth-persistent-cookie-name
is not exposed via OpenAM console or ssoadm.
Workaround:
Update service configuration as follows
ssoadm add-attrs -u amadmin -f PASSWORD_FILE -s iPlanetAMAuthPersistentCookieService -t Organization -F PATH_TO/update_iPlanetAMAuthPersistentCookieService.xml ssoadm add-attrs -u amadmin -f PASSWORD_FILE -s iPlanetAMAuthPersistentCookieService -t Organization -c serverconfig -F PATH_TO/update_iPlanetAMAuthPersistentCookieService.xml
update_iPlanetAMAuthPersistentCookieService.xml
<AttributeSchema name="openam-auth-persistent-cookie-name" type="single" syntax="string" i18nKey="a006"> <DefaultValues> <Value>session-jwt</Value> </DefaultValues> </AttributeSchema>
the description of the module/localisation needs to be done in amAuthPersistentCookie.properties, e.g.
amAuthPersistentCookie.properties
a006=Name of the persistent cookie a006.help=Sets the name of the persistent cookie