Author: sohil.shah(a)jboss.com
Date: 2009-11-30 05:33:50 -0500 (Mon, 30 Nov 2009)
New Revision: 862
Added:
components/sso/trunk/packaging/cas/src/main/config/gatein/gatein.ear/
components/sso/trunk/packaging/cas/src/main/config/gatein/gatein.ear/META-INF/
components/sso/trunk/packaging/cas/src/main/config/gatein/gatein.ear/META-INF/gatein-jboss-beans.xml
Removed:
components/sso/trunk/packaging/cas/src/main/config/gatein/jboss/
Modified:
components/sso/trunk/packaging/cas/pom.xml
components/sso/trunk/packaging/cas/src/main/config/gatein/portal.war/WEB-INF/web.xml
components/sso/trunk/pom.xml
Log:
fixing cas plugin after the final gatein-3.0.0-beta03 tag
Modified: components/sso/trunk/packaging/cas/pom.xml
===================================================================
--- components/sso/trunk/packaging/cas/pom.xml 2009-11-30 10:19:48 UTC (rev 861)
+++ components/sso/trunk/packaging/cas/pom.xml 2009-11-30 10:33:50 UTC (rev 862)
@@ -93,11 +93,11 @@
<copy file="${basedir}/target/gatein/02portal.war"
todir="${gatein.location}/deploy/gatein.ear"
overwrite="true"/>
+
+ <copy
file="${basedir}/src/main/config/gatein/gatein.ear/META-INF/gatein-jboss-beans.xml"
+
tofile="${gatein.location}/deploy/gatein.ear/META-INF/gatein-jboss-beans.xml"
+ overwrite="true"/>
- <copy
file="${basedir}/src/main/config/gatein/jboss/server/default/conf/login-config.xml"
- tofile="${gatein.location}/conf/login-config.xml"
- overwrite="true"/>
-
<!-- Deploy the Authentication Callback RESTful service -->
<copy
file="${settings.localRepository}/org/gatein/sso/auth-callback/${project.version}/auth-callback-${project.version}.jar"
todir="${gatein.location}/deploy/gatein.ear/lib"
Added:
components/sso/trunk/packaging/cas/src/main/config/gatein/gatein.ear/META-INF/gatein-jboss-beans.xml
===================================================================
---
components/sso/trunk/packaging/cas/src/main/config/gatein/gatein.ear/META-INF/gatein-jboss-beans.xml
(rev 0)
+++
components/sso/trunk/packaging/cas/src/main/config/gatein/gatein.ear/META-INF/gatein-jboss-beans.xml 2009-11-30
10:33:50 UTC (rev 862)
@@ -0,0 +1,29 @@
+<deployment xmlns="urn:jboss:bean-deployer:2.0">
+
+ <application-policy xmlns="urn:jboss:security-beans:1.0"
name="gatein-domain">
+ <!--
+ <authentication>
+ <login-module code="org.exoplatform.web.security.PortalLoginModule"
flag="required">
+ <module-option
name="portalContainerName">portal</module-option>
+ <module-option
name="realmName">gatein-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">gatein-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">gatein-domain</module-option>
+ </login-module>
+ </authentication>
+ -->
+ <authentication>
+ <login-module code="org.gatein.sso.agent.login.SSOLoginModule"
flag="required"></login-module>
+ <login-module
code="org.exoplatform.services.security.j2ee.JbossLoginModule"
flag="required">
+ <module-option
name="portalContainerName">portal</module-option>
+ <module-option
name="realmName">gatein-domain</module-option>
+ </login-module>
+ </authentication>
+ </application-policy>
+
+</deployment>
Modified:
components/sso/trunk/packaging/cas/src/main/config/gatein/portal.war/WEB-INF/web.xml
===================================================================
---
components/sso/trunk/packaging/cas/src/main/config/gatein/portal.war/WEB-INF/web.xml 2009-11-30
10:19:48 UTC (rev 861)
+++
components/sso/trunk/packaging/cas/src/main/config/gatein/portal.war/WEB-INF/web.xml 2009-11-30
10:33:50 UTC (rev 862)
@@ -295,7 +295,7 @@
</security-constraint>
<login-config>
<auth-method>FORM</auth-method>
- <realm-name>exo-domain</realm-name>
+ <realm-name>gatein-domain</realm-name>
<form-login-config>
<form-login-page>/initiatelogin</form-login-page>
<form-error-page>/errorlogin</form-error-page>
Modified: components/sso/trunk/pom.xml
===================================================================
--- components/sso/trunk/pom.xml 2009-11-30 10:19:48 UTC (rev 861)
+++ components/sso/trunk/pom.xml 2009-11-30 10:33:50 UTC (rev 862)
@@ -62,7 +62,7 @@
<!-- exo -->
<org.exoplatform.core.version>2.3.0-Beta02</org.exoplatform.core.version>
<org.exoplatform.ws.version>2.1.0-Beta02</org.exoplatform.ws.version>
-
<org.exoplatform.portal.version>3.0.0-Beta03-SNAPSHOT</org.exoplatform.portal.version>
+
<org.exoplatform.portal.version>3.0.0-Beta03</org.exoplatform.portal.version>
<!-- JAX-RS jsr-311 -->
<version.javax.ws.rs>1.0</version.javax.ws.rs>