ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gautam Guliani <>
Subject Get with Basic Auth
Date Tue, 06 Feb 2001 16:52:05 GMT
         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"
     <getBA src="http://some/protected/url/"
       username="seeker" password="supersecret" dest="log.out" />

Gautam Guliani                          Email:
Partner                                 Cell:   917.945.5353
Grassroots Technology, Inc.             Office: 646.375.2036
116 W. 23rd St, Suite 500     
NY, NY  10011-9998

View raw message