I was trying to get email as the username for IS on a default LDAP and I
was following doc .
But I was getting the following error,
"Could not add user PRIMARY/d...@ddd.com. Error is: Username d...@ddd.com is
not valid. User name must be a non null string with following format,
,when I was trying to create user with the username "d...@ddd.com".
To overcome this, I had to change the "UsernameJavaRegEx" to this,
I think this is intuitive to do! but isn't this a necessary config? Its not
mentioned in the docs 
Software Engineer, WSO2 Inc.
Twitter: @n1r44 <https://twitter.com/N1R44>
Dev mailing list