Skip to content
MasterContent.xml 130 KiB
Newer Older
Francesco Chicchiriccò's avatar
Francesco Chicchiriccò committed
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.  See the NOTICE file
distributed with this work for additional information
regarding copyright ownership.  The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License.  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.
-->
<dataset>
  <SyncopeDomain name="Two" adminCipherAlgorithm="SHA" adminPwd="2AA60A8FF7FCD473D321E0146AFD9E26DF395147"/>  
  
  <SyncopeConf id="1" 
               creator="admin" lastModifier="admin"
               creationDate="2014-06-20 11:00:00" lastChangeDate="2014-06-20 11:00:00"/>

  <PlainSchema name="password.cipher.algorithm" type="String"
               mandatoryCondition="true" multivalue="0" uniqueConstraint="0" readonly="0"/>
  <CPlainAttr id="1" owner_id="1" schema_name="password.cipher.algorithm"/>
  <CPlainAttrValue id="1" attribute_id="1" stringValue="SHA1"/>

  <!-- notificationjob.cronExpression:
  + not existing: NotificationJob runs according to NotificationJob.DEFAULT_CRON_EXP
  + provided as empty string: NotificationJob disabled
  + provided as non-empty string: NotificationJob runs according to the given value -->
  <PlainSchema name="notificationjob.cronExpression" type="String"
               mandatoryCondition="false" multivalue="0" uniqueConstraint="0" readonly="0"/>
  <CPlainAttr id="2" owner_id="1" schema_name="notificationjob.cronExpression"/>
  <CPlainAttrValue id="2" attribute_id="2" stringValue="0/20 * * * * ?"/>
  
  <PlainSchema name="notification.maxRetries" type="Long"
               mandatoryCondition="true" multivalue="0" uniqueConstraint="0" readonly="0"/>
  <CPlainAttr id="3" owner_id="1" schema_name="notification.maxRetries"/>
  <CPlainAttrValue id="3" attribute_id="3" longValue="3"/>

  <PlainSchema name="token.length" type="Long"
               mandatoryCondition="true" multivalue="0" uniqueConstraint="0" readonly="0"/>
  <CPlainAttr id="4" owner_id="1" schema_name="token.length"/>
  <CPlainAttrValue id="4" attribute_id="4" longValue="256"/>

  <PlainSchema name="token.expireTime" type="Long"
               mandatoryCondition="true" multivalue="0" uniqueConstraint="0" readonly="0"/>
  <CPlainAttr id="5" owner_id="1" schema_name="token.expireTime"/>
  <CPlainAttrValue id="5" attribute_id="5" longValue="60"/>

  <PlainSchema name="selfRegistration.allowed" type="Boolean"
               mandatoryCondition="true" multivalue="0" uniqueConstraint="0" readonly="0"/>
  <CPlainAttr id="6" owner_id="1" schema_name="selfRegistration.allowed"/>
  <CPlainAttrValue id="6" attribute_id="6" booleanValue="1"/>

  <PlainSchema name="passwordReset.allowed" type="Boolean"
               mandatoryCondition="true" multivalue="0" uniqueConstraint="0" readonly="0"/>
  <CPlainAttr id="7" owner_id="1" schema_name="passwordReset.allowed"/>
  <CPlainAttrValue id="7" attribute_id="7" booleanValue="1"/>

  <PlainSchema name="passwordReset.securityQuestion" type="Boolean"
               mandatoryCondition="true" multivalue="0" uniqueConstraint="0" readonly="0"/>
  <CPlainAttr id="8" owner_id="1" schema_name="passwordReset.securityQuestion"/>
  <CPlainAttrValue id="8" attribute_id="8" booleanValue="1"/>

  <PlainSchema name="authentication.statuses" type="String"
               mandatoryCondition="true" multivalue="1" uniqueConstraint="0" readonly="0"/>
  <CPlainAttr id="9" owner_id="1" schema_name="authentication.statuses"/>
  <CPlainAttrValue id="9" attribute_id="9" stringValue="created"/>
  <CPlainAttrValue id="10" attribute_id="9" stringValue="active"/>

  <!-- Save user login date upon successful authentication -->
  <PlainSchema name="log.lastlogindate" type="Boolean"
               mandatoryCondition="true" multivalue="0" uniqueConstraint="0" readonly="0"/>
  <CPlainAttr id="11" owner_id="1" schema_name="log.lastlogindate"/>
  <CPlainAttrValue id="11" attribute_id="11" booleanValue="1"/>

  <PlainSchema name="tasks.interruptMaxRetries" type="Long"
               mandatoryCondition="true" multivalue="0" uniqueConstraint="0" readonly="0"/>
  <CPlainAttr id="12" owner_id="1" schema_name="tasks.interruptMaxRetries"/>
  <CPlainAttrValue id="12" attribute_id="12" longValue="20"/>
  
  <!-- Return hashed password values when reading users -->
  <PlainSchema name="return.password.value" type="Boolean"
               mandatoryCondition="false" multivalue="0" uniqueConstraint="0" readonly="0"/>
  <CPlainAttr id="14" owner_id="1" schema_name="return.password.value"/>
  <CPlainAttrValue id="14" attribute_id="14" booleanValue="0"/>
  
  <!-- For usage with admin console -->
  <PlainSchema name="admin.user.layout" type="String"
               mandatoryCondition="false" multivalue="1" uniqueConstraint="0" readonly="0"/>
  <PlainSchema name="self.user.layout" type="String"
               mandatoryCondition="false" multivalue="1" uniqueConstraint="0" readonly="0"/>
  <PlainSchema name="admin.group.layout" type="String"
               mandatoryCondition="false" multivalue="1" uniqueConstraint="0" readonly="0"/>
  <PlainSchema name="self.group.layout" type="String"
               mandatoryCondition="false" multivalue="1" uniqueConstraint="0" readonly="0"/>
  <PlainSchema name="admin.membership.layout" type="String"
               mandatoryCondition="false" multivalue="1" uniqueConstraint="0" readonly="0"/>
  <PlainSchema name="self.membership.layout" type="String"
               mandatoryCondition="false" multivalue="1" uniqueConstraint="0" readonly="0"/>
  
  <!-- sample policies -->
  <SyncPolicy id="1" description="a sync policy" type="SYNC" 
              specification='{"conflictResolutionAction":"IGNORE"'/>
  <PasswordPolicy id="2" description="a password policy" type="PASSWORD" 
                  historyLength="1" allowNullPassword="1"/> 
  <PasswordRuleConfInstance id="2" passwordPolicy_id="2"
                            serializedInstance='{"@class":"org.apache.syncope.common.lib.policy.DefaultPasswordRuleConf","maxLength":0,"minLength":8,"nonAlphanumericRequired":false,"alphanumericRequired":false,"digitRequired":false,"lowercaseRequired":false,"uppercaseRequired":false,"mustStartWithDigit":false,"mustntStartWithDigit":false,"mustEndWithDigit":false,"mustntEndWithDigit":false,"mustStartWithNonAlpha":false,"mustStartWithAlpha":false,"mustntStartWithNonAlpha":false,"mustntStartWithAlpha":false,"mustEndWithNonAlpha":false,"mustEndWithAlpha":false,"mustntEndWithNonAlpha":false,"mustntEndWithAlpha":false,"wordsNotPermitted":[],"schemasNotPermitted":[],"prefixesNotPermitted":["notpermitted1","notpermitted2"],"suffixesNotPermitted":[]}'/>
  <SyncPolicy id="3" description="sync policy 2" type="SYNC" 
              specification='{"conflictResolutionAction":"ALL","correlationRules":{"USER":"[\"username\",\"firstname\"]"}}'/>
  <PasswordPolicy id="4" description="sample password policy" type="PASSWORD"
                  historyLength="0"  allowNullPassword="1"/> 
  <PasswordRuleConfInstance id="4" passwordPolicy_id="4"
                            serializedInstance='{"@class":"org.apache.syncope.common.lib.policy.DefaultPasswordRuleConf","maxLength":0,"minLength":10,"nonAlphanumericRequired":false,"alphanumericRequired":false,"digitRequired":true,"lowercaseRequired":false,"uppercaseRequired":false,"mustStartWithDigit":false,"mustntStartWithDigit":false,"mustEndWithDigit":false,"mustntEndWithDigit":false,"mustStartWithNonAlpha":false,"mustStartWithAlpha":false,"mustntStartWithNonAlpha":false,"mustntStartWithAlpha":false,"mustEndWithNonAlpha":false,"mustEndWithAlpha":false,"mustntEndWithNonAlpha":false,"mustntEndWithAlpha":false,"wordsNotPermitted":[],"schemasNotPermitted":[],"prefixesNotPermitted":["notpermitted1","notpermitted2"],"suffixesNotPermitted":[]}'/>
  <AccountPolicy id="5" description="an account policy" type="ACCOUNT"
                 propagateSuspension="0" maxAuthenticationAttempts="0"/>
  <AccountRuleConfInstance id="5" accountPolicy_id="5"
                           serializedInstance='{"@class":"org.apache.syncope.common.lib.policy.DefaultAccountRuleConf","maxLength":0,"minLength":0,"pattern":null,"allUpperCase":false,"allLowerCase":false,"wordsNotPermitted":[],"schemasNotPermitted":[],"prefixesNotPermitted":[],"suffixesNotPermitted":[]}'/>
  <AccountPolicy id="6" description="sample account policy" type="ACCOUNT"
                 propagateSuspension="0" maxAuthenticationAttempts="3"/>
  <AccountRuleConfInstance id="6" accountPolicy_id="6"
                           serializedInstance='{"@class":"org.apache.syncope.common.lib.policy.DefaultAccountRuleConf","maxLength":0,"minLength":4,"pattern":null,"allUpperCase":false,"allLowerCase":false,"wordsNotPermitted":[],"schemasNotPermitted":[],"prefixesNotPermitted":["notpermitted1","notpermitted2"],"suffixesNotPermitted":[]}'/>
  <SyncPolicy id="7" description="sync policy 1" type="SYNC" 
              specification='{"conflictResolutionAction":"IGNORE"}'/>
  <PasswordPolicy id="8" description="sample password policy" type="PASSWORD"
                  historyLength="0" allowNullPassword="0"/> 
  <PasswordRuleConfInstance id="8" passwordPolicy_id="8"
                            serializedInstance='{"@class":"org.apache.syncope.common.lib.policy.DefaultPasswordRuleConf","maxLength":0,"minLength":10,"nonAlphanumericRequired":true,"alphanumericRequired":false,"digitRequired":true,"lowercaseRequired":true,"uppercaseRequired":true,"mustStartWithDigit":true,"mustntStartWithDigit":false,"mustEndWithDigit":true,"mustntEndWithDigit":false,"mustStartWithNonAlpha":false,"mustStartWithAlpha":false,"mustntStartWithNonAlpha":false,"mustntStartWithAlpha":false,"mustEndWithNonAlpha":false,"mustEndWithAlpha":false,"mustntEndWithNonAlpha":false,"mustntEndWithAlpha":false,"wordsNotPermitted":[],"schemasNotPermitted":[],"prefixesNotPermitted":["notpermitted1","notpermitted2"],"suffixesNotPermitted":[]}'/>
  <SyncPolicy id="9" description="sync policy for java rule" type="SYNC" 
              specification='{"conflictResolutionAction":"IGNORE"}'/>

  <RelationshipType name="inclusion" description="Models the act that an object is included in another"/>
  <RelationshipType name="neighborhood"/>
  
  <AnyTypeClass name="generic membership"/>

  <AnyType name="USER" kind="USER"/>
  <AnyTypeClass name="minimal user"/>
  <AnyType_AnyTypeClass anyType_name="USER" anyTypeClass_name="minimal user"/>
  <AnyTypeClass name="other"/>
  <AnyType_AnyTypeClass anyType_name="USER" anyTypeClass_name="other"/>

  <AnyType name="GROUP" kind="GROUP"/>
  <AnyTypeClass name="minimal group"/>
  <AnyType_AnyTypeClass anyType_name="GROUP" anyTypeClass_name="minimal group"/>
  
  <AnyType name="PRINTER" kind="ANY_OBJECT"/>
  <AnyTypeClass name="minimal printer"/>
  <AnyType_AnyTypeClass anyType_name="PRINTER" anyTypeClass_name="minimal printer"/>
      
  <AnyTypeClass name="csv"/>

  <Realm id="1" name="/" passwordPolicy_id="4"/>
  <Realm id="2" name="odd" parent_id="1" accountPolicy_id="6"/>
  <Realm id="3" name="even" parent_id="1"/>
  <Realm id="4" name="two" parent_id="3" accountPolicy_id="5" passwordPolicy_id="2"/>
  
  <AnyObject id="1" realm_id="1" type_name="PRINTER"
             creator="admin" lastModifier="admin" 
             creationDate="2010-10-20 11:00:00" lastChangeDate="2010-10-20 11:00:00"/>
  <AnyObject id="2" realm_id="1" type_name="PRINTER"
             creator="admin" lastModifier="admin" 
             creationDate="2010-10-20 11:00:00" lastChangeDate="2010-10-20 11:00:00"/>
  
  <ARelationship id="1" left_anyObject_id="1" right_anyObject_id="2" type_name="neighborhood"/>
  
  <SyncopeRole id="1" name="User reviewer"/>
  <SyncopeRole_entitlements entitlement="USER_READ" role_id="1"/>
  <SyncopeRole_entitlements entitlement="USER_LIST" role_id="1"/>
  <SyncopeRole_entitlements entitlement="USER_SEARCH" role_id="1"/>
  <SyncopeRole_Realm role_id="1" realm_id="2"/>
  <SyncopeRole_Realm role_id="1" realm_id="3"/>
  
  <SyncopeRole id="2" name="User manager"/>
  <SyncopeRole_entitlements entitlement="USER_READ" role_id="2"/>
  <SyncopeRole_entitlements entitlement="USER_LIST" role_id="2"/>
  <SyncopeRole_entitlements entitlement="USER_SEARCH" role_id="2"/>
  <SyncopeRole_entitlements entitlement="WORKFLOW_FORM_CLAIM" role_id="2"/>
  <SyncopeRole_entitlements entitlement="WORKFLOW_FORM_SUBMIT" role_id="2"/>
  <SyncopeRole_Realm role_id="2" realm_id="1"/>

  <SyncopeRole id="3" name="Other"/>
  <SyncopeRole_entitlements entitlement="SCHEMA_READ" role_id="3"/>
  <SyncopeRole_entitlements entitlement="GROUP_READ" role_id="3"/>
  <SyncopeRole_entitlements entitlement="WORKFLOW_FORM_CLAIM" role_id="3"/>
  <SyncopeRole_Realm role_id="3" realm_id="2"/>
  
  <SyncopeRole id="4" name="Search for /even/two"/>
  <SyncopeRole_entitlements entitlement="USER_READ" role_id="4"/>
  <SyncopeRole_entitlements entitlement="USER_SEARCH" role_id="4"/>
  <SyncopeRole_Realm role_id="4" realm_id="4"/>

  <SyncopeUser id="1" workflowId="4" status="active" password="5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8" cipherAlgorithm="SHA1"
               realm_id="3"
Loading
Loading full blame...