Adnaan

I'm not sure why (do) tested successfully for that regular expression, as
brackets are subexpression operators. Anyway, the regular expression I'd
suggest you try is:

.*do.*

Best regards
Ben 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> On Behalf Of Colin Sampaleanu
> Sent: Thursday, 13 May 2004 5:32 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [Acegisecurity-developer] Acegi Reg Exp usage
> 
> Adnaan,
> 
> You want to trap
>    /userManagement.do
> but if you look at your regex, you are specifying
>   /secure/
> as a prefix. Did you just explain what you meant wrongly, or 
> did you miss the fact that the regex leads off with 'secure'?
> 
> Adnaan Sikandar wrote:
> 
> >Sorry to bother about this trivial question. I am new to regular 
> >expression :)
> >
> >I am trying to secure the struts action servlet by securing 
> all the "do"'s.
> >
> >URL: /userManagement.do?method=listUsers
> >Exp: (do)
> >
> >The above test passes at 
> http://jakarta.apache.org/regexp/applet.html but doesn't when 
> Acegi tests it.
> >
> >Here's my ObjectDefinitionSource:
> >
> >               CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
> >               (do)=ROLE_ADMIN,ROLE_USER
> >               \A/secure/.*\Z=ROLE_ADMIN,ROLE_USER
> >
> >Thanks in advance!
> >Adnaan
> >  
> >
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by Sleepycat Software Learn 
> developer strategies Cisco, Motorola, Ericsson & Lucent use 
> to deliver higher performing products faster, at low TCO.
> http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
> _______________________________________________
> Acegisecurity-developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> 



-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Acegisecurity-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to