Package org.apache.syncope.core.logic.wa
Class WAConfigLogic
java.lang.Object
org.apache.syncope.core.logic.AbstractLogic<EntityTO>
org.apache.syncope.core.logic.AbstractTransactionalLogic<EntityTO>
org.apache.syncope.core.logic.wa.WAConfigLogic
-
Field Summary
Modifier and TypeFieldDescriptionprotected final WAConfigDataBinder
protected final SecurityProperties
protected final ServiceOps
protected final WAConfigDAO
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
Constructor Summary
ConstructorDescriptionWAConfigLogic
(ServiceOps serviceOps, WAConfigDataBinder binder, WAConfigDAO waConfigDAO, SecurityProperties securityProperties) -
Method Summary
Modifier and TypeMethodDescriptionvoid
list()
void
pushToWA
(WAConfigService.PushSubject subject, List<String> services) protected void
refresh
(HttpClient client, String serviceAddress) protected void
registeredServices
(HttpClient client, String serviceAddress) protected EntityTO
resolveReference
(Method method, Object... args) void
Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
Field Details
-
serviceOps
-
binder
-
waConfigDAO
-
securityProperties
-
-
Constructor Details
-
WAConfigLogic
public WAConfigLogic(ServiceOps serviceOps, WAConfigDataBinder binder, WAConfigDAO waConfigDAO, SecurityProperties securityProperties)
-
-
Method Details
-
list
@PreAuthorize("hasRole(\'WA_CONFIG_LIST\') or hasRole(\'ANONYMOUS\')") @Transactional(readOnly=true) public List<Attr> list() -
get
@PreAuthorize("hasRole(\'WA_CONFIG_GET\')") @Transactional(readOnly=true) public Attr get(String key) -
set
-
delete
-
registeredServices
-
refresh
-
pushToWA
@PreAuthorize("hasRole(\'WA_CONFIG_PUSH\')") public void pushToWA(WAConfigService.PushSubject subject, List<String> services) -
resolveReference
protected EntityTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException - Specified by:
resolveReference
in classAbstractLogic<EntityTO>
- Throws:
UnresolvedReferenceException
-