struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zahid Rahman" <zah...@btconnect.com>
Subject Re: Logout in a container-managed security environment -- Follow-up
Date Wed, 25 Sep 2002 00:04:26 GMT
There are some examples which come with JSP PRO second edition
which shows FORM and BASIC type login boxes.
In the download zip file you have complete war files.
Simply deploy and run.

I was informed by one of the authors of the book that the examples are
tried and tested.
You can download the zip file from www.wrox.com
The zip file is called 4958-war.zip

----- Original Message -----
From: "Charles McClain" <CMcClain01@ATTBI.Com>
To: "Struts User Mailing List" <struts-user@jakarta.apache.org>
Sent: Wednesday, September 25, 2002 12:09 AM
Subject: Logout in a container-managed security environment -- Follow-up


> All:
>
> I received several replies to my original question, all of which
> indicated that, in order to do a forceful logout, I needed to use
> FORM-based CMA rather than BASIC.  One of the replies recommended an
> article on the topic, which I downloaded and read.
>
> I implemented FORM-based authentication, making the changes to my
> web.xml, indicating the login form and error page, etc.  The container
> (Tomcat 4.0) seems to know that I want FORM-based authentication, since
> it pops up my login page.  I did, by the way, include the fields
> j_username and j_password, and my form action is j_security_check, as
> per the instructions.
>
> However, when I press the submit button, my browser gives me a 404
> not-found error on the (nonexistent, of course) page j_security_check.
> I've checked the Apache and Tomcat logs, and one of the Tomcat logs
> tells me that it has "Configured an authenticator for method FORM", but
> it still seems to be looking for a page by that name rather than
> invoking the method.
>
> Anyone have any ideas?
>
> Charles McClain
> Phone:  603.659.2046
> email:    cmcclain01@attbi.com
>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message