You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2008/09/18 14:17:42 UTC
DO NOT REPLY [Bug 45832] New: add DIGEST authentication support to
Ant tasks
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
DO NOT REPLY [Bug 45832] add DIGEST authentication support to Ant
tasks
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45832
--- Comment #3 from Mark Thomas <ma...@apache.org> 2008-09-18 06:46:57 PST ---
Personally, I'd rather not add a dependency just for that.
--
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
DO NOT REPLY [Bug 45832] add DIGEST authentication support to Ant
tasks
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45832
--- Comment #2 from Marcus Better <ma...@better.se> 2008-09-18 06:35:33 PST ---
(In reply to comment #1)
> Patches are always welcome.
Is it ok to use something like commons-httpclient that does Digest auth?
--
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
DO NOT REPLY [Bug 45832] add DIGEST authentication support to Ant
tasks
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45832
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|minor |enhancement
--- Comment #1 from Mark Thomas <ma...@apache.org> 2008-09-18 06:06:37 PST ---
Patches are always welcome.
--
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