Package org.opendaylight.aaa.api
Class IdMServiceImpl
java.lang.Object
org.opendaylight.aaa.api.IdMServiceImpl
- All Implemented Interfaces:
IdMService
IdMService implementation.
- Author:
- Michael Vorburger, partially based on code refactored from IdmLightProxy and StoreBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlistDomains
(String userId) List all domains that the given user has at least one role on.List all roles that the given user has on the given domain.List all user IDs.
-
Constructor Details
-
IdMServiceImpl
-
-
Method Details
-
listDomains
Description copied from interface:IdMService
List all domains that the given user has at least one role on.- Specified by:
listDomains
in interfaceIdMService
- Parameters:
userId
- id of user- Returns:
- list of all domains that the given user has access to
-
listRoles
Description copied from interface:IdMService
List all roles that the given user has on the given domain.- Specified by:
listRoles
in interfaceIdMService
- Parameters:
userId
- id of userdomainName
- name of domain- Returns:
- list of roles
-
listUserIDs
Description copied from interface:IdMService
List all user IDs.- Specified by:
listUserIDs
in interfaceIdMService
- Returns:
- list of all user IDs
- Throws:
IDMStoreException
- if the user IDs could not be read from an IIDMStore
-