Hi Davide,
thanks for the help.

> There aren't methods for these, you have to read the request headers.
> With Basic HTTP Authentication you have a header named "Authorization"
> that should contains something like this:
> BASIC d2VibWFzdGVyOnRyeTJndWVTUw

> The string following "BASIC " is encoded with Base64 and contains
> username:password.

Uuh. Is there no java package managing that stuff? tomcat also must know
how to decode it. So there should be something.
Do you know how to decode base64? I found it in rfc2045 but actually I can
not imagine that java doesn't provide something to decode it.
I did a find -exec grep over the whole api javadoc, but could only find
stuff that wants parameters base64 encoded. Nothing to decode it.

Regards
Frank


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to