yep, please use the build from the 20th of november. Thanks -Vincent ----- Original Message ----- From: "Peter Wong" <[EMAIL PROTECTED]> To: "Cactus Developers List" <[EMAIL PROTECTED]> Sent: Wednesday, November 21, 2001 3:24 PM Subject: Re: webserver authentication
> > > Hi Vincent, > > I tried the tortoiseCVS, but still timed out. > Would using a nightly build be ok? > > Thanks. > > Peter > > > > > "Vincent Massol" <[EMAIL PROTECTED]> on 11/20/2001 03:56:18 PM > > Please respond to "Cactus Developers List" > <[EMAIL PROTECTED]> > > To: "Cactus Developers List" <[EMAIL PROTECTED]> > cc: > Subject: Re: webserver authentication > > Try "cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic co > jakarta-cactus". You don't need to log in. Although you seem to have > another > problem (the timeout). > > I would recommend the TortoiseCVS client ( > http://sf.net/projects/cvsgui). It > has great integration with windows explorer and you don't need to type > anything anymore; everything is done through context menu (right click > on a > file). > > -Vincent > > ----- Original Message ----- > From: "Peter Wong" <[EMAIL PROTECTED]> > To: "Cactus Developers List" <[EMAIL PROTECTED]> > Sent: Tuesday, November 20, 2001 9:38 PM > Subject: Re: webserver authentication > > > > > > > > Hi Vincent, > > > > I have never done development on the web before. I think I can do a > > diff against the latest source if I can easily download the entire > > updated source to my hard-drive. > > > > I tried without success to get into the anonymous cvs server about 6 > > weeks ago. > > I tried from work(with firewall) and also from home(without firewall > > via phone line). > > > > I just tried it again now, and here is is what I got from a DOS > shell: > > > > D:\jakarta-cactus-dev>cvs -d > > :pserver:[EMAIL PROTECTED]:/home/cvspublic log > > in > > (Logging in to [EMAIL PROTECTED]) > > CVS password: > > cvs [login aborted]: connect to cvs.apache.org:2401 failed: > Connection > > timed out > > > > > > D:\jakarta-cactus-dev>cvs -d > > :pserver:[EMAIL PROTECTED]:/home/cvspublic che > > ckout jakarta-cactus > > cvs [checkout aborted]: connect to cvs.apache.org:2401 failed: > > Connection timed > > out > > > > D:\jakarta-cactus-dev> > > > > The only way I can get to the latest source is via ViewCVS. > > Can you help as I do not know much about cvs other than using it for > > internal development or do the cactus development server at apache > > automatically jar up the latest source upon a committer moves > baseline > > and allow download via a browser? > > Thanks. > > > > Peter > > > > > > > > > > "Vincent Massol" <[EMAIL PROTECTED]> on 11/20/2001 02:50:31 PM > > > > Please respond to "Cactus Developers List" > > <[EMAIL PROTECTED]> > > > > To: "Cactus Developers List" <[EMAIL PROTECTED]> > > cc: > > Subject: Re: webserver authentication > > > > Thanks Peter ! > > Looks like you've done a good job. I have not looked at it in > details > > yet (I > > need some time to do that ... :)) but I will try to do it asap and > > will give > > you my feedback. > > > > Just a remark: It is much easier if you provide a diff against the > > existing > > classes (in CVS - and not against an older version as the classes > may > > have > > changed). Do you think you could do that ? > > > > Thanks again. We appreciate your help. > > -Vincent > > > > ----- Original Message ----- > > From: "Peter Wong" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Tuesday, November 20, 2001 4:35 PM > > Subject: webserver authentication > > > > > > > > > > Hi Vincent, > > > > > > Here is the source for form-based authentication. It is based on > the > > > cactus 1.2 release. > > > > > > (1) > > > I added to and changed the following .java source files that > > currently > > > exist in cactus 1.2: > > > AbstractTestController > > > WebRequest > > > AbstractTestCaller > > > ServletHttpClient > > > AbstractHttpClient > > > AbstractTestCase > > > ServletTestCase > > > ServiceEnumeration > > > All the addition & modification that I made are enclosed within: > > > /* ---- BEGIN psw ---- */ > > > > > > /* ---- END psw ---- */ > > > > > > (2) > > > I added a new package, org.apache.cactus.client.authentication, > with > > > the following .java files: > > > Auth > > > ConnectionInfo > > > Identity > > > LogonURLException > > > > > > (3) > > > I added a new class to test the form-based authentication in the > > > following .java file: > > > FormBasedAuthenticationTest > > > For the test to run successfully, the cactus redirector servlet > > needs > > > to protected in the web.xml file. > > > Also, add a user with (userid, password) == (mallen, mallen) to > the > > > security realm of the webserver, and > > > make sure that (mallen, mallen_wrong) is NOT valid, > > > (does_not_exist_in_db, abcxyz) is also NOT valid. > > > > > > (4) > > > In order for form based authntication to work, 3 entries are > > required > > > in the cactus.properties file: > > > example: > > > servlet22.loginFormActionURL = > > > http://localhost:7001/struts_ant_cactus_3/j_security_check > > > servlet22.loginFormUsernameFieldname = j_username > > > servlet22.loginFormPasswordFieldname = j_password > > > > > > The code was tested under tomcat 3.2.3 and also weblogic sp1. > > > > > > Let me know what you think. Thanks. > > > > > > Peter > > > > > > (See attached file: forte4j_modified_cactus_src.jar)(See attached > > > file: cactus.properties) > > > > > > > -------------------------------------------------------------------------- > > -- > > > > ---- > > > > > > > -- > > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > > -- > > To unsubscribe, e-mail: < > > mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: < > > mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > > > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > > > -- > To unsubscribe, e-mail: < > mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: < > mailto:[EMAIL PROTECTED]> > > > > > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
