tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phillip Morelock <subscripti...@phillipmorelock.com>
Subject Re: Getting USERNAME/PASSWORD from HTTP headers
Date Thu, 23 May 2002 19:49:10 GMT
i believe there is free code somewhere available for this -- it's really
easy.

search google for 
base64 decode java source

it's the second result. it's public domain with no restrictions.

fillup




On 5/23/02 12:35 PM, "Donie Kelly" <donie.kelly@tecnomen.ie> wrote:

> That's grand but I then have to base64 decode the result. I was hoping there
> was a nice way ;)
> 
> Donie
> 
> 
> -----Original Message-----
> From:     Phillip Morelock [mailto:subscriptions@phillipmorelock.com]
> Sent:    23 May 2002 20:38
> To:    Tomcat Users List
> Subject:    Re: Getting USERNAME/PASSWORD from HTTP headers
> 
> request.getHeader()
> 
> see the documentation for HttpServletRequest
> 
> 
> 
> 
> On 5/23/02 12:27 PM, "Donie Kelly" <donie.kelly@tecnomen.ie> wrote:
> 
>> Hi all
>> 
>> How do I get the username and password from the http authentication
>> headers...
>> 
>> Thanks
>> 
>> Donie
>> 
>> 
>> 
>> --
>> To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>> For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
>> 
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
> 


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message