You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2002/04/18 17:12:19 UTC

DO NOT REPLY [Bug 8254] New: - Make Base64 class public

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8254>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8254

Make Base64 class public

           Summary: Make Base64 class public
           Product: Commons
           Version: Nightly Builds
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: HttpClient
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: mai3116@rit.edu


I would like to force an authorization header to be added for every request. 
Therefore, I am encoding the authorization header myself, since the API doesn't 
support forcing the authorization header. I'm using a 

GetMethod.addRequestHeader("Authorization", Base64.encode
(username+":"+password));

Anyways, this can't be done since the encode method is Base64 is package scope. 
If this could be modified to be a public class, this would help me out a lot. 

Thanks

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>