我正在尝试在Liferay 6.1中启用CSRF。我已将以下内容添加到portal-ext.properties文件中:
auth.token.check.enabled=true
auth.token.impl=com.liferay.portal.security.auth.SessionAuthToken
我也在portlet.xml中有这个。
<init-param>
<name>check-auth-token</name>
<value>true</value>
</init-param>
然而我无法看到应该出现在URL中的p_auth参数。我需要做些什么才能让它起作用?