For Programmers: Free Programming Magazines  


Home > Archive > Java Security > October 2004 > Authenticating a user of a specific group









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Authenticating a user of a specific group
fazahid

2004-10-07, 9:00 am

I am using Active Directiory in Win 2000 Server and Kerboros protocol.
I can authenticate an user whose info is in that Active directory by
Jaas api.
Now i want to check whether a user is in a specific group or not. For
example let i have 2 users 'user1' and 'user2' and a group 'mygroup'
and 'user1' is member of 'mygroup'. In my application if 'user1' wants
to log in then my application will let him logged in but for any other
user (ie, 'user2') my application will show autentication is failed.

how can i do it? i mean, how can i identify that the user is in that
group?

plz help me......

zahid
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com