com.cafesoft.cams.service
Interface ActiveDirectoryGroupNameService
- All Superinterfaces:
- Debuggable, Lifecycle, LifecycleService, Service
- public interface ActiveDirectoryGroupNameService
- extends LifecycleService
ActiveDirectoryGroupNameService defines the interface that
enables lookup of Active Directory group names via their unique object
security identifier (sid).
NOTE:Every Windows group is assigned a unique SID. The Windows
user attribute, "tokenGroups", dynamically returns the SIDs for all groups
for which the user is a member (including the "primaryGroup" and nested
groups, which are NOT returned by the "memberOf" attribute"). This service
queries all group SIDs and names at startup to avoid an expensive search
for each user during authentication. The list of group SIDs and group names
should be cached.
- Since:
- 9/20/05
getGroupNameBySid
public String getGroupNameBySid(String sid)
throws ServiceException
- Get an Active Directory group name by its SID.
- Parameters:
sid - the group SID.
- Returns:
- the group name or null if a group was not found for the
specified identifier.
ServiceException
Generated on 5:16:42 PM May 12, 2008, © 1996-2005 Cafésoft LLC. All rights reserved.