You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Lanto Randriamiharisoa <he...@cgey.com> on 2003/03/13 09:34:22 UTC
configuring j_security_check in Tomcat
Hi all,
I'm new to Tomcat (especially for advanced configuration like JNDI or
security management)
I've heared about using the security mechanism j_security_check and I'd like
to use it. However, I don't know how to configure it in Tomcat.
Complementary informations : I'm using JBuilder 8 which includes in its
distribution Tomcat 4.0.6-LE. And when I try to call the j_security_servlet
in my login page, I get an error "j_security_check" not found (or something
like this). It sounds like that j_security_check is not included in this
distribution. So the second question is : must I use a tomcat distribution
which is not a "LE" to use j_security_check
Thanks
--
Lanto
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: configuring j_security_check in Tomcat
Posted by Lanto Randriamiharisoa <he...@cgey.com>.
Thanks for your response. It works better now (after resolving another
problem due to this modification : "Invalid direct reference to form login
page")
--
Lanto
>
> Read the realm Howto of tomcat to use it.
>
> I try to resume :
> You protect your servlet by defining a realm with connection on ldap,
> database or memory realm in server.xml and by defining your protection
> in the web.xml of your servlet. After the file login.jsp is call
> automatically if your not logged and the j_security_check is called in
> your form ( it's a servlet 2.3 standard) define in your login.jsp.
>
> After your logging the protected url is call.
>
> hope this help...
> Gabriel
>
>
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> Yahoo! Mail : http://fr.mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: configuring j_security_check in Tomcat
Posted by Gabriel Santonja <gs...@unis.fr>.
> I'm new to Tomcat (especially for advanced configuration like JNDI or
> security management)
>
> I've heared about using the security mechanism j_security_check and
> I'd like to use it. However, I don't know how to configure it in
> Tomcat.
Read the realm Howto of tomcat to use it.
I try to resume :
You protect your servlet by defining a realm with connection on ldap,
database or memory realm in server.xml and by defining your protection
in the web.xml of your servlet. After the file login.jsp is call
automatically if your not logged and the j_security_check is called in
your form ( it's a servlet 2.3 standard) define in your login.jsp.
After your logging the protected url is call.
hope this help...
Gabriel
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Yahoo! Mail : http://fr.mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org