Hi, I was trying to get email as the username for IS on a default LDAP and I was following doc [1].
But I was getting the following error, "Could not add user PRIMARY/[email protected]. Error is: Username [email protected] is not valid. User name must be a non null string with following format, [a-zA-Z0-9._-|//]{3,30}$" ,when I was trying to create user with the username "[email protected]". To overcome this, I had to change the "UsernameJavaRegEx" to this, <Property name="UsernameJavaRegEx">^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$</Property> I think this is intuitive to do! but isn't this a necessary config? Its not mentioned in the docs [1] Best [1] https://docs.wso2.com/display/IS520/Using+Email+Address+as+the+Username -- *Niranda Perera* Software Engineer, WSO2 Inc. Mobile: +94-71-554-8430 Twitter: @n1r44 <https://twitter.com/N1R44> https://pythagoreanscript.wordpress.com/
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
