Interface UserStoreProviderLookups
- All Known Implementing Classes:
JavaScriptTarget, LDAPProvider
public interface UserStoreProviderLookups
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIf true, the group id is the same as the name.booleanIf true, then group members are unique ids, not login ids.booleanIf true, then the tremolo object's ID is the unique id.Lookup a group by its unique id, generally machine generated and not known to the userlookupGroupByName(String groupName) Lookup a group by its descriptive name, generally known by the userlookupUserById(String id) Looks up a user based on their unique id, generally machine generated and not known to the userlookupUserByLogin(String login) Looks up the user by the human known login idsearchGroups(String ldapFilter) Search for groups based on an LDAP filtersearchUsers(String ldapFilter) Search for users based on an LDAP filter
-
Method Details
-
lookupUserByLogin
Looks up the user by the human known login id- Parameters:
login-- Returns:
- Throws:
ProvisioningException
-
lookupUserById
Looks up a user based on their unique id, generally machine generated and not known to the user- Parameters:
id-- Returns:
- Throws:
ProvisioningException
-
lookupGroupById
Lookup a group by its unique id, generally machine generated and not known to the user- Parameters:
id-- Returns:
- Throws:
ProvisioningException
-
lookupGroupByName
Lookup a group by its descriptive name, generally known by the user- Parameters:
groupName-- Returns:
- Throws:
ProvisioningException
-
isGroupMembersUniqueIds
boolean isGroupMembersUniqueIds()If true, then group members are unique ids, not login ids. If false, then the group members have- Returns:
-
isUniqueIdTremoloId
boolean isUniqueIdTremoloId()If true, then the tremolo object's ID is the unique id. If not, load it from an attribute- Returns:
-
isGroupIdUniqueId
boolean isGroupIdUniqueId()If true, the group id is the same as the name. if false, then the group name needs to be looked up by the id.- Returns:
-
searchUsers
Search for users based on an LDAP filter- Parameters:
ldapFilter-- Returns:
- Throws:
ProvisioningException
-
searchGroups
Search for groups based on an LDAP filter- Parameters:
ldapFilter-- Returns:
- Throws:
ProvisioningException
-