Author: theute
Date: 2011-11-02 05:35:40 -0400 (Wed, 02 Nov 2011)
New Revision: 7927
Modified:
epp/portal/branches/EPP_5_2_Branch/component/common/src/main/java/conf/configuration-jboss.properties
epp/portal/branches/EPP_5_2_Branch/examples/extension/war/src/main/webapp/WEB-INF/conf/sample-ext/jcr/repository-configuration.xml
epp/portal/branches/EPP_5_2_Branch/examples/portal/war/src/main/webapp/WEB-INF/conf/sample-portal/jcr/repository-configuration.xml
epp/portal/branches/EPP_5_2_Branch/web/portal/src/main/webapp/WEB-INF/conf/jcr/repository-configuration.xml
epp/portal/branches/EPP_5_2_Branch/wsrp-integration/extension-war/src/main/webapp/WEB-INF/conf/wsrp/repository-configuration.xml
Log:
JBEPP-1332: Externalize some JCR Workspace properties
Modified:
epp/portal/branches/EPP_5_2_Branch/component/common/src/main/java/conf/configuration-jboss.properties
===================================================================
---
epp/portal/branches/EPP_5_2_Branch/component/common/src/main/java/conf/configuration-jboss.properties 2011-11-02
08:21:14 UTC (rev 7926)
+++
epp/portal/branches/EPP_5_2_Branch/component/common/src/main/java/conf/configuration-jboss.properties 2011-11-02
09:35:40 UTC (rev 7927)
@@ -37,6 +37,8 @@
gatein.jcr.index.changefilterclass=org.exoplatform.services.jcr.impl.core.query.DefaultChangesFilter
gatein.jcr.index.cache.config=war:/conf/jcr/jbosscache/cluster/indexer-config.xml
gatein.jcr.jgroups.config=classpath:/jgroups/gatein-${gatein.default.jgroups.stack:udp}.xml
+gatein.jcr.workspace.default=portal-system
+gatein.jcr.workspace.system=system
# IDM
gatein.idm.datasource.name=java:gatein-idm
Modified:
epp/portal/branches/EPP_5_2_Branch/examples/extension/war/src/main/webapp/WEB-INF/conf/sample-ext/jcr/repository-configuration.xml
===================================================================
---
epp/portal/branches/EPP_5_2_Branch/examples/extension/war/src/main/webapp/WEB-INF/conf/sample-ext/jcr/repository-configuration.xml 2011-11-02
08:21:14 UTC (rev 7926)
+++
epp/portal/branches/EPP_5_2_Branch/examples/extension/war/src/main/webapp/WEB-INF/conf/sample-ext/jcr/repository-configuration.xml 2011-11-02
09:35:40 UTC (rev 7927)
@@ -21,9 +21,9 @@
<repository-service default-repository="repository">
<repositories>
- <repository name="repository" system-workspace="system"
default-workspace="portal-system">
- <security-domain>gatein-domain</security-domain>
- <access-control>optional</access-control>
+ <repository name="repository"
system-workspace="${gatein.jcr.workspace.system}"
default-workspace="${gatein.jcr.workspace.default}">
+ <security-domain>${portal.container.realm}</security-domain>
+ <access-control>optional</access-control>
<authentication-policy>org.exoplatform.services.jcr.impl.core.access.JAASAuthenticator</authentication-policy>
<workspaces>
<workspace name="sample-ws">
Modified:
epp/portal/branches/EPP_5_2_Branch/examples/portal/war/src/main/webapp/WEB-INF/conf/sample-portal/jcr/repository-configuration.xml
===================================================================
---
epp/portal/branches/EPP_5_2_Branch/examples/portal/war/src/main/webapp/WEB-INF/conf/sample-portal/jcr/repository-configuration.xml 2011-11-02
08:21:14 UTC (rev 7926)
+++
epp/portal/branches/EPP_5_2_Branch/examples/portal/war/src/main/webapp/WEB-INF/conf/sample-portal/jcr/repository-configuration.xml 2011-11-02
09:35:40 UTC (rev 7927)
@@ -21,8 +21,8 @@
<repository-service default-repository="repository">
<repositories>
- <repository name="repository" system-workspace="system"
default-workspace="portal-system">
- <security-domain>gatein-domain</security-domain>
+ <repository name="repository"
system-workspace="${gatein.jcr.workspace.system}"
default-workspace="${gatein.jcr.workspace.default}">
+ <security-domain>${portal.container.realm}</security-domain>
<access-control>optional</access-control>
<authentication-policy>org.exoplatform.services.jcr.impl.core.access.JAASAuthenticator</authentication-policy>
<workspaces>
Modified:
epp/portal/branches/EPP_5_2_Branch/web/portal/src/main/webapp/WEB-INF/conf/jcr/repository-configuration.xml
===================================================================
---
epp/portal/branches/EPP_5_2_Branch/web/portal/src/main/webapp/WEB-INF/conf/jcr/repository-configuration.xml 2011-11-02
08:21:14 UTC (rev 7926)
+++
epp/portal/branches/EPP_5_2_Branch/web/portal/src/main/webapp/WEB-INF/conf/jcr/repository-configuration.xml 2011-11-02
09:35:40 UTC (rev 7927)
@@ -21,8 +21,8 @@
<repository-service default-repository="repository">
<repositories>
- <repository name="repository" system-workspace="system"
default-workspace="portal-system">
- <security-domain>gatein-domain</security-domain>
+ <repository name="repository"
system-workspace="${gatein.jcr.workspace.system}"
default-workspace="${gatein.jcr.workspace.default}">
+ <security-domain>${portal.container.realm}</security-domain>
<access-control>optional</access-control>
<authentication-policy>org.exoplatform.services.jcr.impl.core.access.JAASAuthenticator</authentication-policy>
Modified:
epp/portal/branches/EPP_5_2_Branch/wsrp-integration/extension-war/src/main/webapp/WEB-INF/conf/wsrp/repository-configuration.xml
===================================================================
---
epp/portal/branches/EPP_5_2_Branch/wsrp-integration/extension-war/src/main/webapp/WEB-INF/conf/wsrp/repository-configuration.xml 2011-11-02
08:21:14 UTC (rev 7926)
+++
epp/portal/branches/EPP_5_2_Branch/wsrp-integration/extension-war/src/main/webapp/WEB-INF/conf/wsrp/repository-configuration.xml 2011-11-02
09:35:40 UTC (rev 7927)
@@ -23,8 +23,8 @@
<repository-service default-repository="repository">
<repositories>
- <repository name="repository" system-workspace="system"
default-workspace="portal-system">
- <security-domain>gatein-domain</security-domain>
+ <repository name="repository"
system-workspace="${gatein.jcr.workspace.system}"
default-workspace="${gatein.jcr.workspace.default}">
+ <security-domain>${portal.container.realm}</security-domain>
<access-control>optional</access-control>
<authentication-policy>org.exoplatform.services.jcr.impl.core.access.JAASAuthenticator</authentication-policy>
<workspaces>