<?xml version="1.0" encoding="UTF-8" ?>
<!-- 

  Copyright (C) 2005-2009 BetaCONCEPT LP.
 
  This file is part of BetaCMS.
 
  BetaCMS is free software: you can redistribute it and/or modify
  it under the terms of the GNU Lesser General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.
 
  BetaCMS is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU Lesser General Public License for more details.
 
  You should have received a copy of the GNU Lesser General Public License
  along with BetaCMS.  If not, see <http://www.gnu.org/licenses/>.
 
 -->
<ns:betacmsRepositories
	xmlns:ns="http://www.betaconceptframework.org/schema/betacms/betacmsRepositories"
	serverURL="http://localhost:8080"
	jaasApplicationPolicyName="betacms"
		authenticationTokenTimeout="30"
		disableSecurity="false">
<!-- 
	id 						: Repository identifier
	 
	jcr-repository-jndi-name: Jcr Repository Jndi-name. This is where the JCR repository object is loaded in the Naming Context 
							  Must match the value of element 'jndi-name' found in file JBOSS_HOME/server/default/deploy/jackrabbit-betacms-ds.xml. 
							  The name of the file depends on the id of the repository. Here id is 'betacms' hence the file should be named after
							  jackrabbit-betacms-ds.xml
							  
	betacms-db-jndi-name    : Betacms DB data source Jndi-name. This is where the  data source for the database of BetaCMS database is loaded in the Naming Context.
							  Must match the value of element 'jndi-name' found in file JBOSS_HOME/server/default/deploy/betacmsDB-betacms-ds.xml. 
							  The name of the file depends on the id of the repository. Here id is 'betacms' hence the file should be named after
							  betacmsDB-betacms-ds.xml
	serverAliasURL			: Alternative server URL for this repository. If no value is defined
							  base serverURL is used.
	jaasApplicationPolicyName:	
			 	 			The name of the default application policy as defined in JAAS configuration file. 
			 	 			If no value is provided neither at this level nor at root element, 'betacms' is the default security domain. 
			  
	authenticationTokenTimeout:
			 				Authentication Token timeout in minutes. It represents the amount of the idle time 
			 				that authentication token is considered valid. After that time authentication token is removed.
			 				If no value is provided neither at this level nor at root element, '30'  minutes is the default value.
			 
	disableSecurity			:
			 				Disable Security in BetaCMS. Note that security is disabled on the level of privileged
			 				actions and not on the level of connections to BetaCMS. This means that in order to use 
			 				BetaCMS services one must logged in successfully. In addition if this attribute has value
			 				'true' then logged in user can execute any method provided by BetaCMS Services API
			 				regardless of its roles and privileges.
			 				If no value is provided neither at this level nor at root element, 'false' is the default value.
	identity-store-repository-id		: 
							Provide the id of a betaCMS repository (which is define in this file as well) which is the identity store.
	external-identity-store-jndi-name	:
							Provide JNDI name where external Identity Store is available 													
 -->


<betacmsRepository 
		id="paratiritirio"
		jcr-repository-jndi-name="java:jcr/paratiritirio"
		betacms-db-jndi-name="java:jdbc/paratiritirio"
		jaasApplicationPolicyName="betacms"
		authenticationTokenTimeout="30"
		disableSecurity="false"
		serverAliasURL="http://localhost:8080"
		>
		
		<localization>
			<localizedLabel locale="el">paratiritirio</localizedLabel>
			<localizedLabel locale="en">paratiritirio</localizedLabel>
		</localization>
		
		<security>
        	<permanentUserKeyList>
		  		    <permanentUserKey userid="anonymous,SYSTEM" key="KEY"/>
		      </permanentUserKeyList>
		</security>
		
</betacmsRepository>

</ns:betacmsRepositories>

