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
FieldsModifier and TypeFieldDescriptionprotected final WAConfigDataBinderprotected final SecurityPropertiesprotected final ServiceOpsprotected final WAConfigDAOFields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG -
Constructor Summary
ConstructorsConstructorDescriptionWAConfigLogic(ServiceOps serviceOps, WAConfigDataBinder binder, WAConfigDAO waConfigDAO, SecurityProperties securityProperties) -
Method Summary
Modifier and TypeMethodDescriptionvoidlist()voidpushToWA(WAConfigService.PushSubject subject, List<String> services) protected voidrefresh(HttpClient client, String serviceAddress) protected voidregisteredServices(HttpClient client, String serviceAddress) protected EntityTOresolveReference(Method method, Object... args) voidMethods 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:
resolveReferencein classAbstractLogic<EntityTO>- Throws:
UnresolvedReferenceException
-