Folks,
I needed to access a URL protected by basic auth so I extended the GET task
to do so. It does Java2 style HTTP basic authentication.


Would people on this list be interested in this extension?

Here's the relevant portion of a typical build file

<target name="protectedTask" >
    <taskdef name="getBA"
      classname="com.grassroots_tech.util.ant.HttpGetBasicAuth"/>
    <getBA src="http://some/protected/url/";
      username="seeker" password="supersecret" dest="log.out" />
</target>



--
Gautam Guliani                          Email:  [EMAIL PROTECTED]
Partner                                 Cell:   917.945.5353
Grassroots Technology, Inc.             Office: 646.375.2036
116 W. 23rd St, Suite 500               http://www.grassroots-tech.com/
NY, NY  10011-9998



Reply via email to