[gatein-issues] [JBoss JIRA] Commented: (GTNPORTAL-255) Do not Configure aplication policy inside server/default/conf/login-config.xml
Patrice Lamarque (JIRA)
jira-events at lists.jboss.org
Mon Nov 16 14:35:30 EST 2009
[ https://jira.jboss.org/jira/browse/GTNPORTAL-255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12494896#action_12494896 ]
Patrice Lamarque commented on GTNPORTAL-255:
--------------------------------------------
To be more specific, you just need to add a gatein.ear/META-INF/gatein-jboss-beans.xml and stick this in it :
<deployment xmlns="urn:jboss:bean-deployer:2.0">
<application-policy xmlns="urn:jboss:security-beans:1.0"
name="exo-domain">
<authentication>
<login-module code="org.exoplatform.web.security.PortalLoginModule" flag="required">
<module-option name="portalContainerName">portal</module-option>
<module-option name="realmName">exo-domain</module-option>
</login-module>
<login-module code="org.exoplatform.services.security.jaas.SharedStateLoginModule" flag="required">
<module-option name="portalContainerName">portal</module-option>
<module-option name="realmName">exo-domain</module-option>
</login-module>
<login-module code="org.exoplatform.services.security.j2ee.JbossLoginModule" flag="required">
<module-option name="portalContainerName">portal</module-option>
<module-option name="realmName">exo-domain</module-option>
</login-module>
</authentication>
</application-policy>
</deployment>
After that you no longer need to override login-config.xml in exo.portal.server.jboss.patch
> Do not Configure aplication policy inside server/default/conf/login-config.xml
> ------------------------------------------------------------------------------
>
> Key: GTNPORTAL-255
> URL: https://jira.jboss.org/jira/browse/GTNPORTAL-255
> Project: GateIn Portal
> Issue Type: Task
> Components: Packaging
> Affects Versions: 3.0.0-Beta01
> Reporter: Patrice Lamarque
>
> For now, the jaas conf lives in server/default/conf/login-config.xml
> <application-policy name="exo-domain">
> <authentication>
> <login-module code="org.exoplatform.web.security.PortalLoginModule" flag="required"></login-module>
> <login-module code="org.exoplatform.services.security.jaas.SharedStateLoginModule" flag="required"></login-module>
> <login-module code="org.exoplatform.services.security.j2ee.JbossLoginModule" flag="required"></login-module>
> </authentication>
> </application-policy>
> It would be more portable to embed it inside gatein.ear such as explained here : https://jira.jboss.org/jira/browse/JBAS-2063
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the gatein-issues
mailing list