[jcifs] Windows login username required at server end

Michael B Allen ioplex at gmail.com
Thu Jun 5 14:51:24 GMT 2008


Can you get the username from the environment (e.g. using System.getenv())?

On 6/5/08, Abhijit Karpe <abhijitk at xpanxion.co.in> wrote:
>
>
>
>
> Hello,
>
>
>
> I have a requirement wherein I need the windows login username in my
> application on JBoss.
>
> I have been investigating using the JCIFS library but so far whatever I do,
> JCIFS tries to authenticate the user with the domain controller.
>
>
>
> What I need is not authentication with the domain controller. I just need
> access to the username with which the user has logged in to the windows
> machine.
>
> My application assumes that if the user has successfully logged in, he is a
> valid user.
>
>
>
> Can JCIFS help me with my requirement?
>
>
>
> If not, does anyone know how I may be able to achieve this? Any help in this
> regard is highly appreciated.
>
>
>
> Thanking everyone in advance,
>
> Abhi


-- 
Michael B Allen
PHP Active Directory SPNEGO SSO
http://www.ioplex.com/


More information about the jcifs mailing list