users@glassfish.java.net

Re: How to configure using the "file" real for authenticating

From: Shing Wai Chan <shing.wai.chan_at_oracle.com>
Date: Fri, 15 Jul 2011 10:24:29 -0700

In web.xml, if you are using FORM auth-method, then it is as follows:

<login-config>
<auth-method>FORM</auth-method>
<realm-name>file</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>