Dear all,
I'm trying to secure web resources in jboss with jaas. I've configured everything (?) and in my web.xml I have:
<login-config> <auth-method>FORM</auth-method> <realm-name>Levia application</realm-name> <form-login-config> <form-login-page>./login.jsp</form-login-page> <form-error-page>./loginerror.html</form-error-page> </form-login-config> </login-config>
A search for 'form based servlet authentication' returns loads of pages relating to this.
In brief the action of the form needs to be 'j_security_check' the name for the username needs to be 'j_username' and the name for the password needs to be 'j_password'