Re: Reg form based authentication
sree kanth wrote: Hi all, i have been developing on JSP's for the last one year,but still i have never implemented form based authentication. Can any one help me in implenting form based authentication? Thank you all Sreekanth Very basic example: Put login.jsp and error.jsp in the root of your application and add the web.xml snippet to your application's web.xml file. Mark login.jsp html head titleLogin/title /head body form method=POST action='%= response.encodeURL(j_security_check) %' name=loginForm input type=text name=j_username size=16 id=username/ input type=password name=j_password size=16 id=password/ input type=submit value=Submit / input type=reset value=Reset / /form /body /html error.jsp html head titleLogin Error/title /head body pLogin failed./p /body /html web.xml snippet login-config auth-methodFORM/auth-method realm-nameTest/realm-name form-login-config form-login-page/login.jsp/form-login-page form-error-page/error.jsp/form-error-page /form-login-config /login-config - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Reg form based authentication
Hi all, i have been developing on JSP's for the last one year,but still i have never implemented form based authentication. Can any one help me in implenting form based authentication? Thank you all Sreekanth
Re: Reg form based authentication
chk this link this might help you http://www.onjava.com/pub/a/onjava/2002/06/12/form.html u wil find lot of resources on net on this On 9/30/05, sree kanth [EMAIL PROTECTED] wrote: Hi all, i have been developing on JSP's for the last one year,but still i have never implemented form based authentication. Can any one help me in implenting form based authentication? Thank you all Sreekanth - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]