org.apache.jetspeed.security.spi.impl.ldap
Interface LdapMembershipDao

All Known Implementing Classes:
LdapMemberShipDaoImpl

public interface LdapMembershipDao


Method Summary
 String[] searchGroupMemberShipByGroup(String userPrincipalUid, SearchControls cons)
           
 String[] searchGroupMemberShipByUser(String userPrincipalUid, SearchControls cons)
           
 String[] searchRoleMemberShipByRole(String userPrincipalUid, SearchControls cons)
           
 String[] searchRoleMemberShipByUser(String userPrincipalUid, SearchControls cons)
           
 String[] searchRolesFromGroupByGroup(String groupPrincipalUid, SearchControls cons)
           
 String[] searchRolesFromGroupByRole(String groupPrincipalUid, SearchControls cons)
           
 String[] searchUsersFromGroupByGroup(String groupPrincipalUid, SearchControls cons)
           Search user by group using the GroupMembershipAttribute.
 String[] searchUsersFromGroupByUser(String groupPrincipalUid, SearchControls cons)
           Search user by group using the UserGroupMembershipAttribute.
 String[] searchUsersFromRoleByRole(String rolePrincipalUid, SearchControls cons)
           Search user by role using the RoleMembershipAttribute.
 String[] searchUsersFromRoleByUser(String groupPrincipalUid, SearchControls cons)
           Search user by role using the UserRoleMembershipAttribute.
 

Method Detail

searchGroupMemberShipByGroup

String[] searchGroupMemberShipByGroup(String userPrincipalUid,
                                      SearchControls cons)
                                      throws NamingException
Throws:
NamingException

searchGroupMemberShipByUser

String[] searchGroupMemberShipByUser(String userPrincipalUid,
                                     SearchControls cons)
                                     throws NamingException
Throws:
NamingException

searchRoleMemberShipByRole

String[] searchRoleMemberShipByRole(String userPrincipalUid,
                                    SearchControls cons)
                                    throws NamingException
Throws:
NamingException

searchRoleMemberShipByUser

String[] searchRoleMemberShipByUser(String userPrincipalUid,
                                    SearchControls cons)
                                    throws NamingException
Throws:
NamingException

searchUsersFromGroupByGroup

String[] searchUsersFromGroupByGroup(String groupPrincipalUid,
                                     SearchControls cons)
                                     throws NamingException

Search user by group using the GroupMembershipAttribute.

Parameters:
groupPrincipalUid -
cons -
Returns:
Throws:
NamingException - A NamingException.

searchUsersFromGroupByUser

String[] searchUsersFromGroupByUser(String groupPrincipalUid,
                                    SearchControls cons)
                                    throws NamingException

Search user by group using the UserGroupMembershipAttribute.

Parameters:
groupPrincipalUid -
cons -
Returns:
Throws:
NamingException - A NamingException.

searchUsersFromRoleByRole

String[] searchUsersFromRoleByRole(String rolePrincipalUid,
                                   SearchControls cons)
                                   throws NamingException

Search user by role using the RoleMembershipAttribute.

Parameters:
groupPrincipalUid -
cons -
Returns:
Throws:
NamingException - A NamingException.

searchUsersFromRoleByUser

String[] searchUsersFromRoleByUser(String groupPrincipalUid,
                                   SearchControls cons)
                                   throws NamingException

Search user by role using the UserRoleMembershipAttribute.

Parameters:
groupPrincipalUid -
cons -
Returns:
Throws:
NamingException - A NamingException.

searchRolesFromGroupByGroup

String[] searchRolesFromGroupByGroup(String groupPrincipalUid,
                                     SearchControls cons)
                                     throws NamingException
Throws:
NamingException

searchRolesFromGroupByRole

String[] searchRolesFromGroupByRole(String groupPrincipalUid,
                                    SearchControls cons)
                                    throws NamingException
Throws:
NamingException


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.