Package org.apache.syncope.core.logic.wa
Class WAConfigLogic
- java.lang.Object
-
- org.apache.syncope.core.logic.AbstractLogic<T>
-
- org.apache.syncope.core.logic.AbstractTransactionalLogic<EntityTO>
-
- org.apache.syncope.core.logic.wa.WAConfigLogic
-
public class WAConfigLogic extends AbstractTransactionalLogic<EntityTO>
-
-
Field Summary
Fields Modifier and Type Field Description protected WAConfigDataBinder
binder
protected SecurityProperties
securityProperties
protected ServiceOps
serviceOps
protected WAConfigDAO
waConfigDAO
-
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
-
Constructor Summary
Constructors Constructor Description WAConfigLogic(ServiceOps serviceOps, WAConfigDataBinder binder, WAConfigDAO waConfigDAO, SecurityProperties securityProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(String key)
Attr
get(String schema)
List<Attr>
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
set(Attr value)
-
Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
-
-
-
Field Detail
-
serviceOps
protected final ServiceOps serviceOps
-
binder
protected final WAConfigDataBinder binder
-
waConfigDAO
protected final WAConfigDAO waConfigDAO
-
securityProperties
protected final SecurityProperties securityProperties
-
-
Constructor Detail
-
WAConfigLogic
public WAConfigLogic(ServiceOps serviceOps, WAConfigDataBinder binder, WAConfigDAO waConfigDAO, SecurityProperties securityProperties)
-
-
Method Detail
-
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 schema)
-
set
@PreAuthorize("hasRole(\'WA_CONFIG_SET\')") public void set(Attr value)
-
delete
@PreAuthorize("hasRole(\'WA_CONFIG_DELETE\')") public void delete(String key)
-
registeredServices
protected void registeredServices(HttpClient client, String serviceAddress)
-
refresh
protected void refresh(HttpClient client, String serviceAddress)
-
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
-
-