I've uploaded a little Eclipse Project without WEB-INF/lib/libraries - perhaps anybody can help to get it running ...
PDiefent wrote: > > > Hello, > I try to secure my wicket appication with container based authentication. > The problem is, that all users can log also if they don't have the right > role. > > In my login.html I use following form action: > <form action="login/j_security_check" method="post"> > > If I change the security-constraint - url-pattern from "/login" to "/*", > the security check works, but I don't get any page displayed > (images/leer.gif not found). > Also the login page doesn't render complete because all images are > blocked. > > It would be nice if their is an example for the correct use of the > container based authentication. The often statet example in > > http://cwiki.apache.org/WICKET/servlet-container-authentication.html > > doesn't work!!!!! > > > > The configuration for Apache Tomcat 6.xx: > > <?xml version="1.0" encoding="UTF-8"?> > <>tomcat-users> > <role rolename="MyWeb"/> > <role rolename="manager"/> > <role rolename="admin"/> > <role rolename="TheirWeb"/> > <user username="zorro" password="zorro" roles="MyWeb"/> > <user username="Pete" password="Pete" roles="TheirWeb"/> > <user username="Pete1" password="Pete1" roles="MyWeb"/> > <user username="admin" password="admin" roles="admin,manager"/> > </tomcat-users> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > http://www.nabble.com/file/p26078586/SimpleApp.zip SimpleApp.zip -- View this message in context: http://www.nabble.com/container-based-authentication-tp26010834p26078586.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
