This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/master by this push:
new 42facabafb remove service annotation from spring beans (#1001)
42facabafb is described below
commit 42facabafbd3181e61f4c67a6a70b67daf4c1b54
Author: Misagh Moayyed <[email protected]>
AuthorDate: Tue Mar 4 13:53:12 2025 +0400
remove service annotation from spring beans (#1001)
---
.../src/main/java/org/apache/syncope/core/rest/cxf/RESTProperties.java | 2 ++
.../apache/syncope/core/rest/cxf/service/AccessTokenServiceImpl.java | 2 --
.../org/apache/syncope/core/rest/cxf/service/AnyObjectServiceImpl.java | 2 --
.../apache/syncope/core/rest/cxf/service/AnyTypeClassServiceImpl.java | 2 --
.../org/apache/syncope/core/rest/cxf/service/AnyTypeServiceImpl.java | 2 --
.../java/org/apache/syncope/core/rest/cxf/service/AuditServiceImpl.java | 2 --
.../org/apache/syncope/core/rest/cxf/service/CommandServiceImpl.java | 2 --
.../org/apache/syncope/core/rest/cxf/service/DelegationServiceImpl.java | 2 --
.../org/apache/syncope/core/rest/cxf/service/DynRealmServiceImpl.java | 2 --
.../org/apache/syncope/core/rest/cxf/service/FIQLQueryServiceImpl.java | 2 --
.../java/org/apache/syncope/core/rest/cxf/service/GroupServiceImpl.java | 2 --
.../apache/syncope/core/rest/cxf/service/ImplementationServiceImpl.java | 2 --
.../apache/syncope/core/rest/cxf/service/MailTemplateServiceImpl.java | 2 --
.../apache/syncope/core/rest/cxf/service/NotificationServiceImpl.java | 2 --
.../org/apache/syncope/core/rest/cxf/service/PolicyServiceImpl.java | 2 --
.../java/org/apache/syncope/core/rest/cxf/service/RealmServiceImpl.java | 2 --
.../syncope/core/rest/cxf/service/RelationshipTypeServiceImpl.java | 2 --
.../org/apache/syncope/core/rest/cxf/service/ReportServiceImpl.java | 2 --
.../java/org/apache/syncope/core/rest/cxf/service/RoleServiceImpl.java | 2 --
.../org/apache/syncope/core/rest/cxf/service/SchemaServiceImpl.java | 2 --
.../syncope/core/rest/cxf/service/SecurityQuestionServiceImpl.java | 2 --
.../org/apache/syncope/core/rest/cxf/service/SyncopeServiceImpl.java | 2 --
.../java/org/apache/syncope/core/rest/cxf/service/TaskServiceImpl.java | 2 --
.../org/apache/syncope/core/rest/cxf/service/UserSelfServiceImpl.java | 2 --
.../java/org/apache/syncope/core/rest/cxf/service/UserServiceImpl.java | 2 --
25 files changed, 2 insertions(+), 48 deletions(-)
diff --git
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/RESTProperties.java
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/RESTProperties.java
index 78176ee4b7..5fc8473f15 100644
---
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/RESTProperties.java
+++
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/RESTProperties.java
@@ -20,10 +20,12 @@ package org.apache.syncope.core.rest.cxf;
import org.apache.syncope.core.provisioning.java.ExecutorProperties;
import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.springframework.boot.context.properties.NestedConfigurationProperty;
@ConfigurationProperties("rest")
public class RESTProperties {
+ @NestedConfigurationProperty
private final ExecutorProperties batchExecutor = new ExecutorProperties();
public ExecutorProperties getBatchExecutor() {
diff --git
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/AccessTokenServiceImpl.java
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/AccessTokenServiceImpl.java
index 0497cd4e43..36e5b9b058 100644
---
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/AccessTokenServiceImpl.java
+++
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/AccessTokenServiceImpl.java
@@ -30,9 +30,7 @@ import
org.apache.syncope.common.rest.api.service.AccessTokenService;
import org.apache.syncope.core.logic.AccessTokenLogic;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Sort;
-import org.springframework.stereotype.Service;
-@Service
public class AccessTokenServiceImpl extends AbstractService implements
AccessTokenService {
protected final AccessTokenLogic logic;
diff --git
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/AnyObjectServiceImpl.java
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/AnyObjectServiceImpl.java
index b3a5256e01..7fc8c9af87 100644
---
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/AnyObjectServiceImpl.java
+++
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/AnyObjectServiceImpl.java
@@ -35,9 +35,7 @@ import org.apache.syncope.core.logic.AnyObjectLogic;
import org.apache.syncope.core.persistence.api.dao.AnyDAO;
import org.apache.syncope.core.persistence.api.dao.AnyObjectDAO;
import org.apache.syncope.core.persistence.api.search.SearchCondVisitor;
-import org.springframework.stereotype.Service;
-@Service
public class AnyObjectServiceImpl extends AbstractAnyService<AnyObjectTO,
AnyObjectCR, AnyObjectUR>
implements AnyObjectService {
diff --git
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/AnyTypeClassServiceImpl.java
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/AnyTypeClassServiceImpl.java
index 7e106662cb..cab8c83609 100644
---
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/AnyTypeClassServiceImpl.java
+++
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/AnyTypeClassServiceImpl.java
@@ -25,9 +25,7 @@ import org.apache.syncope.common.lib.to.AnyTypeClassTO;
import org.apache.syncope.common.rest.api.RESTHeaders;
import org.apache.syncope.common.rest.api.service.AnyTypeClassService;
import org.apache.syncope.core.logic.AnyTypeClassLogic;
-import org.springframework.stereotype.Service;
-@Service
public class AnyTypeClassServiceImpl extends AbstractService implements
AnyTypeClassService {
protected final AnyTypeClassLogic logic;
diff --git
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/AnyTypeServiceImpl.java
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/AnyTypeServiceImpl.java
index 439be42772..65f8898bc7 100644
---
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/AnyTypeServiceImpl.java
+++
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/AnyTypeServiceImpl.java
@@ -25,9 +25,7 @@ import org.apache.syncope.common.lib.to.AnyTypeTO;
import org.apache.syncope.common.rest.api.RESTHeaders;
import org.apache.syncope.common.rest.api.service.AnyTypeService;
import org.apache.syncope.core.logic.AnyTypeLogic;
-import org.springframework.stereotype.Service;
-@Service
public class AnyTypeServiceImpl extends AbstractService implements
AnyTypeService {
protected final AnyTypeLogic logic;
diff --git
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/AuditServiceImpl.java
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/AuditServiceImpl.java
index 32a9ea0c01..4d4578d462 100644
---
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/AuditServiceImpl.java
+++
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/AuditServiceImpl.java
@@ -27,9 +27,7 @@ import org.apache.syncope.common.rest.api.beans.AuditQuery;
import org.apache.syncope.common.rest.api.service.AuditService;
import org.apache.syncope.core.logic.AuditLogic;
import org.springframework.data.domain.Page;
-import org.springframework.stereotype.Service;
-@Service
public class AuditServiceImpl extends AbstractService implements AuditService {
protected final AuditLogic logic;
diff --git
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/CommandServiceImpl.java
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/CommandServiceImpl.java
index 1cc2d5285f..ccff1b598a 100644
---
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/CommandServiceImpl.java
+++
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/CommandServiceImpl.java
@@ -25,9 +25,7 @@ import org.apache.syncope.common.rest.api.beans.CommandQuery;
import org.apache.syncope.common.rest.api.service.CommandService;
import org.apache.syncope.core.logic.CommandLogic;
import org.springframework.data.domain.Page;
-import org.springframework.stereotype.Service;
-@Service
public class CommandServiceImpl extends AbstractService implements
CommandService {
protected final CommandLogic logic;
diff --git
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/DelegationServiceImpl.java
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/DelegationServiceImpl.java
index 76db286284..cfc916b705 100644
---
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/DelegationServiceImpl.java
+++
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/DelegationServiceImpl.java
@@ -25,9 +25,7 @@ import org.apache.syncope.common.lib.to.DelegationTO;
import org.apache.syncope.common.rest.api.RESTHeaders;
import org.apache.syncope.common.rest.api.service.DelegationService;
import org.apache.syncope.core.logic.DelegationLogic;
-import org.springframework.stereotype.Service;
-@Service
public class DelegationServiceImpl extends AbstractService implements
DelegationService {
protected final DelegationLogic logic;
diff --git
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/DynRealmServiceImpl.java
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/DynRealmServiceImpl.java
index f55a48244a..7a970bddd3 100644
---
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/DynRealmServiceImpl.java
+++
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/DynRealmServiceImpl.java
@@ -25,9 +25,7 @@ import org.apache.syncope.common.lib.to.DynRealmTO;
import org.apache.syncope.common.rest.api.RESTHeaders;
import org.apache.syncope.common.rest.api.service.DynRealmService;
import org.apache.syncope.core.logic.DynRealmLogic;
-import org.springframework.stereotype.Service;
-@Service
public class DynRealmServiceImpl extends AbstractService implements
DynRealmService {
protected final DynRealmLogic logic;
diff --git
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/FIQLQueryServiceImpl.java
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/FIQLQueryServiceImpl.java
index ba2f273101..f59758dd35 100644
---
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/FIQLQueryServiceImpl.java
+++
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/FIQLQueryServiceImpl.java
@@ -25,9 +25,7 @@ import org.apache.syncope.common.lib.to.FIQLQueryTO;
import org.apache.syncope.common.rest.api.RESTHeaders;
import org.apache.syncope.common.rest.api.service.FIQLQueryService;
import org.apache.syncope.core.logic.FIQLQueryLogic;
-import org.springframework.stereotype.Service;
-@Service
public class FIQLQueryServiceImpl extends AbstractService implements
FIQLQueryService {
protected final FIQLQueryLogic logic;
diff --git
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/GroupServiceImpl.java
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/GroupServiceImpl.java
index eb9bdd1e98..ecac8f0f82 100644
---
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/GroupServiceImpl.java
+++
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/GroupServiceImpl.java
@@ -32,9 +32,7 @@ import org.apache.syncope.core.logic.GroupLogic;
import org.apache.syncope.core.persistence.api.dao.AnyDAO;
import org.apache.syncope.core.persistence.api.dao.GroupDAO;
import org.apache.syncope.core.persistence.api.search.SearchCondVisitor;
-import org.springframework.stereotype.Service;
-@Service
public class GroupServiceImpl extends AbstractAnyService<GroupTO, GroupCR,
GroupUR> implements GroupService {
protected final GroupDAO groupDAO;
diff --git
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/ImplementationServiceImpl.java
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/ImplementationServiceImpl.java
index 85a5681ef4..0840efbb64 100644
---
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/ImplementationServiceImpl.java
+++
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/ImplementationServiceImpl.java
@@ -25,9 +25,7 @@ import org.apache.syncope.common.lib.to.ImplementationTO;
import org.apache.syncope.common.rest.api.RESTHeaders;
import org.apache.syncope.common.rest.api.service.ImplementationService;
import org.apache.syncope.core.logic.ImplementationLogic;
-import org.springframework.stereotype.Service;
-@Service
public class ImplementationServiceImpl extends AbstractService implements
ImplementationService {
protected final ImplementationLogic logic;
diff --git
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/MailTemplateServiceImpl.java
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/MailTemplateServiceImpl.java
index a45dfdcead..c1859b681b 100644
---
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/MailTemplateServiceImpl.java
+++
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/MailTemplateServiceImpl.java
@@ -32,9 +32,7 @@ import org.apache.syncope.common.lib.types.MailTemplateFormat;
import org.apache.syncope.common.rest.api.RESTHeaders;
import org.apache.syncope.common.rest.api.service.MailTemplateService;
import org.apache.syncope.core.logic.MailTemplateLogic;
-import org.springframework.stereotype.Service;
-@Service
public class MailTemplateServiceImpl extends AbstractService implements
MailTemplateService {
protected final MailTemplateLogic logic;
diff --git
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/NotificationServiceImpl.java
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/NotificationServiceImpl.java
index f4108ff304..f72a25309b 100644
---
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/NotificationServiceImpl.java
+++
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/NotificationServiceImpl.java
@@ -27,9 +27,7 @@ import org.apache.syncope.common.lib.types.JobAction;
import org.apache.syncope.common.rest.api.RESTHeaders;
import org.apache.syncope.common.rest.api.service.NotificationService;
import org.apache.syncope.core.logic.NotificationLogic;
-import org.springframework.stereotype.Service;
-@Service
public class NotificationServiceImpl extends AbstractService implements
NotificationService {
protected final NotificationLogic logic;
diff --git
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/PolicyServiceImpl.java
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/PolicyServiceImpl.java
index 033457c97f..9bca037479 100644
---
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/PolicyServiceImpl.java
+++
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/PolicyServiceImpl.java
@@ -26,9 +26,7 @@ import org.apache.syncope.common.lib.types.PolicyType;
import org.apache.syncope.common.rest.api.RESTHeaders;
import org.apache.syncope.common.rest.api.service.PolicyService;
import org.apache.syncope.core.logic.PolicyLogic;
-import org.springframework.stereotype.Service;
-@Service
public class PolicyServiceImpl extends AbstractService implements
PolicyService {
protected final PolicyLogic logic;
diff --git
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/RealmServiceImpl.java
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/RealmServiceImpl.java
index afd134a7ad..44fb4d8b0f 100644
---
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/RealmServiceImpl.java
+++
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/RealmServiceImpl.java
@@ -31,9 +31,7 @@ import org.apache.syncope.common.rest.api.beans.RealmQuery;
import org.apache.syncope.common.rest.api.service.RealmService;
import org.apache.syncope.core.logic.RealmLogic;
import org.springframework.data.domain.Page;
-import org.springframework.stereotype.Service;
-@Service
public class RealmServiceImpl extends AbstractService implements RealmService {
protected final RealmLogic logic;
diff --git
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/RelationshipTypeServiceImpl.java
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/RelationshipTypeServiceImpl.java
index e72c2fb206..5598854389 100644
---
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/RelationshipTypeServiceImpl.java
+++
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/RelationshipTypeServiceImpl.java
@@ -25,9 +25,7 @@ import org.apache.syncope.common.lib.to.RelationshipTypeTO;
import org.apache.syncope.common.rest.api.RESTHeaders;
import org.apache.syncope.common.rest.api.service.RelationshipTypeService;
import org.apache.syncope.core.logic.RelationshipTypeLogic;
-import org.springframework.stereotype.Service;
-@Service
public class RelationshipTypeServiceImpl extends AbstractService implements
RelationshipTypeService {
protected final RelationshipTypeLogic logic;
diff --git
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/ReportServiceImpl.java
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/ReportServiceImpl.java
index dfca245015..4267a26fd8 100644
---
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/ReportServiceImpl.java
+++
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/ReportServiceImpl.java
@@ -28,9 +28,7 @@ import org.apache.syncope.common.rest.api.RESTHeaders;
import org.apache.syncope.common.rest.api.service.ReportService;
import org.apache.syncope.core.logic.AbstractExecutableLogic;
import org.apache.syncope.core.logic.ReportLogic;
-import org.springframework.stereotype.Service;
-@Service
public class ReportServiceImpl extends AbstractExecutableService implements
ReportService {
protected final ReportLogic logic;
diff --git
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/RoleServiceImpl.java
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/RoleServiceImpl.java
index 5707c8d97e..9b2c717e8a 100644
---
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/RoleServiceImpl.java
+++
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/RoleServiceImpl.java
@@ -32,9 +32,7 @@ import org.apache.syncope.common.lib.to.RoleTO;
import org.apache.syncope.common.rest.api.RESTHeaders;
import org.apache.syncope.common.rest.api.service.RoleService;
import org.apache.syncope.core.logic.RoleLogic;
-import org.springframework.stereotype.Service;
-@Service
public class RoleServiceImpl extends AbstractService implements RoleService {
protected final RoleLogic logic;
diff --git
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/SchemaServiceImpl.java
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/SchemaServiceImpl.java
index a2eb19e81f..0fa02c1ab3 100644
---
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/SchemaServiceImpl.java
+++
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/SchemaServiceImpl.java
@@ -30,9 +30,7 @@ import org.apache.syncope.common.rest.api.beans.SchemaQuery;
import org.apache.syncope.common.rest.api.service.SchemaService;
import org.apache.syncope.core.logic.SchemaLogic;
import org.identityconnectors.common.CollectionUtil;
-import org.springframework.stereotype.Service;
-@Service
public class SchemaServiceImpl extends AbstractService implements
SchemaService {
protected final SchemaLogic logic;
diff --git
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/SecurityQuestionServiceImpl.java
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/SecurityQuestionServiceImpl.java
index 57a0e65942..8db62383c1 100644
---
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/SecurityQuestionServiceImpl.java
+++
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/SecurityQuestionServiceImpl.java
@@ -25,9 +25,7 @@ import org.apache.syncope.common.lib.to.SecurityQuestionTO;
import org.apache.syncope.common.rest.api.RESTHeaders;
import org.apache.syncope.common.rest.api.service.SecurityQuestionService;
import org.apache.syncope.core.logic.SecurityQuestionLogic;
-import org.springframework.stereotype.Service;
-@Service
public class SecurityQuestionServiceImpl extends AbstractService implements
SecurityQuestionService {
protected final SecurityQuestionLogic logic;
diff --git
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/SyncopeServiceImpl.java
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/SyncopeServiceImpl.java
index 51856f863b..4265d36c9c 100644
---
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/SyncopeServiceImpl.java
+++
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/SyncopeServiceImpl.java
@@ -56,9 +56,7 @@ import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Sort;
import org.springframework.security.core.context.SecurityContextHolder;
-import org.springframework.stereotype.Service;
-@Service
public class SyncopeServiceImpl extends AbstractService implements
SyncopeService {
protected final SyncopeLogic logic;
diff --git
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/TaskServiceImpl.java
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/TaskServiceImpl.java
index 374fbfb576..79e8b50542 100644
---
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/TaskServiceImpl.java
+++
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/TaskServiceImpl.java
@@ -41,10 +41,8 @@ import
org.apache.syncope.common.rest.api.service.TaskService;
import org.apache.syncope.core.logic.AbstractExecutableLogic;
import org.apache.syncope.core.logic.TaskLogic;
import org.springframework.data.domain.Page;
-import org.springframework.stereotype.Service;
import org.springframework.util.CollectionUtils;
-@Service
public class TaskServiceImpl extends AbstractExecutableService implements
TaskService {
protected final TaskLogic logic;
diff --git
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/UserSelfServiceImpl.java
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/UserSelfServiceImpl.java
index 8a367c6540..bda29069d6 100644
---
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/UserSelfServiceImpl.java
+++
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/UserSelfServiceImpl.java
@@ -34,9 +34,7 @@ import
org.apache.syncope.common.rest.api.beans.ComplianceQuery;
import org.apache.syncope.common.rest.api.service.UserSelfService;
import org.apache.syncope.core.logic.SyncopeLogic;
import org.apache.syncope.core.logic.UserLogic;
-import org.springframework.stereotype.Service;
-@Service
public class UserSelfServiceImpl extends AbstractService implements
UserSelfService {
protected final UserLogic logic;
diff --git
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/UserServiceImpl.java
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/UserServiceImpl.java
index efab150423..85d3161b8d 100644
---
a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/UserServiceImpl.java
+++
b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/UserServiceImpl.java
@@ -31,9 +31,7 @@ import org.apache.syncope.core.logic.UserLogic;
import org.apache.syncope.core.persistence.api.dao.AnyDAO;
import org.apache.syncope.core.persistence.api.dao.UserDAO;
import org.apache.syncope.core.persistence.api.search.SearchCondVisitor;
-import org.springframework.stereotype.Service;
-@Service
public class UserServiceImpl extends AbstractAnyService<UserTO, UserCR,
UserUR> implements UserService {
protected final UserDAO userDAO;