Hi IAM Team,

We have two regex patterns for user names and role names.

1. In the userstore configuration as "UsernameJavaRegex" and
"RolenameJavaRegex".

2. Similarly we have Regex property defined for claims and username -
http://wso2.org/claim/username and role name - http://wso2.org/claims/role
are claims as well.

Can we not have two places to define regex for these two claims? How come
we don't need to define regex for other user attributes in the user store
configuration? Why is username (and role name) special?

Also we have separate Javascript Regex properties for username and role
name. Why don't we have the same for other attributes? If so can't we
introduce that as another claim property to be consistent and easy to
understand for users?

Regards,
Johann.

-- 

*Johann Dilantha Nallathamby*
Senior Lead Solutions Engineer
WSO2, Inc.
lean.enterprise.middleware

Mobile: *+94 77 7776950*
LinkedIn: *http://www.linkedin.com/in/johann-nallathamby
<http://www.linkedin.com/in/johann-nallathamby>*
Medium: *https://medium.com/@johann_nallathamby
<https://medium.com/@johann_nallathamby>*
Twitter: *@dj_nallaa*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to