https://issues.apache.org/bugzilla/show_bug.cgi?id=45832
Summary: add DIGEST authentication support to Ant tasks
Product: Tomcat 6
Version: 6.0.18
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P2
Component: Catalina
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
It would be useful if the Catalina Ant tasks supported HTTP Digest
authentication, in addition to Basic authentication. This is convenient if one
already has a digest-based security realm and doesn't want to maintain an extra
tomcat-users.xml file. (And Basic authentication is terribly insecure.)
Currently the AbstractCatalinaTask [1] just performs Basic authentication:
// Set up an authorization header with our credentials
String input = username + ":" + password;
String output = new String(Base64.encode(input.getBytes()));
hconn.setRequestProperty("Authorization",
"Basic " + output);
[1]
http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/java/org/apache/catalina/ant/AbstractCatalinaTask.java
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]