Board: 5789.com Development

Subject

user authentification

Author

William Chesters

Status

Date

20/03/2000 13:04

Message

tim@hoop.co.uk writes:
> I have never really understood how apache user authentication works, but I
> assume that it is similar to the way we handle it (valid password -> start a
> session so that users don't have to log in to every page).
>
> How is this session supported, and can we 'get at it'?
It's part of HTTP.
See http://info.internet.isi.edu/in-notes/rfc/files/rfc2068.txt
section 11.1 "Basic authentication scheme".
I can't on the face of it see any reason why we shouldn't leverage
it.
> The reason for asking, is that wap phones appear not to support cookies
> themselves, but rely on gateways (and so i don't think we can rely on this):
>
> http://wap.colorline.no/wap-faq/?format=html&pair=04.007
Hmm, it all rather depends if the gateways do proxy WAP-HTTP sessioning.
> , but the phones do support Basic Authentication:
>
> http://wap.colorline.no/wap-faq/?format=html&pair=09.001
>
> for our billing purposes we need to get at the loginid, does this come back
> on a HTTP request?
Yes, it's HttpServletRequest.getRemoteUser(). I don't see why we
can't use HttpServletResponse.setHeader() to implement a password
challenge, either. Will look into.

5789.com Development Board

 

Post Follow-up

Search This Board

 

Message Context:

user authentification Tim Joyce 20/03/2000 11:53

    user authentification William Chesters 20/03/2000 13:04

        user authentification William Chesters 20/03/2000 14:30

            Re: user authentification Tim Joyce 20/03/2000 15:08

                Re: user authentification William Chesters 20/03/2000 16:13

                    Re: user authentification Tim Joyce 20/03/2000 16:42



Home -  News -  Reference Sites -  Members -  Partners -  Guidelines -  Philosophy -  Your Details -  Logout