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