users@glassfish.java.net

Re: Form based authentication on glassfish with visual jsf

From: <glassfish_at_javadesktop.org>
Date: Thu, 13 Nov 2008 19:26:27 PST

Simple is


<f:verbatim>
                        <form action="j_security_check" method="POST">
                            <h:outputLabel value="Username"/>
                            <h:inputText id="j_username" />
                            <br/>
                            <h:outputLabel value="Password"/>
                            <h:inputSecret id="j_password" />
                            <br/>
                            <h:commandButton value="Logon" />
                        </form>
                    </f:verbatim>
[Message sent by forum member 'moonlightdang' (moonlightdang)]

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