Class IdMServiceImpl

java.lang.Object
org.opendaylight.aaa.api.IdMServiceImpl
All Implemented Interfaces:
IdMService

public class IdMServiceImpl extends Object implements IdMService
IdMService implementation.
Author:
Michael Vorburger, partially based on code refactored from IdmLightProxy and StoreBuilder
  • Constructor Details

    • IdMServiceImpl

      public IdMServiceImpl(IIDMStore repository)
  • Method Details

    • listDomains

      public List<String> listDomains(String userId)
      Description copied from interface: IdMService
      List all domains that the given user has at least one role on.
      Specified by:
      listDomains in interface IdMService
      Parameters:
      userId - id of user
      Returns:
      list of all domains that the given user has access to
    • listRoles

      public List<String> listRoles(String userId, String domainName)
      Description copied from interface: IdMService
      List all roles that the given user has on the given domain.
      Specified by:
      listRoles in interface IdMService
      Parameters:
      userId - id of user
      domainName - name of domain
      Returns:
      list of roles
    • listUserIDs

      public List<String> listUserIDs() throws IDMStoreException
      Description copied from interface: IdMService
      List all user IDs.
      Specified by:
      listUserIDs in interface IdMService
      Returns:
      list of all user IDs
      Throws:
      IDMStoreException - if the user IDs could not be read from an IIDMStore