Java Mailing List Archive

http://www.junlu.com/

Google
Google
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
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
Form Authentication in jboss and jbuilder

Form Authentication in jboss and jbuilder

2004-08-25       - By bin cai

 Back
Reply:     1     2     3  

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>&lt;security-constraint&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;display-name&gt
;SecurityConstraint1&lt;/display-name&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; &lt;auth
-constraint&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;role-name&gt;customer&lt;
/role-name&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/auth-constraint&gt;<BR>&nbsp; &lt;
/security-constraint&gt;<BR>&nbsp; &lt;login-config&gt;<BR>&nbsp;&nbsp;&nbsp;
&lt;auth-method&gt;FORM&lt;/auth-method&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;form-login
-config&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;form-login-page&gt;/logon.jsp
&lt;/form-login-page&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;form-error-page
&gt;/logon_error.jsp&lt;/form-error-page&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/form
-login-config&gt;<BR>&nbsp; &lt;/login-config&gt;<BR>&nbsp; &lt;security-role&gt
;<BR>&nbsp;&nbsp;&nbsp; &lt;role-name&gt;customer&lt;/role-name&gt;<BR>&nbsp;
&lt;/security-role&gt;</DIV>
<DIV>&nbsp;</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>&nbsp;</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>

©2008 junlu.com - Jax Systems, LLC, U.S.A.