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

<dataset>
  <SyncopeConf confKey="password.cipher.algorithm" confValue="SHA1"/>
  <SyncopeConf confKey="smtp.host" confValue="not-existing"/>
  <SyncopeConf confKey="smtp.port" confValue="25"/>
  <!-- notificationjob.cronExpression:
  + not existing: NotificationJob runs according to Notification.DEFAULT_CRON_EXP
  + provided as empty string: NotificationJob disabled
  + provided as non-empty string: NotificationJob runs according to the given value -->
  <SyncopeConf confKey="notificationjob.cronExpression" confValue=""/>
  <SyncopeConf confKey="token.length" confValue="256"/>
  <SyncopeConf confKey="token.expireTime" confValue="60"/>
  <SyncopeConf confKey="createRequest.allowed" confValue="true"/>
  <SyncopeConf confKey="notification.maxRetries" confValue="3"/>
  <!-- when needing to provide more values, use '|' as separator and no spaces -->
  <SyncopeConf confKey="authentication.statuses" confValue="created|active"/>


  <Policy DTYPE="SyncPolicy" id="1" description="sync policy 1" type="GLOBAL_SYNC" specification="%3Corg.apache.syncope.common.types.SyncPolicySpec%2F%3E"/>
  <Policy DTYPE="PasswordPolicy" id="2" description="global password policy" type="GLOBAL_PASSWORD" specification="%3Corg.apache.syncope.common.types.PasswordPolicySpec%3E%0A++%3ChistoryLength%3E1%3C%2FhistoryLength%3E%0A++%3CmaxLength%3E0%3C%2FmaxLength%3E%0A++%3CminLength%3E8%3C%2FminLength%3E%0A++%3CnonAlphanumericRequired%3Efalse%3C%2FnonAlphanumericRequired%3E%0A++%3CalphanumericRequired%3Efalse%3C%2FalphanumericRequired%3E%0A++%3CdigitRequired%3Efalse%3C%2FdigitRequired%3E%0A++%3ClowercaseRequired%3Efalse%3C%2FlowercaseRequired%3E%0A++%3CuppercaseRequired%3Efalse%3C%2FuppercaseRequired%3E%0A++%3CmustStartWithDigit%3Efalse%3C%2FmustStartWithDigit%3E%0A++%3CmustntStartWithDigit%3Efalse%3C%2FmustntStartWithDigit%3E%0A++%3CmustEndWithDigit%3Efalse%3C%2FmustEndWithDigit%3E%0A++%3CmustntEndWithDigit%3Efalse%3C%2FmustntEndWithDigit%3E%0A++%3CmustStartWithNonAlpha%3Efalse%3C%2FmustStartWithNonAlpha%3E%0A++%3CmustStartWithAlpha%3Efalse%3C%2FmustStartWithAlpha%3E%0A++%3CmustntStartWithNonAlpha%3Efalse%3C%2FmustntStartWithNonAlpha%3E%0A++%3CmustntStartWithAlpha%3Efalse%3C%2FmustntStartWithAlpha%3E%0A++%3CmustEndWithNonAlpha%3Efalse%3C%2FmustEndWithNonAlpha%3E%0A++%3CmustEndWithAlpha%3Efalse%3C%2FmustEndWithAlpha%3E%0A++%3CmustntEndWithNonAlpha%3Efalse%3C%2FmustntEndWithNonAlpha%3E%0A++%3CmustntEndWithAlpha%3Efalse%3C%2FmustntEndWithAlpha%3E%0A++%3CprefixesNotPermitted%3E%0A++++%3Cstring%3Enotpermitted1%3C%2Fstring%3E%0A++++%3Cstring%3Enotpermitted2%3C%2Fstring%3E%0A++%3C%2FprefixesNotPermitted%3E%0A%3C%2Forg.apache.syncope.common.types.PasswordPolicySpec%3E"/>
  <Policy DTYPE="AccountPolicy" id="5" description="global account policy" type="GLOBAL_ACCOUNT" specification="%3Corg.apache.syncope.common.types.AccountPolicySpec%3E%0A++%3CmaxLength%3E0%3C%2FmaxLength%3E%0A++%3CminLength%3E0%3C%2FminLength%3E%0A++%3CallUpperCase%3Efalse%3C%2FallUpperCase%3E%0A++%3CallLowerCase%3Efalse%3C%2FallLowerCase%3E%0A++%3CpropagateSuspension%3Efalse%3C%2FpropagateSuspension%3E%0A++%3CpermittedLoginRetries%3E0%3C%2FpermittedLoginRetries%3E%0A%3C%2Forg.apache.syncope.common.types.AccountPolicySpec%3E"/>

<!--   
  <Policy DTYPE="SyncPolicy" id="1" description="Global Sync Policy" type="GLOBAL_SYNC"
    specification="%3Corg.apache.syncope.common.types.SyncPolicySpec%2F%3E" />
  <Policy DTYPE="PasswordPolicy" id="2" description="Global Password Policy" type="GLOBAL_PASSWORD"
    specification="%3Corg.apache.syncope.common.types.PasswordPolicySpec%3E%0A++%3ChistoryLength%3E0%3C%2FhistoryLength%3E%0A++%3CmaxLength%3E0%3C%2FmaxLength%3E%0A++%3CminLength%3E0%3C%2FminLength%3E%0A++%3CnonAlphanumericRequired%3Efalse%3C%2FnonAlphanumericRequired%3E%0A++%3CalphanumericRequired%3Efalse%3C%2FalphanumericRequired%3E%0A++%3CdigitRequired%3Efalse%3C%2FdigitRequired%3E%0A++%3ClowercaseRequired%3Efalse%3C%2FlowercaseRequired%3E%0A++%3CuppercaseRequired%3Efalse%3C%2FuppercaseRequired%3E%0A++%3CmustStartWithDigit%3Efalse%3C%2FmustStartWithDigit%3E%0A++%3CmustntStartWithDigit%3Efalse%3C%2FmustntStartWithDigit%3E%0A++%3CmustEndWithDigit%3Efalse%3C%2FmustEndWithDigit%3E%0A++%3CmustntEndWithDigit%3Efalse%3C%2FmustntEndWithDigit%3E%0A++%3CmustStartWithNonAlpha%3Efalse%3C%2FmustStartWithNonAlpha%3E%0A++%3CmustStartWithAlpha%3Efalse%3C%2FmustStartWithAlpha%3E%0A++%3CmustntStartWithNonAlpha%3Efalse%3C%2FmustntStartWithNonAlpha%3E%0A++%3CmustntStartWithAlpha%3Efalse%3C%2FmustntStartWithAlpha%3E%0A++%3CmustEndWithNonAlpha%3Efalse%3C%2FmustEndWithNonAlpha%3E%0A++%3CmustEndWithAlpha%3Efalse%3C%2FmustEndWithAlpha%3E%0A++%3CmustntEndWithNonAlpha%3Efalse%3C%2FmustntEndWithNonAlpha%3E%0A++%3CmustntEndWithAlpha%3Efalse%3C%2FmustntEndWithAlpha%3E%0A%3C%2Forg.apache.syncope.types.PasswordPolicySpec%3E" />
  <Policy DTYPE="AccountPolicy" id="3" description="Global Account Policy" type="GLOBAL_ACCOUNT"
    specification="%3Corg.apache.syncope.common.types.AccountPolicySpec%3E%0A++%3CmaxLength%3E0%3C%2FmaxLength%3E%0A++%3CminLength%3E0%3C%2FminLength%3E%0A++%3CallUpperCase%3Efalse%3C%2FallUpperCase%3E%0A++%3CallLowerCase%3Efalse%3C%2FallLowerCase%3E%0A++%3CpropagateSuspension%3Efalse%3C%2FpropagateSuspension%3E%0A++%3CpermittedLoginRetries%3E0%3C%2FpermittedLoginRetries%3E%0A%3C%2Forg.apache.syncope.types.AccountPolicySpec%3E" />

-->  
    
  <SyncopeRole id="1" name="applications" />
  <SyncopeRole id="2" name="organizations" />
  
  <SyncopeRole id="3" name="ROLE_ORG" parent_id="1" />
  <SyncopeRole id="4" name="member" parent_id="3" />
  <SyncopeRole id="5" name="administrator" parent_id="3" />
  
  <SyncopeRole id="6" name="ROLE_ORG" parent_id="2" />
               
  <USchema name="firstname" type="String" mandatoryCondition="true" multivalue="0"
    uniqueConstraint="0" readonly="0" />
  <USchema name="surname" type="String" mandatoryCondition="true" multivalue="0"
    uniqueConstraint="0" readonly="0" />
  <USchema name="email" type="String" mandatoryCondition="false" multivalue="0"
    uniqueConstraint="0" readonly="0" />
  <USchema name="phone" type="String" mandatoryCondition="false" multivalue="0"
    uniqueConstraint="0" readonly="0" />
  <USchema name="description" type="String" mandatoryCondition="false" multivalue="0"
    uniqueConstraint="0" readonly="0" />
  <USchema name="clientUniqueId" type="String" mandatoryCondition="false" multivalue="0"
    uniqueConstraint="0" readonly="0" />
  <USchema name="resetPassword" type="Boolean" mandatoryCondition="false" multivalue="0"
    uniqueConstraint="0" readonly="0" />

  <UDerSchema name="fullname" expression="firstname + '.' + surname" />

  <RSchema name="passwordExpireTime" type="Long"
           mandatoryCondition="false" multivalue="0" uniqueConstraint="0" readonly="0" />
                
  <MSchema name="subscriptionDate" type="Date" mandatoryCondition="false" multivalue="0"
    uniqueConstraint="0" readonly="0" conversionPattern="yyyy-MM-dd'T'HH:mm:ss.SSSZ" />

  <Entitlement name="SCHEMA_CREATE"/>
  <Entitlement name="SCHEMA_READ"/>
  <Entitlement name="SCHEMA_UPDATE"/>
  <Entitlement name="SCHEMA_DELETE"/>
  <Entitlement name="USER_LIST"/>
  <Entitlement name="USER_CREATE"/>
  <Entitlement name="USER_READ"/>
  <Entitlement name="USER_UPDATE"/>
  <Entitlement name="USER_DELETE"/>
  <Entitlement name="USER_VIEW"/>
  <Entitlement name="ROLE_CREATE"/>
  <Entitlement name="ROLE_READ"/>
  <Entitlement name="ROLE_UPDATE"/>
  <Entitlement name="ROLE_DELETE"/>
  <Entitlement name="RESOURCE_CREATE"/>
  <Entitlement name="RESOURCE_READ"/>
  <Entitlement name="RESOURCE_UPDATE"/>
  <Entitlement name="RESOURCE_DELETE"/>
  <Entitlement name="RESOURCE_GETCONNECTOROBJECT"/>
  <Entitlement name="CONNECTOR_LIST"/>
  <Entitlement name="CONNECTOR_CREATE"/>
  <Entitlement name="CONNECTOR_READ"/>
  <Entitlement name="CONNECTOR_UPDATE"/>
  <Entitlement name="CONNECTOR_DELETE"/>
  <Entitlement name="CONNECTOR_RELOAD"/>
  <Entitlement name="CONFIGURATION_LIST"/>
  <Entitlement name="CONFIGURATION_CREATE"/>
  <Entitlement name="CONFIGURATION_READ"/>
  <Entitlement name="CONFIGURATION_UPDATE"/>
  <Entitlement name="CONFIGURATION_DELETE"/>
  <Entitlement name="TASK_CREATE"/>
  <Entitlement name="TASK_LIST"/>
  <Entitlement name="TASK_EXECUTE"/>
  <Entitlement name="TASK_READ"/>
  <Entitlement name="TASK_UPDATE"/>
  <Entitlement name="TASK_DELETE"/>
  <Entitlement name="POLICY_CREATE"/>
  <Entitlement name="POLICY_LIST"/>
  <Entitlement name="POLICY_READ"/>
  <Entitlement name="POLICY_UPDATE"/>
  <Entitlement name="POLICY_DELETE"/>
  <Entitlement name="WORKFLOW_DEF_READ"/>
  <Entitlement name="WORKFLOW_DEF_UPDATE"/>
  <Entitlement name="WORKFLOW_TASK_LIST"/> 
  <Entitlement name="WORKFLOW_FORM_LIST"/>
  <Entitlement name="WORKFLOW_FORM_READ"/>
  <Entitlement name="WORKFLOW_FORM_CLAIM"/>
  <Entitlement name="WORKFLOW_FORM_SUBMIT"/>
  <Entitlement name="NOTIFICATION_LIST"/>
  <Entitlement name="NOTIFICATION_CREATE"/>
  <Entitlement name="NOTIFICATION_READ"/>
  <Entitlement name="NOTIFICATION_UPDATE"/>
  <Entitlement name="NOTIFICATION_DELETE"/>
  <Entitlement name="USER_REQUEST_LIST"/>
  <Entitlement name="USER_REQUEST_READ"/>
  <Entitlement name="USER_REQUEST_DELETE"/>
  <Entitlement name="REPORT_LIST"/>
  <Entitlement name="REPORT_READ"/>
  <Entitlement name="REPORT_CREATE"/>
  <Entitlement name="REPORT_UPDATE"/>
  <Entitlement name="REPORT_DELETE"/>
  <Entitlement name="REPORT_EXECUTE"/>
  <Entitlement name="LOG_LIST"/>
  <Entitlement name="LOG_SET_LEVEL"/>
  <Entitlement name="LOG_DELETE"/>
  <Entitlement name="AUDIT_LIST"/>
  <Entitlement name="AUDIT_ENABLE"/>
  <Entitlement name="AUDIT_DISABLE"/>

</dataset>
