The first problem we've come across is accessing the username from the object as it is never returned by the handle (for obvious reasons) and we can't see an easy way to access it even when subclassing - I've posted to the London.pm perl mailing list asking if there is a way to sneek in and grab the info, if there isn't would you be adversed to having an additional flag which can be passed into handler() and would then return the object rather than 'OK' ?

I am assuming that you are going to build your module on top of Apache::AuthCookie and Apache::AuthenNTLM. If that is the case, then you can grab the username and domain from the $self->{username} variable, or the $data variable which is uppacked in the get_msg1 and getmsg3 subroutines. This should make it easier.



PS Sorry bout the typo in the previous message :P It's really Apache-AuthCookieNTLM...


Heh, glad to see it's not just me that gets it the wrong way
round all the time! :)

:))


speeves
cws


-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html



Reply via email to