tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45832] New: add DIGEST authentication support to Ant tasks
Date Thu, 18 Sep 2008 12:17:42 GMT
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: tomcat-dev@jakarta.apache.org
        ReportedBy: marcus@better.se


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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message