You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by TWR - Hauptuser <TW...@t-online.de> on 2001/05/30 20:55:43 UTC

Re: Why is authorization=null? Esp. to Twylite

Hi,

thank you for the information about authorization header, form based login 
and POST method. So the authorization in the HTTP header isn't filled. 
However I ask myself from where the getRemoteUser and getAuthtype - Methode 
get the information because these methods do work and I get the correct 
username and auth form.

Can anyone explain that??

Best thanks

Thomas

Twylite wrote:

>Hi

>>I solved the problem with sun.misc (was an error in directive).
<But now I
>>had a strange error. When performing form login via JDBC  and
>trying to
>>read out AUTHORIZATION Header the string is NULL. Why? Does form
>login not
>>write Authorization in HTTP Header?

>Form-based logon uses a POST method to communicate logon
>information, not the Authorization header.  That
>header is only used if you are using Basic logon.  Things will
>remain that way until browsers and servers define
>other methods of logon.

>Twylite