Externalize some JCR Workspace properties
-----------------------------------------
Key: GTNPORTAL-2237
URL:
https://issues.jboss.org/browse/GTNPORTAL-2237
Project: GateIn Portal
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Environment:
Reporter: Trong Tran
Fix For: 3.2.0-M02
In the repository configuration, it will be better to use
"configuration.properties" variables to define:
* security-domain
* default-workspace
* system-workspace
For the *security-domain*, you can use ${portal.container.realm}, this property is
automatically injected in the PortalContainer env-variables, which will be computed from
the PortalContainerDefinition plugin. (so no need to add a new variable declaration in
configuration.properties file)
For the *default-workspace*&*system-workspace* properties, we will add a new
properties definition in configuration.properties: *gatein.jcr.workspace.default* &
*gatein.jcr.workspace.system* respectively.
the use of those variables will be as follows:<repository-service
default-repository="repository"> <repositories> <repository
name="repository" system-workspace="${gatein.jcr.workspace.system}"
default-workspace="${gatein.jcr.workspace.default}">
<security-domain>${portal.container.realm}</security-domain>...
</repository> </repositories></repository-service>
Affected configuration:
* gatein
* gatein-wsrp
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira