You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by co...@apache.org on 2013/02/19 16:36:00 UTC

svn commit: r1447768 - /syncope/trunk/core/src/main/resources/content.xml

Author: coheigea
Date: Tue Feb 19 15:36:00 2013
New Revision: 1447768

URL: http://svn.apache.org/r1447768
Log:
Providing a more minimal configuration in the Syncope "main" content.xml

Modified:
    syncope/trunk/core/src/main/resources/content.xml

Modified: syncope/trunk/core/src/main/resources/content.xml
URL: http://svn.apache.org/viewvc/syncope/trunk/core/src/main/resources/content.xml?rev=1447768&r1=1447767&r2=1447768&view=diff
==============================================================================
--- syncope/trunk/core/src/main/resources/content.xml (original)
+++ syncope/trunk/core/src/main/resources/content.xml Tue Feb 19 15:36:00 2013
@@ -20,38 +20,10 @@ under the License.
 <dataset>
   <SyncopeConf confKey="connid.bundles.directory" confValue="${bundles.directory}"/>
   <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="0 0/5 * * * ?"/>
   <SyncopeConf confKey="token.length" confValue="256"/>
   <SyncopeConf confKey="token.expireTime" confValue="60"/>
   <SyncopeConf confKey="createRequest.allowed" confValue="true"/>
     
-  <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%3Efals
 e%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.common.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.common.types.AccountPolicySpec%3E"/>
-    
-  <USchema name="surname" type="String"
-           mandatoryCondition="true" multivalue="0" uniqueConstraint="0" readonly="0"/>
-  <USchema name="firstname" type="String"
-           mandatoryCondition="false" multivalue="0" uniqueConstraint="0" readonly="0"/>
-  <USchema name="email" type="String"
-           mandatoryCondition="false" multivalue="1" uniqueConstraint="0" readonly="0"
-           validatorClass="org.apache.syncope.core.persistence.validation.attrvalue.EmailAddressValidator"/>
-               
-  <UDerSchema name="fullname" expression="firstname + '.' + surname"/>
-
-  <MSchema name="subscriptionDate" type="Date"
-           mandatoryCondition="false" multivalue="0" uniqueConstraint="0" readonly="0"
-           conversionPattern="yyyy-MM-dd'T'HH:mm:ss.SSSZ"/>
-
   <!-- Authentication and authorization -->
   <Entitlement name="SCHEMA_CREATE"/>
   <Entitlement name="SCHEMA_READ"/>



Re: svn commit: r1447768 - /syncope/trunk/core/src/main/resources/content.xml

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 19/02/2013 16:49, Colm O hEigeartaigh wrote:
> Ok can revert - but why are they needed if you are not intending to create
> any notification jobs?

The SMTP stuff is needed not only for notifications, it is a general 
conf param.

About notification cron expression, if you remove that comment and 
property, we should be sure to add this information in the wiki page [1].

Regards.

[1] https://cwiki.apache.org/confluence/display/SYNCOPE/Notifications

> On Tue, Feb 19, 2013 at 3:43 PM, Francesco Chicchiriccò <ilgrosso@apache.org
>> wrote:
>> These are needed, indeed:
>>
>> -  <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="0
>> 0/5 * * * ?"/>

-- 
Francesco Chicchiriccò

ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/


Re: svn commit: r1447768 - /syncope/trunk/core/src/main/resources/content.xml

Posted by Colm O hEigeartaigh <co...@apache.org>.
Ok can revert - but why are they needed if you are not intending to create
any notification jobs?

Colm.

On Tue, Feb 19, 2013 at 3:43 PM, Francesco Chicchiriccò <ilgrosso@apache.org
> wrote:

> These are needed, indeed:
>
> -  <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="0
> 0/5 * * * ?"/>
>
> --
> Francesco Chicchiriccò
>
> ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
> http://people.apache.org/~**ilgrosso/<http://people.apache.org/~ilgrosso/>
>
>


-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Re: svn commit: r1447768 - /syncope/trunk/core/src/main/resources/content.xml

Posted by Francesco Chicchiriccò <il...@apache.org>.
These are needed, indeed:

-  <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="0 
0/5 * * * ?"/>

-- 
Francesco Chicchiriccò

ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/