org.rhq.enterprise.server.resource.group
Interface LdapGroupManagerLocal

All Known Implementing Classes:
LdapGroupManagerBean

public interface LdapGroupManagerLocal

A manager that provides methods for creating, updating, deleting, and querying LdapGroups.

Author:
Simeon Pinder

Method Summary
 void addLdapGroupsToRole(org.rhq.core.domain.auth.Subject subject, int roleId, List<String> groupIds)
           
 void assignRolesToLdapSubject(int subjectId, List<String> ldapGroupNames)
           
 Set<Map<String,String>> findAvailableGroups()
           
 Set<String> findAvailableGroupsFor(String userName)
           
 org.rhq.core.domain.util.PageList<org.rhq.core.domain.resource.group.LdapGroup> findLdapGroups(org.rhq.core.domain.util.PageControl pc)
           
 org.rhq.core.domain.util.PageList<org.rhq.core.domain.resource.group.LdapGroup> findLdapGroupsByRole(int roleId, org.rhq.core.domain.util.PageControl pageControl)
           
 Map<String,String> findLdapUserDetails(String userName)
           
 void removeLdapGroupsFromRole(org.rhq.core.domain.auth.Subject subject, int roleId, int[] groupIds)
           
 void setLdapGroupsOnRole(org.rhq.core.domain.auth.Subject subject, int roleId, Set<org.rhq.core.domain.resource.group.LdapGroup> groups)
           
 

Method Detail

findLdapGroupsByRole

org.rhq.core.domain.util.PageList<org.rhq.core.domain.resource.group.LdapGroup> findLdapGroupsByRole(int roleId,
                                                                                                     org.rhq.core.domain.util.PageControl pageControl)

findLdapGroups

org.rhq.core.domain.util.PageList<org.rhq.core.domain.resource.group.LdapGroup> findLdapGroups(org.rhq.core.domain.util.PageControl pc)

setLdapGroupsOnRole

void setLdapGroupsOnRole(org.rhq.core.domain.auth.Subject subject,
                         int roleId,
                         Set<org.rhq.core.domain.resource.group.LdapGroup> groups)

addLdapGroupsToRole

void addLdapGroupsToRole(org.rhq.core.domain.auth.Subject subject,
                         int roleId,
                         List<String> groupIds)

removeLdapGroupsFromRole

void removeLdapGroupsFromRole(org.rhq.core.domain.auth.Subject subject,
                              int roleId,
                              int[] groupIds)

assignRolesToLdapSubject

void assignRolesToLdapSubject(int subjectId,
                              List<String> ldapGroupNames)

findAvailableGroups

Set<Map<String,String>> findAvailableGroups()

findAvailableGroupsFor

Set<String> findAvailableGroupsFor(String userName)

findLdapUserDetails

Map<String,String> findLdapUserDetails(String userName)


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.