I would try removing lowercase-comparisons="false" or try changing publicpages to publicPages.
Matt On Fri, Mar 20, 2009 at 11:32 AM, Hugo M. <[email protected]> wrote: > > Of course, mi security.xml it's right now like this: > > <http auto-config="true" lowercase-comparisons="false"> > <!--intercept-url pattern="/images/*" filters="none"/> > <intercept-url pattern="/styles/*" filters="none"/> > <intercept-url pattern="/scripts/*" filters="none"/> > <intercept-url pattern="/publicpages/*" filters="none"/--> > <intercept-url pattern="/publicpages/*" access="ROLE_ANONYMOUS"/> > <intercept-url pattern="/admin/*" access="ROLE_ADMIN"/> > <intercept-url pattern="/passwordHint.html*" > access="ROLE_ANONYMOUS,ROLE_ADMIN,ROLE_USER"/> > <intercept-url pattern="/signup.html*" > access="ROLE_ANONYMOUS,ROLE_ADMIN,ROLE_USER"/> > <intercept-url pattern="/a4j.res/*.html*" > access="ROLE_ANONYMOUS,ROLE_ADMIN,ROLE_USER"/> > <!-- APF-737, OK to remove line below if you're not using JSF --> > <intercept-url pattern="/**/*.html*" access="ROLE_ADMIN,ROLE_USER"/> > <form-login login-page="/login.jsp" > authentication-failure-url="/login.jsp?error=true" > login-processing-url="/j_security_check"/> > <remember-me user-service-ref="userDao" > key="e37f4b31-0c45-11dd-bd0b-0800200c9a66"/> > </http> > > > > > mraible wrote: > > > > Can you post the relevant section of your security.xml? > > > > Matt > > > > On Fri, Mar 20, 2009 at 9:57 AM, Hugo M. <[email protected]> wrote: > > > >> > >> Hello everyone: > >> > >> I'm using the struts2 modular archetype, and i'm trying to create some > >> jsp's > >> that are in a folder wich i need to be access without authentication. I > >> still have another pages that will be restricted only for users. > >> > >> I've tried putting this: > >> <intercept-url pattern="/publicPages/*" filters="none"/> > >> > >> and > >> > >> <intercept-url pattern="/publicPages/*" access="ROLE_ANONYMOUS"/> > >> > >> in security.xml, but it doesn't seem to work. Plus, the actions that > send > >> to > >> this pages are defined in struts.xml in a package name publicPages. > >> > >> Hope someone can help me. > >> > >> Regards. > >> > >> Hugo Meyer > >> -- > >> View this message in context: > >> > http://www.nabble.com/creating-jsp%27s-that-are-public%2C-don%27t-need-to-login-tp22622163s2369p22622163.html > >> Sent from the AppFuse - User mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/creating-jsp%27s-that-are-public%2C-don%27t-need-to-login-tp22622163s2369p22625161.html > Sent from the AppFuse - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
