Message |
Will, from http://www.forum.nokia.com/wap_developer/dev_faq.html Q8. Is the HTTP authentication supported? The Nokia 7110 supports the basic HTTP authentication. For client identification the HTTP basic authentication is the only standard mechanism that has been mentioned in the WAP 1.1 specification. so we need to get this to work. > I tried this out. getRemoteUser() always appears to return null with > JServ (it's useless on its own anyway since you need the password!). > > Basically if you sent a 401 response back to Netscape, it prompts you > for a username and password, and then forever sends those in the > Authorization header to the server. You have to decode them from > base64 and they are padded with zeroes to eight characters (yurgh). > > Netscape 4.61/Linux appears as far as I can tell _not_ to use the > "protection space" idea to reissue login/password pairs the user has > previously told it about when challenged for the same "realm" in the > future. But that doesn't matter to us. > > We could look into the digest authentication system but it's unlikely > to be supported by old browsers or (perhaps) by phones. > > Attached is code for playing around. thanks, i will have a play with this. Cheers Tim Joyce Chief Enthusiast tim@hoop.co.uk HOOP Ltd http://www.hoop.co.uk 01202 251 816 HOOP is proud to be a member of the Paneris community (www.paneris.org)
|