webtier@glassfish.java.net

Form Authentication With Glassfish

From: <webtier_at_javadesktop.org>
Date: Thu, 18 Feb 2010 05:39:34 PST

hi All... i have written a server authentication module based on the article of Mr. Monzillo...When i use basic authentication method it works perfect.. but when i try to use form-based method , i always get a response with http 404 error...

[b]<login-config>
                <auth-method>FORM</auth-method>
                <realm-name>SampleRealm</realm-name>
        <form-login-config>
            <form-login-page>/leftPanelTemplate.jsp</form-login-page>
            <form-error-page>/leftPanelTemplate.jsp</form-error-page>
        </form-login-config>
        </login-config>[/b][i][/i]

After My SAM validates the request, container can not forward me to the right page...By the way , Can't i specify where the container should forward me? or it forwards me directly to <form-login-page>/leftPanelTemplate.jsp</form-login-page>??
if there is a correct article about form-based authentication on glassfish, your posts are quite welcome...
Thx for your replies in advance...
[Message sent by forum member 'ilitheblack' (gurcan.ilker_at_hotmail.com)]

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