Class DomainServiceImpl
java.lang.Object
org.apache.syncope.core.keymaster.rest.cxf.service.DomainServiceImpl
- All Implemented Interfaces:
Serializable,DomainService
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadjustPoolSize(String key, int poolMaxActive, int poolMinIdle) Adjusts the connection pool to the domain database.voidchangeAdminPassword(String key, String password, CipherAlgorithm cipherAlgorithm) Change admin's password for the given domain.Creates a new domain.voidDeletes the domain matching the provided key.voidNotify that the given domain is deployed.list()Returns the list of defined domains.Returns the domain matching the given key.
-
Field Details
-
uriInfo
-
logic
-
-
Constructor Details
-
DomainServiceImpl
-
-
Method Details
-
list
Description copied from interface:DomainServiceReturns the list of defined domains.- Specified by:
listin interfaceDomainService- Returns:
- list of defined domains
-
read
Description copied from interface:DomainServiceReturns the domain matching the given key.- Specified by:
readin interfaceDomainService- Parameters:
key- key of the domain to be read- Returns:
- domain matching the given key
-
create
Description copied from interface:DomainServiceCreates a new domain.- Specified by:
createin interfaceDomainService- Parameters:
domain- domain to be created- Returns:
- Response object featuring Location header of created domain
-
deployed
Description copied from interface:DomainServiceNotify that the given domain is deployed.- Specified by:
deployedin interfaceDomainService- Parameters:
key- key of domain to be updated
-
changeAdminPassword
Description copied from interface:DomainServiceChange admin's password for the given domain.- Specified by:
changeAdminPasswordin interfaceDomainService- Parameters:
key- key of domain to be updatedpassword- encoded password valuecipherAlgorithm- password cipher algorithm
-
adjustPoolSize
Description copied from interface:DomainServiceAdjusts the connection pool to the domain database.- Specified by:
adjustPoolSizein interfaceDomainService- Parameters:
key- key of domain to be updatedpoolMaxActive- database pool max sizepoolMinIdle- database pool max size
-
delete
Description copied from interface:DomainServiceDeletes the domain matching the provided key.- Specified by:
deletein interfaceDomainService- Parameters:
key- key of domain to be deleted
-