Package org.apache.syncope.core.logic
Class DomainLogic
- java.lang.Object
-
- org.apache.syncope.core.logic.AbstractLogic<T>
-
- org.apache.syncope.core.logic.AbstractTransactionalLogic<EntityTO>
-
- org.apache.syncope.core.logic.DomainLogic
-
public class DomainLogic extends AbstractTransactionalLogic<EntityTO>
-
-
Field Summary
Fields Modifier and Type Field Description protected DomainDAO
domainDAO
protected DomainWatcher
domainWatcher
protected SelfKeymasterEntityFactory
entityFactory
-
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
-
Constructor Summary
Constructors Constructor Description DomainLogic(DomainDAO domainDAO, SelfKeymasterEntityFactory entityFactory, DomainWatcher domainWatcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
adjustPoolSize(String key, int poolMaxActive, int poolMinIdle)
void
changeAdminPassword(String key, String password, CipherAlgorithm cipherAlgorithm)
Domain
create(Domain domain)
void
delete(String key)
List<Domain>
list()
Domain
read(String key)
protected EntityTO
resolveReference(Method method, Object... args)
-
Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
-
-
-
Field Detail
-
domainDAO
protected final DomainDAO domainDAO
-
entityFactory
protected final SelfKeymasterEntityFactory entityFactory
-
domainWatcher
protected final DomainWatcher domainWatcher
-
-
Constructor Detail
-
DomainLogic
public DomainLogic(DomainDAO domainDAO, SelfKeymasterEntityFactory entityFactory, DomainWatcher domainWatcher)
-
-
Method Detail
-
list
@PreAuthorize("@environment.getProperty(\'keymaster.username\') == authentication.name") public List<Domain> list()
-
read
@PreAuthorize("@environment.getProperty(\'keymaster.username\') == authentication.name") public Domain read(String key)
-
create
@PreAuthorize("@environment.getProperty(\'keymaster.username\') == authentication.name") public Domain create(Domain domain)
-
changeAdminPassword
@PreAuthorize("@environment.getProperty(\'keymaster.username\') == authentication.name") public void changeAdminPassword(String key, String password, CipherAlgorithm cipherAlgorithm)
-
adjustPoolSize
@PreAuthorize("@environment.getProperty(\'keymaster.username\') == authentication.name") public void adjustPoolSize(String key, int poolMaxActive, int poolMinIdle)
-
delete
@PreAuthorize("@environment.getProperty(\'keymaster.username\') == authentication.name") public void delete(String key)
-
resolveReference
protected EntityTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException
- Specified by:
resolveReference
in classAbstractLogic<EntityTO>
- Throws:
UnresolvedReferenceException
-
-