Hi Senaka, On Sat, Feb 4, 2012 at 7:49 PM, Nirmal Fernando <[email protected]> wrote:
> Hi Senaka, > > On Sat, Feb 4, 2012 at 5:50 PM, Senaka Fernando <[email protected]> wrote: > >> Hi Nirmal, Dimuthu, >> >> In that case add it to CarbonBaseUtils in carbon.base. >> > There's a problem when using carbon.base. In order to read 'user-mgt.xml', as far as I see, I need to use following classes: RealmConfiguration : user.api UserCoreConstants : user.core RealmConfigXMLProcessor : user.core UserStoreException : user.core Thus, adding these dependencies to carbon.base arises cyclic dependencies. So, I think validation should be done at the CarbonUIUtil. WDYT? > > Will use it then, thanks! > >> >> 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 >> user.core. Carbon Base was designed to be the lowest in all of Carbon, >> making it possible for any other bundle to use it. >> >> Thanks, >> Senaka. >> >> >> On Sat, Feb 4, 2012 at 4:28 PM, Dimuthu Leelarathne <[email protected]>wrote: >> >>> 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 <[email protected]> wrote: >>> >>>> >>>> >>>> On Sat, Feb 4, 2012 at 2:37 PM, Senaka Fernando <[email protected]>wrote: >>>> >>>>> >>>>> >>>>> On Sat, Feb 4, 2012 at 2:01 PM, Afkham Azeez <[email protected]> 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, will have a look! >>>> >>>> >>>>> >>>>> Thanks, >>>>> Senaka. >>>>> >>>>>> -- >>>>>> Afkham Azeez >>>>>> Sent from my phone >>>>>> On Feb 4, 2012 11:49 AM, "Nirmal Fernando" <[email protected]> wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> On Mon, Jan 30, 2012 at 9:24 AM, Afkham Azeez <[email protected]>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 registry component)? or Is >>>>>>> there a more suitable place? >>>>>>> >>>>>>> -- >>>>>>>> Afkham Azeez >>>>>>>> Sent from my phone >>>>>>>> On Jan 28, 2012 10:27 AM, "Nirmal Fernando" <[email protected]> >>>>>>>> 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 pop up, when u enter a <5 character password). >>>>>>>>> >>>>>>>>> Is this a design decision? If we have this inconsistency isn't it >>>>>>>>> better to add a tip mentioning minimum password length requirement >>>>>>>>> when you >>>>>>>>> create a new user. >>>>>>>>> >>>>>>>>> PS: this is related to issue at >>>>>>>>> https://wso2.org/jira/browse/CARBON-12290 >>>>>>>>> >>>>>>>>> Thanks >>>>>>>>> >>>>>>>>> -- >>>>>>>>> >>>>>>>>> regards, >>>>>>>>> Nirmal >>>>>>>>> >>>>>>>>> Software Engineer, WSO2 Inc. >>>>>>>>> mobile: +94715779733 >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> Carbon-dev mailing list >>>>>>>>> [email protected] >>>>>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>>>>>>> >>>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Carbon-dev mailing list >>>>>>>> [email protected] >>>>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> Thanks & regards, >>>>>>> Nirmal >>>>>>> >>>>>>> Software Engineer- Platform, WSO2 Inc. >>>>>>> Mobile: +94715779733 >>>>>>> Blog: http://nirmalfdo.blogspot.com/ >>>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> *Senaka Fernando* >>>>> Product Manager - WSO2 Governance Registry; >>>>> Associate Technical Lead; WSO2 Inc.; http://wso2.com* >>>>> Member; Apache Software Foundation; http://apache.org >>>>> >>>>> E-mail: senaka AT wso2.com >>>>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 >>>>> Linked-In: http://linkedin.com/in/senakafernando >>>>> >>>>> *Lean . Enterprise . Middleware >>>>> >>>>> >>>> >>>> >>>> -- >>>> >>>> Thanks & regards, >>>> Nirmal >>>> >>>> Software Engineer- Platform, WSO2 Inc. >>>> Mobile: +94715779733 >>>> Blog: http://nirmalfdo.blogspot.com/ >>>> >>>> _______________________________________________ >>>> Carbon-dev mailing list >>>> [email protected] >>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>> >>>> >>> >>> >>> -- >>> Dimuthu Leelarathne >>> Technical Lead >>> >>> WSO2, Inc. (http://wso2.com) >>> email: >>> [email protected] >>> >>> Lean . Enterprise . Middleware >>> >>> >> >> >> -- >> *Senaka Fernando* >> Product Manager - WSO2 Governance Registry; >> Associate Technical Lead; WSO2 Inc.; http://wso2.com* >> Member; Apache Software Foundation; http://apache.org >> >> E-mail: senaka AT wso2.com >> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 >> Linked-In: http://linkedin.com/in/senakafernando >> >> *Lean . Enterprise . Middleware >> >> >> _______________________________________________ >> Carbon-dev mailing list >> [email protected] >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > -- > > Thanks & regards, > Nirmal > > Software Engineer- Platform, WSO2 Inc. > Mobile: +94715779733 > Blog: http://nirmalfdo.blogspot.com/ > -- Thanks & regards, Nirmal Software Engineer- Platform, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
