Class DomainServiceImpl

java.lang.Object
org.apache.syncope.core.keymaster.rest.cxf.service.DomainServiceImpl
All Implemented Interfaces:
Serializable, DomainService

public class DomainServiceImpl extends Object implements DomainService
See Also:
  • Field Details

  • Constructor Details

    • DomainServiceImpl

      public DomainServiceImpl(DomainLogic logic)
  • Method Details

    • list

      public List<Domain> list()
      Description copied from interface: DomainService
      Returns the list of defined domains.
      Specified by:
      list in interface DomainService
      Returns:
      list of defined domains
    • read

      public Domain read(String key)
      Description copied from interface: DomainService
      Returns the domain matching the given key.
      Specified by:
      read in interface DomainService
      Parameters:
      key - key of the domain to be read
      Returns:
      domain matching the given key
    • create

      public Response create(Domain domain)
      Description copied from interface: DomainService
      Creates a new domain.
      Specified by:
      create in interface DomainService
      Parameters:
      domain - domain to be created
      Returns:
      Response object featuring Location header of created domain
    • deployed

      public void deployed(String key)
      Description copied from interface: DomainService
      Notify that the given domain is deployed.
      Specified by:
      deployed in interface DomainService
      Parameters:
      key - key of domain to be updated
    • changeAdminPassword

      public void changeAdminPassword(String key, String password, CipherAlgorithm cipherAlgorithm)
      Description copied from interface: DomainService
      Change admin's password for the given domain.
      Specified by:
      changeAdminPassword in interface DomainService
      Parameters:
      key - key of domain to be updated
      password - encoded password value
      cipherAlgorithm - password cipher algorithm
    • adjustPoolSize

      public void adjustPoolSize(String key, int poolMaxActive, int poolMinIdle)
      Description copied from interface: DomainService
      Adjusts the connection pool to the domain database.
      Specified by:
      adjustPoolSize in interface DomainService
      Parameters:
      key - key of domain to be updated
      poolMaxActive - database pool max size
      poolMinIdle - database pool max size
    • delete

      public void delete(String key)
      Description copied from interface: DomainService
      Deletes the domain matching the provided key.
      Specified by:
      delete in interface DomainService
      Parameters:
      key - key of domain to be deleted