  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | | Form Authentication in jboss and jbuilder | Form Authentication in jboss and jbuilder 2004-08-25 - By bin cai
Back Hi, i have a question relate forn authentication in j2ee. I am using jbuilderX to develope a simple jsp file called logon.jsp and error .jsp to perform Form authetication and deploy in jboss3.2.5. the problem is where i add password to ? i mean i edit web.xml and add <security-constraint> <display-name>SecurityConstraint1</display-name> <auth-constraint> <role-name>customer</role-name> </auth-constraint> </security-constraint> <login-config> <auth-method>FORM</auth-method> <form-login-config> <form-login-page>/logon.jsp</form-login-page> <form-error-page>/logon_error.jsp</form-error-page> </form-login-config> </login-config> <security-role> <role-name>customer</role-name> </security-role>
but i don't know i can set up password. 2. when i excecute , system give me message" j_security_check" is not availbe.
Please help me out. and thanks a lot.
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
<DIV>Hi, i have a question relate forn authentication in j2ee.</DIV> <DIV>I am using jbuilderX to develope a simple jsp file called logon.jsp and error.jsp to perform </DIV> <DIV>Form authetication and deploy in jboss3.2.5.</DIV> <DIV>the problem is where i add password to ? i mean i edit web.xml and add < /DIV> <DIV><security-constraint><BR> <display-name> ;SecurityConstraint1</display-name><BR> <auth -constraint><BR> <role-name>customer< /role-name><BR> </auth-constraint><BR> < /security-constraint><BR> <login-config><BR> <auth-method>FORM</auth-method><BR> <form-login -config><BR> <form-login-page>/logon.jsp </form-login-page><BR> <form-error-page >/logon_error.jsp</form-error-page><BR> </form -login-config><BR> </login-config><BR> <security-role> ;<BR> <role-name>customer</role-name><BR> </security-role></DIV> <DIV> </DIV> <DIV>but i don't know i can set up password.</DIV> <DIV>2. when i excecute , system give me message" j_security_check" is not availbe.</DIV> <DIV> </DIV> <DIV>Please help me out. and thanks a lot.</DIV><p>__ ____ ____ ____ ____ _____ __ ____ ____ ____ ____<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com =========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help". <p>
|
|
 |