RE: Customized authentication - overriding "getUserPrincipal()"

2004-02-04 Thread Morten S. Mortensen
ss by adapting them with "DataInputStream" and "DataOutputStream" Most certainly impossible to repair at this point in time. Common API's are far from perfect. ----- Next time, please give me a hint. Regards, Morten Sabroe Mortensen -Original Message-

Customized authentication - overriding "getUserPrincipal()"

2004-02-03 Thread Morten S. Mortensen
Hi all, I am in the process of testing some custom authentication schemes of my own. One thing, I would like, is to have "request.getUserPrincipal()" and "request.getAuthType()" return what I tell the request to return. The "usual" way to grab and manipulate things is to write a filter (or ser