Hi all, if we can update user-mgt.xml file from , *<Property name="UsernameJavaRegEx">[a-zA-Z0-9._-|//]{3,30}$</Property> *we can solve that issue (adding an user name with @ mark).
*Current problem is * from where this *user-mgt.xml* comes into our product. ? Can anyone help with this ? Regards On Fri, Feb 19, 2016 at 10:18 PM, Chamila Wijayarathna <cham...@wso2.com> wrote: > [Adding Thanuja] > > Hi Lahiru, > > I recently had a discussion about this with Thanuja. When you don't have > enabled emailUserName, still you should be able to use '@' in user names. > But in that case, you have to mention user name in places (eg-: login) as > username@carbon.super. I guess in your jira also, you should be able to > add user to store if you add @tenant_domain to the end of your username. > > Can you please check like that and update the thread? > > Thank You! > > > On Fri, Feb 19, 2016 at 7:51 PM, Lahiru J Ekanayake <lahi...@wso2.com> > wrote: > >> 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">^[^~!#$;%^*+={}\\|\\\\<>,\'\"]{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. >> >> > > > -- > *Chamila Dilshan Wijayarathna,* > Software Engineer > Mobile:(+94)788193620 > WSO2 Inc., http://wso2.com/ > -- *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