syncope-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guido Wimmel" <guido.wim...@gmx.net>
Subject AccountPolicyEnforcer / allowed characters in username
Date Fri, 02 Aug 2013 08:22:48 GMT

Hi,
 
is there a specific reason for the particular fixed choice of characters allowed in Syncope
usernames?
( AccountPolicyEnforcer.PATTERN = Pattern.compile("[a-zA-Z0-9-_@. ]+"); )

We use email addresses as usernames, so we had create our own modified copy of AccountPolicyEnforcer
to extend the pattern
(e.g. allowing the '+' sign).

Maybe this could also be made configurable by extending AccountPolicySpec? (I could possibly
try and provide a patch)

Cheers,
  Guido

Mime
View raw message