[jcifs] Why is NtlmHttpServletRequest private instead of public?

Mike Kienenberger mkienenb at gmail.com
Wed Sep 21 18:27:18 GMT 2005


Hi,

I'm a new user of jcifs and I'm wondering why NtlmHttpServletRequest
isn't a public class.

I'd like to do something like

        NtlmHttpServletRequest ntlmRequest = (NtlmHttpServletRequest)request;
        String username = ntlmRequest.getPrincipal().getUsername();

A search on google turns up a patch to this effect posted on May 2003,
but no other comments on this issue.

http://lists.samba.org/archive/jcifs/2003-May/002131.html

For now, I guess I'll use my own local mods to jcifs, but this seems
like a pretty useful change.

Thanks.

-Mike


More information about the jcifs mailing list