users@glassfish.java.net

Login configuration

From: <glassfish_at_javadesktop.org>
Date: Thu, 02 Oct 2008 08:23:21 PDT

Im trying to configurate a login taking the users from the file realm but I cant authenticate any user. I have this in my web.xml file but doesnt do anything

    <login-config>
        <auth-method>FORM</auth-method>
        <realm-name>file</realm-name>
        <form-login-config>
            <form-login-page>/pages/Login.jsp</form-login-page>
            <form-error-page>/pages/loginError.html</form-error-page>
        </form-login-config>
    </login-config>

Can someone tell me the steps that I have to follow to configurate the server and a simple example?

Thanks in advance.
[Message sent by forum member 'oleggunnar' (oleggunnar)]

http://forums.java.net/jive/thread.jspa?messageID=302968