Hi,

im working on this JIRRA https://wso2.org/jira/browse/REGISTRY-3249. While
working on this i was able to identify , admin user can add users ,
containing @ mark in user name *(Without enable EnableEmailUserName from
carbon.xml)* such as* a...@wso2.com <a...@wso2.com>.* I was tested with
GREG,ES,APIM also. I have able to identify that is problem with the regex .
GREG,ES,APIM has following property in *user-mgt.xml . *

*<Property
name="UsernameJavaRegEx">^[^~!#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$</Property>*

If we change that into  *<Property
name="UsernameJavaRegEx">[a-zA-Z0-9._-|//]{3,30}$</Property> *Problem can
solve.

Current problem is : from where this user-mgt.xml comes into product. I
have checked with product-greg, carbon-kernal,carbon-indentity. Those
user-mgt.xml's content are different. Currently im trying to modify
user-mgt.xml for *GREG.*


Regards


-- 



*Lahiru J Ekanayake**Software Engineer*
Mobile : +94 (0) 77 8812629 / +94(0) 778509547
Email : lahi...@wso2.com
WSO2, Inc.; http://wso2.com/
lean . enterprise . middleware.
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to