Have you tried /Index* instead of /Index**
Martijn On Thu, 2008-08-07 at 14:22 -0700, kace wrote: > The following code isn't working for me - it takes me to login regardless > > <security:intercept-url pattern="/Index**" access="ROLE_ANONYMOUS"/> > <security:intercept-url pattern="/**" access="ROLE_ADMIN,ROLE_USER"/> > > I have something similar in my JSF app and it works but cant replicate here. > > The following won't take me to the login page > > <security:intercept-url pattern="/Index**" access="ROLE_ADMIN,ROLE_USER"/> > > but this does: > > <security:intercept-url pattern="/**" access="ROLE_ADMIN,ROLE_USER"/> > > The only thing I can get this to recognise is the pattern="/**" > > What should the pattern be if I want a specific page directed to login ? > > Thanks > > ..kace --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]