here is what you have to code :
In your web.xml : <!-- the login page in case of form based authentication --> <login-config> <auth-method>FORM</auth-method> <realm-name>XXXX</realm-name> <form-login-config> <!-- path to login page --> <form-login-page>/authentication.jsp</form-login-page> <!-- path to failed login page --> <form-error-page>/authenticationFailed.jsp</form-error-page> </form-login-config> </login-config> Note, for me realm-name is a jndi name declared in my application server (jboss) that call a jaas policy module. I was also disapointed that login-page and error-page couldn't be tiles ... After that, complete your web.xml with the constraint security you need : !-- Fonction control access ~ struts actions mapping - see struts-config.xml --> <security-constraint> <web-resource-collection> <web-resource-name>StrutsActions</web-resource-name> <description>Struts actions mappings</description> <url-pattern>/action/menuView</url-pattern> .../... <http-method>HEAD</http-method> <http-method>GET</http-method> <http-method>POST</http-method> <http-method>PUT</http-method> <http-method>DELETE</http-method> </web-resource-collection> <auth-constraint> <role-name>simpleUser</role-name> <role-name>admin</role-name> </auth-constraint> <user-data-constraint> <transport-guarantee>NONE</transport-guarantee> </user-data-constraint> </security-constraint> ___[ Pub ]____________________________________________________________ Inscrivez-vous gratuitement sur Tandaime, Le site de rencontres ! http://rencontre.rencontres.com/index.php?origine=4 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]