[jcifs] Re: Why is NtlmHttpServletRequest private instead of public?
Mike Kienenberger
mkienenb at gmail.com
Wed Sep 21 18:36:26 GMT 2005
Never mind.
I see how that this information is available by other means:
public String getRemoteUser();
public Principal getUserPrincipal();
On 9/21/05, Mike Kienenberger <mkienenb at gmail.com> wrote:
> 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