public interface Provider
| Modifier and Type | Interface and Description |
|---|---|
static class |
Provider.Configuration |
| Modifier and Type | Method and Description |
|---|---|
List<Group> |
getAllGroups()
All groups
|
Optional<Group> |
getGroupMembership(String uid,
String groupId) |
List<Group> |
getGroupMemberships(String uid) |
List<Member> |
getMembers(String groupId)
Get all members of a group
|
boolean |
isExternalGroupProvider() |
boolean |
shouldBeQueriedForGroup(String groupId)
Tells us if it is worthwhile calling this client when returning a single specified group for an user
|
boolean |
shouldBeQueriedForMembers(String groupId)
Tells us if it is worthwhile calling this client when returning all members of a group
|
boolean |
shouldBeQueriedForMemberships(String schacHomeOrganization)
Tells us if it is worthwhile calling this client when returning all groups for an user
|
boolean shouldBeQueriedForMemberships(String schacHomeOrganization)
schacHomeOrganization - the end-user's schacHomeOrgboolean shouldBeQueriedForGroup(String groupId)
groupId - the group being requested (must be fully qualified persistent name or the unqualified Institution name)boolean isExternalGroupProvider()
List<Group> getGroupMemberships(String uid)
uid - the fully qualified uidOptional<Group> getGroupMembership(String uid, String groupId)
uid - the fully qualified uidgroupId - the fully qualified uid groupIdList<Member> getMembers(String groupId)
groupId - the fully qualified uid groupIdboolean shouldBeQueriedForMembers(String groupId)
groupId - the fully qualified uid groupIdCopyright © 2016 Pivotal Software, Inc.. All rights reserved.