Hi Marco, Thanks for your reply. I hope you can find something fast.
I have indeed a custom content.xml. Find the file attached to this email. It is a relative old copy of the original content.xml file from Syncope. About the user I create: I tried to create the user in Syncope console. Cheers, Ernst 2013/1/24 Marco Di Sabatino Di Diodoro <[email protected]> > Hi ernst, > > For reproduce your problem I need more information about Syncope. > Have you a custom content.xml? You use a Password Policy from the default > content? > > Can you tell me the parameters that you enter to create the user? > > I create/update Password Policy under Configuration but I haven't problem. > > M > > On Jan 24, 2013, at 1:21 PM, ernst Developer wrote: > > > Hi, > > > > I try to use the latest version of syncope (1.1.0-SNAPSHOT). I did a > clean > > build, and installed the latest version. Unfortunately I cannot create > > users anymore. The error message: > > > > Error:{[InvalidSyncopeUser [Entry: InvalidPassword: > > org.apache.syncope.types.PasswordPolicySpec]]} > > > > When I go to the configuration, I get the exception: > > > > Last cause: Argument 'modelObject' may not be null. > > WicketMessage: Error attaching this container for rendering: > > [WebMarkupContainer [Component id = body]] > > > > What should I do to solve these issues? > > > > Kind regards, > > Ernst > > -- > > Dott. Marco Di Sabatino Di Diodoro > Tel. +39 3939065570 > > Tirasa S.r.l. > Viale D'Annunzio 267 - 65127 Pescara > Tel +39 0859116307 / FAX +39 0859111173 > http://www.tirasa.net > > Apache Syncope PMC Member > http://people.apache.org/~mdisabatino > > > > > >
<?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> <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.types.SyncPolicySpec%2F%3E"/> <Policy DTYPE="PasswordPolicy" id="2" description="Global Password Policy" type="GLOBAL_PASSWORD" specification="%3Corg.apache.syncope.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.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"/> <!-- removed for iWelcome --> <!--<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"/> <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_GETOBJECT"/> <Entitlement name="CONNECTOR_LIST"/> <Entitlement name="CONNECTOR_CREATE"/> <Entitlement name="CONNECTOR_READ"/> <Entitlement name="CONNECTOR_UPDATE"/> <Entitlement name="CONNECTOR_DELETE"/> <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>
