nl.surfnet.coin.teams.service.impl
Class GroupServiceBasicAuthentication
java.lang.Object
nl.surfnet.coin.teams.service.impl.AbstractGroupService
nl.surfnet.coin.teams.service.impl.GroupServiceBasicAuthentication
- All Implemented Interfaces:
- BasicAuthGroupService
@Component(value="basicAuthGroupService")
public class GroupServiceBasicAuthentication
- extends AbstractGroupService
- implements BasicAuthGroupService
Implementation for BasicAuthGroupService to supply external group
providers based on basic auth
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupServiceBasicAuthentication
public GroupServiceBasicAuthentication()
getGroup20Entry
public Group20Entry getGroup20Entry(GroupProvider groupProvider,
String personId,
int limit,
int offset)
- Description copied from interface:
BasicAuthGroupService
- Gets a
Group20Entry for the user's
- Specified by:
getGroup20Entry in interface BasicAuthGroupService
- Parameters:
groupProvider - GroupProvider for the settingslimit - maximum amount of Group20's in the resultsetoffset - start index
- Returns:
Group20Entry
getGroup20
public Group20 getGroup20(GroupProvider groupProvider,
String personId,
String groupId)
- Description copied from interface:
BasicAuthGroupService
- Gets a specific
Group20 for the users oauth configuration
- Specified by:
getGroup20 in interface BasicAuthGroupService
- Parameters:
groupProvider - GroupProvider for the settingsgroupId - identifier of the external group
- Returns:
Group20, can be null
getGroupMembersEntry
public GroupMembersEntry getGroupMembersEntry(GroupProvider groupProvider,
String personId,
String groupId,
int limit,
int offset)
- Description copied from interface:
BasicAuthGroupService
- Gets group members with paginating information for the user
- Specified by:
getGroupMembersEntry in interface BasicAuthGroupService
- Parameters:
groupProvider - GroupProvider for the settingsgroupId - the groupId as we know it in SURFconext context (e.g. urn:collab:group:myuniversity.nl:testgroup)limit - maximum number of itemsoffset - starting point for paging
- Returns:
GroupMembersEntry, can be null
Copyright © 2009-2013 SURFnet bv, The Netherlands. All Rights Reserved.