Fórum
How to use <http-only> and <secure> tag are supported in Liferay
Girish kumar, modificado 10 Anos atrás.
How to use <http-only> and <secure> tag are supported in Liferay
Junior Member Postagens: 26 Data de Entrada: 17/06/13 Postagens Recentes
Hi All,
We want to use below tags in web.xml in Jboss server:
<session-config>
<cookie-config>
<http-only>true</http-only>
<secure>true</secure>
</cookie-config>
<tracking-mode>COOKIE</tracking-mode>
</session-config>
By default Liferay 6120 supports the servlet spec 2.4 but the above tags are not supported in servlet spec 2.4.
Is With Liferay Portal 6.1.20 servelt 3.0 spec compliant because then only would be able to use above tags in web.xml
Env Details:
JBOSS Application Server:JBoss EAP 6.0.1.GA (AS 7.1.3.Final-redhat-4)
Liferay :Liferay Portal 6.1.20 (Paton / Build 6120 / July 31, 2012)
Thanks.
We want to use below tags in web.xml in Jboss server:
<session-config>
<cookie-config>
<http-only>true</http-only>
<secure>true</secure>
</cookie-config>
<tracking-mode>COOKIE</tracking-mode>
</session-config>
By default Liferay 6120 supports the servlet spec 2.4 but the above tags are not supported in servlet spec 2.4.
Is With Liferay Portal 6.1.20 servelt 3.0 spec compliant because then only would be able to use above tags in web.xml
Env Details:
JBOSS Application Server:JBoss EAP 6.0.1.GA (AS 7.1.3.Final-redhat-4)
Liferay :Liferay Portal 6.1.20 (Paton / Build 6120 / July 31, 2012)
Thanks.
Girish kumar, modificado 10 Anos atrás.
RE: How to use <http-only> and <secure> tag are supported in Liferay
Junior Member Postagens: 26 Data de Entrada: 17/06/13 Postagens Recentes
Hi All,
Anybody is having idea on this query.
Thanks.
Anybody is having idea on this query.
Thanks.
Suresh Yadagiri, modificado 8 Anos atrás.
RE: How to use <http-only> and <secure> tag are supported in Liferay
Junior Member Postagens: 29 Data de Entrada: 24/03/14 Postagens Recentes
We have same required. Did you find any solution?
David H Nebinger, modificado 8 Anos atrás.
RE: How to use <http-only> and <secure> tag are supported in Liferay
Liferay Legend Postagens: 14918 Data de Entrada: 02/09/06 Postagens Recentes
No, the web.xml isn't used in portlets really. Whatever settings you have there don't really apply to the portlet.
Naresh Reddy Kallamadi, modificado 7 Anos atrás.
RE: How to use <http-only> and <secure> tag are supported in Liferay
Regular Member Postagens: 120 Data de Entrada: 09/07/14 Postagens Recentes
RE: How to use <http-only> and <secure> tag are supported in Liferay
Jorge Díaz, modificado 7 Anos atrás.
RE: How to use <http-only> and <secure> tag are supported in Liferay
Liferay Master Postagens: 753 Data de Entrada: 09/01/14 Postagens Recentes
"HttpOnly" is activated by default since Liferay 7. See LPS-61285
For Liferay 6.2 you have to manually modify the web.xml file inside ROOT/WEB-INF and configure the session-config see Liferay 7 code: https://github.com/brianchandotcom/liferay-portal/pull/34327/files
For Liferay 6.2 you have to manually modify the web.xml file inside ROOT/WEB-INF and configure the session-config see Liferay 7 code: https://github.com/brianchandotcom/liferay-portal/pull/34327/files