Hi Asanka, +1 for use password validation property in the user-mgt.xml, its more versatile.
On Thu, Sep 25, 2014 at 12:08 PM, Asanka Dissanayake <[email protected]> wrote: > Hi All, > IMHO password validation should be customizable, > I think the properties > <Property name="PasswordJavaRegEx">^[\S]{5,30}$</Property> > <Property > name="PasswordJavaScriptRegEx">^[\S]{5,30}$</Property> > in user-mgt.xml should be used to validate the password. property names > implies the places that particular regular expression should be used. So > when it comes to BE, *PasswordJavaRegEx* should be used. > > > Thanks, > Asanka D > > > > On Thu, Sep 25, 2014 at 11:33 AM, Godwin Amila Shrimal <[email protected]> > wrote: > >> Hi Dhanushka, >> >> +1, Yes. In both scenario currently it checked the length in front end >> and I think its not reliable. >> >> On Thu, Sep 25, 2014 at 11:09 AM, Danushka Fernando <[email protected]> >> wrote: >> >>> Goodwin >>> +1 for same validation. IMHO it should be in back end. So whole platform >>> will eventually use it. WDYT? >>> On Sep 25, 2014 10:52 AM, "Godwin Amila Shrimal" <[email protected]> >>> wrote: >>> >>>> Hi, >>>> >>>> In all WSO2 Carbon product it validates admin password length as at >>>> least 6 characters long when add *Tenant*, But in AppFactory admin >>>> password minimum character length is 5. Any reason for this ? I think we >>>> have to perform same validation on this as well. >>>> >>>> >>>> Thanks >>>> Godwin >>>> >>>> >>>> >>>> -- >>>> *Godwin Amila Shrimal* >>>> Senior Software Engineer >>>> WSO2 Inc.; http://wso2.com >>>> lean.enterprise.middleware >>>> >>>> mobile: *+94772264165* >>>> linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>* >>>> twitter: https://twitter.com/godwinamila >>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> [email protected] >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >> >> >> -- >> *Godwin Amila Shrimal* >> Senior Software Engineer >> WSO2 Inc.; http://wso2.com >> lean.enterprise.middleware >> >> mobile: *+94772264165* >> linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>* >> twitter: https://twitter.com/godwinamila >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > > > *Asanka DissanayakeSoftware Engineer* > *WSO2 Inc. - lean . enterprise . middleware | wso2.com <http://wso2.com/>* > > *email: [email protected] <[email protected]>, blog: > cyberwaadiya.blogspot.com > <http://cyberwaadiya.blogspot.com>, asankastechtalks.wordpress.com > <http://asankastechtalks.wordpress.com> mobile: +94 71 8373821* > -- *Godwin Amila Shrimal* Senior Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94772264165* linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>* twitter: https://twitter.com/godwinamila
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
