IdentityServiceImpl

public class IdentityServiceImpl extends AbstractIdleService
implements IdentityService

Access point between the connector developer and Google APIs for syncing identities.

Nested Class Summary

class IdentityServiceImpl.Builder Builder for creating an instance of IdentityService  

Public Method Summary

ListenableFuture<Operation>
createGroup(Group group)
Creates a Group using Cloud Identity Groups API.
ListenableFuture<Operation>
createMembership(String groupId, Membership member)
Creates a Membership under group identified by groupId using Cloud Identity Groups API.
ListenableFuture<Operation>
deleteGroup(String groupId)
Deletes a Group using Cloud Identity Groups API.
ListenableFuture<Operation>
deleteMembership(String memberId)
Deletes a Membership using Cloud Identity Groups API.
ListenableFuture<Group>
getGroup(String groupId)
Gets a Group from Cloud Identity Groups API.
ListenableFuture<Membership>
getMembership(String memberId)
Gets a Membership from Cloud Identity Groups API.
ListenableFuture<User>
getUserMapping(String userId)
Gets User from Google Admin SDK API.
Iterable<Group>
listGroups(String groupNamespace)
List all Groups available under given groupNamespace
Iterable<Membership>
listMembers(String groupId)
List all Memberships under given groupId
Iterable<User>
listUsers(String schemaName)
Lists all Users using Google Admin SDK API.
ListenableFuture<User>
updateUserMapping(String userId, String schemaName, String attributeName, Optional<String> value)
Updates User's custom schema attributes using Google Admin SDK API.

Inherited Method Summary

Public Methods

public ListenableFuture<Operation> createGroup (Group group)

Creates a Group using Cloud Identity Groups API.

Parameters
group
Throws
IOException

public ListenableFuture<Operation> createMembership (String groupId, Membership member)

Creates a Membership under group identified by groupId using Cloud Identity Groups API.

Parameters
groupId
member
Throws
IOException

public ListenableFuture<Operation> deleteGroup (String groupId)

Deletes a Group using Cloud Identity Groups API.

Parameters
groupId
Throws
IOException

public ListenableFuture<Operation> deleteMembership (String memberId)

Deletes a Membership using Cloud Identity Groups API.

Parameters
memberId
Throws
IOException

public ListenableFuture<Group> getGroup (String groupId)

Gets a Group from Cloud Identity Groups API.

Parameters
groupId
Throws
IOException

public ListenableFuture<Membership> getMembership (String memberId)

Gets a Membership from Cloud Identity Groups API.

Parameters
memberId
Throws
IOException

public ListenableFuture<User> getUserMapping (String userId)

Gets User from Google Admin SDK API.

Parameters
userId
Throws
IOException

public Iterable<Group> listGroups (String groupNamespace)

List all Groups available under given groupNamespace

Parameters
groupNamespace
Throws
IOException

public Iterable<Membership> listMembers (String groupId)

List all Memberships under given groupId

Parameters
groupId
Throws
IOException

public Iterable<User> listUsers (String schemaName)

Lists all Users using Google Admin SDK API.

Parameters
schemaName
Throws
IOException

public ListenableFuture<User> updateUserMapping (String userId, String schemaName, String attributeName, Optional<String> value)

Updates User's custom schema attributes using Google Admin SDK API.

Parameters
userId
schemaName
attributeName
value
Throws
IOException