[jcifs] roles
Eric Glass
eric.glass at gmail.com
Thu Aug 5 00:27:16 GMT 2004
The jcifs-ext project has an extended filter which provides domain
group information:
http://sourceforge.net/projects/jcifs-ext/
The class name is "jcifs.http.AuthenticationFilter" instead of
"jcifs.http.NtlmHttpFilter", but other than that it should be pretty
much a drop-in replacement. Just stick the jcifs-ext jarfile in with
the jCIFS jar and update web.xml to reference AuthenticationFilter.
If everything goes well, you should be able to do:
request.isUserInRole("GROUPNAME");
to check if a user is in a given domain group.
Eric
----- Original Message -----
From: karla.smith at vectorsgi.com <karla.smith at vectorsgi.com>
Date: Wed, 4 Aug 2004 15:22:42 -0500
Subject: [jcifs] roles
To: jcifs at lists.samba.org
Another newbie question - need a pointer in the right direction. We
want to authenticate a user against a domain (authentication) and a
role/group (authorization), but I don't think that's possible. If
that's the case then we need to check IsUserInRole for a particular
Group. Only the username and domain will be available, not the
password. Would we need to look up the roles that a user is a member
of using Active Directory ?
Thank you.
~kas
VECTORsgi - leading provider of check image exchange software.
VECTORsgi's Consulting Services - image exchange strategy development
and deployment.
Image Exchange - VECTORsgi Gets You There!
Learn about VECTORsgi by using http://www.VECTORsgi.com
More information about the jcifs
mailing list