[jboss-user] [JBoss Seam] - Re: JSF Form Authentication using JAAS DatabaseServerLoginMo

petemuir do-not-reply at jboss.com
Mon Nov 13 05:42:51 EST 2006


Use an html form:

<ui:composition template="blah.xhtml">
  |   <form action="j_security_check" method="post">
  |       <label for="j_username">Input User Name:</label>
  |       <input type="text" name="j_username" />
  |       <br />
  |       <label for="j_password">Password:</label>
  |       <input type="password" name="j_password" />
  |       <br />
  |       <input type="submit" value="Login" id="Submit" />
  |    </form>
  | </ui:composition>

Just make sure that the templates don't contain h:form etc.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985370#3985370

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985370



More information about the jboss-user mailing list