![]() ![]() For example, if you install AM and use as the host, you can set the cookie domain name as. You can set the cookie domain name value to an empty string for host-only cookies or to any non-top level domain. It is strongly recommended that you do not enable ._ENCODED_SLASH when running AM in production as it introduces a security risk.įor more information, see How do I safely enable the ._ENCODED_SLASH setting in AM/OpenAM (All Versions)? in the ForgeRock Knowledge Base. For example:ĬATALINA_OPTS= "-server -Xmx2g -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=256m \ One possible workaround is to configure Tomcat to allow encoded slash characters by adding the ._ENCODED_SLASH=true property to the CATALINA_OPTS variable however, this is not recommended for production deployments (see the warning below). These slash characters can cause unexpected behavior when running AM on Tomcat. Some AM resources have names that can contain slash characters ( /), for example, in policy names, application names, and SAML v2.0 entities. If you have set the _SERVLET_COMPLIANCE Tomcat property to true, add the ._ADD_EXPIRE property to Tomcat's start-up sequence to add the Expires attribute to the headers: CATALINA_OPTS="-server -Xmx2g -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=256m \ Some versions of Internet Explorer and Microsoft Edge support the Expires header attribute instead of the Max-Age header attribute, which may cause SAML 2.0 and agent logout sequences to fail. For example:ĬATALINA_OPTS="-server -Xmx2g -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=256m" ![]() Set the CATALINA_OPTS environment variable in Tomcat's start-up script or service with the appropriated tuning for your environment. See "Preparing a Java Environment" for details. If you are including the embedded DS, AM requires at least a 2 GB heap, as 50% of that space is allocated to DS. Tomcat is installed on, and listens on the default ports without a Java Security Manager enabled.ĪM core services require a minimum JVM heap size of 1 GB, and a metadata space size of up to 256 MB. AM examples often use Apache Tomcat (Tomcat) as the deployment container. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |