On 03/11/2014 23:03, Manfredo Hopp wrote:
Hello, I want to create accounts ids composed only by digits, and get
InvaledUserName as result of
EntityValidationListener.validate.
My guess is that validation is controlled by AccountPolicies where I
can see an entry for regular expressions, which is not documented,
Entering a regular expression doesnt change anithing, so waht is that
item for?
And where can I control name ids?
Hi,
you are right, the pattern option for account policies - introduced with
1.2.0 - is not yet reported at [1].
When you define a policy (account, password, sync) you also need to
configure for which users such policy is going to be applied: if created
as GLOBAL policy it will be applied to all users, otherwise you will
need to associate it to a role or a resource in order to make it
effective (for users owning that role or assigned to that resource,
clearly).
Additional information: when not specified, the pattern for user names
is "[a-zA-Z0-9-_@. ]+".
Could you please provide more details of what you are doing?
Regards.
[1]
https://cwiki.apache.org/confluence/display/SYNCOPE/Policies#Policies-AccountPolicies
--
Francesco Chicchiriccò
Tirasa - Open Source Excellence
http://www.tirasa.net/
Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC
http://people.apache.org/~ilgrosso/