Re: [Carbon-dev] Inconsistencies in minimum password length requirement

2012-02-05 Thread Nirmal Fernando
Hi Senaka, On Sat, Feb 4, 2012 at 7:49 PM, Nirmal Fernando nir...@wso2.com wrote: Hi Senaka, On Sat, Feb 4, 2012 at 5:50 PM, Senaka Fernando sen...@wso2.com wrote: Hi Nirmal, Dimuthu, In that case add it to CarbonBaseUtils in carbon.base. There's a problem when using carbon.base. In

Re: [Carbon-dev] Inconsistencies in minimum password length requirement

2012-02-05 Thread Senaka Fernando
Hi Nirmal, Oh, I didn't realize that you had to access user-mgt.xml. Sorry about that. Please go ahead with Dimuthu's suggestion in that case to use UserCoreUtil. Thanks, Senaka. On Sun, Feb 5, 2012 at 9:57 PM, Nirmal Fernando nir...@wso2.com wrote: Hi Senaka, On Sat, Feb 4, 2012 at 7:49

Re: [Carbon-dev] Inconsistencies in minimum password length requirement

2012-02-05 Thread Nirmal Fernando
On Sun, Feb 5, 2012 at 10:10 PM, Senaka Fernando sen...@wso2.com wrote: Hi Nirmal, Oh, I didn't realize that you had to access user-mgt.xml. Sorry about that. No problem! :) Please go ahead with Dimuthu's suggestion in that case to use UserCoreUtil. Thanks, Senaka. On Sun, Feb 5,

Re: [Carbon-dev] Inconsistencies in minimum password length requirement

2012-02-04 Thread Afkham Azeez
No, that's not the correct bundle. May be a method in CarbonUtil would do -- Afkham Azeez Sent from my phone On Feb 4, 2012 11:49 AM, Nirmal Fernando nir...@wso2.com wrote: Hi, On Mon, Jan 30, 2012 at 9:24 AM, Afkham Azeez az...@wso2.com wrote: Please fix this to do the password

Re: [Carbon-dev] Inconsistencies in minimum password length requirement

2012-02-04 Thread Senaka Fernando
On Sat, Feb 4, 2012 at 2:01 PM, Afkham Azeez az...@wso2.com wrote: No, that's not the correct bundle. May be a method in CarbonUtil would do +1. For cross-cutting concerns use CarbonUtil and CarbonUIUtil. Thanks, Senaka. -- Afkham Azeez Sent from my phone On Feb 4, 2012 11:49 AM,

Re: [Carbon-dev] Inconsistencies in minimum password length requirement

2012-02-04 Thread Dimuthu Leelarathne
Hi Nirmal, By design the password length of Carbon platform is configurable. Please have a look at user-mgt.xml Property name=PasswordJavaScriptRegEx[\\S]{5,30}/Property Since Java and JS use slightly different ways for expressing regular expressions there should be another attribute in

Re: [Carbon-dev] Inconsistencies in minimum password length requirement

2012-02-04 Thread Nirmal Fernando
Hi Dimuthu, On Sat, Feb 4, 2012 at 2:40 PM, Dimuthu Leelarathne dimut...@wso2.comwrote: Hi Nirmal, By design the password length of Carbon platform is configurable. Please have a look at user-mgt.xml Property name=PasswordJavaScriptRegEx[\\S]{5,30}/Property Since Java and JS use

Re: [Carbon-dev] Inconsistencies in minimum password length requirement

2012-02-04 Thread Nirmal Fernando
On Sat, Feb 4, 2012 at 2:37 PM, Senaka Fernando sen...@wso2.com wrote: On Sat, Feb 4, 2012 at 2:01 PM, Afkham Azeez az...@wso2.com wrote: No, that's not the correct bundle. May be a method in CarbonUtil would do +1. For cross-cutting concerns use CarbonUtil and CarbonUIUtil. Thanks,

Re: [Carbon-dev] Inconsistencies in minimum password length requirement

2012-02-04 Thread Dimuthu Leelarathne
Hi Nirmal, One more thing. You cannot add a dependency of CarbonUtils to User.Core, it will create a cyclic dependency. So I would look at adding it to UserCoreUtil and CarbonUIUtil. thanks, dimuthu On Sat, Feb 4, 2012 at 2:55 PM, Nirmal Fernando nir...@wso2.com wrote: On Sat, Feb 4, 2012

Re: [Carbon-dev] Inconsistencies in minimum password length requirement

2012-02-04 Thread Senaka Fernando
Hi Nirmal, Dimuthu, In that case add it to CarbonBaseUtils in carbon.base. The reason for introducing carbon.base is to exactly address the problem you are expressing, where utils actually depends on some low-level bundles in carbon, and therefore can't be used by lower-layer bundles such as

Re: [Carbon-dev] Inconsistencies in minimum password length requirement

2012-02-04 Thread Nirmal Fernando
Hi Senaka, On Sat, Feb 4, 2012 at 5:50 PM, Senaka Fernando sen...@wso2.com wrote: Hi Nirmal, Dimuthu, In that case add it to CarbonBaseUtils in carbon.base. Will use it then, thanks! The reason for introducing carbon.base is to exactly address the problem you are expressing, where utils

Re: [Carbon-dev] Inconsistencies in minimum password length requirement

2012-02-03 Thread Nirmal Fernando
Hi, On Mon, Jan 30, 2012 at 9:24 AM, Afkham Azeez az...@wso2.com wrote: Please fix this to do the password requirements validation from a single place. The length should be the same in all cases. Will it be right to do the password validation at org.wso2.carbon.registry.common.ui (inside

Re: [Carbon-dev] Inconsistencies in minimum password length requirement

2012-01-29 Thread Afkham Azeez
Please fix this to do the password requirements validation from a single place. The length should be the same in all cases. -- Afkham Azeez Sent from my phone On Jan 28, 2012 10:27 AM, Nirmal Fernando nir...@wso2.com wrote: Hi, When you create a new domain in Stratos minimum password length

[Carbon-dev] Inconsistencies in minimum password length requirement

2012-01-27 Thread Nirmal Fernando
Hi, When you create a new domain in Stratos minimum password length requirement is 6, but after logged in when you adding a new user minimum password length requirement is 5 (which can only be seen in the error message pop up, when u enter a 5 character password). Is this a design decision? If

Re: [Carbon-dev] Inconsistencies in minimum password length requirement

2012-01-27 Thread Kathiravelu Pradeeban
On Sat, Jan 28, 2012 at 10:27 AM, Nirmal Fernando nir...@wso2.com wrote: Hi, When you create a new domain in Stratos minimum password length requirement is 6, but after logged in when you adding a new user minimum password length requirement is 5 (which can only be seen in the error message