You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by jb...@apache.org on 2012/11/05 16:00:11 UTC

svn commit: r1405820 [1/8] - in /incubator/syncope/branches/cxf: ./ archetype/ build-tools/ client/ client/src/main/java/org/apache/syncope/annotation/ client/src/main/java/org/apache/syncope/client/ client/src/main/java/org/apache/syncope/client/mod/ ...

Author: jbernhardt
Date: Mon Nov  5 15:00:01 2012
New Revision: 1405820

URL: http://svn.apache.org/viewvc?rev=1405820&view=rev
Log:
Refactored module structure. Introduced common module.
(Build still unstable)

Added:
    incubator/syncope/branches/cxf/common/
    incubator/syncope/branches/cxf/common/.externalToolBuilders/
    incubator/syncope/branches/cxf/common/.externalToolBuilders/Maven_Ant_Builder.launch
    incubator/syncope/branches/cxf/common/maven-eclipse.xml
    incubator/syncope/branches/cxf/common/pom.xml
    incubator/syncope/branches/cxf/common/src/
    incubator/syncope/branches/cxf/common/src/main/
    incubator/syncope/branches/cxf/common/src/main/java/
    incubator/syncope/branches/cxf/common/src/main/java/org/
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/AbstractBaseBean.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/SyncopeConstants.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/annotation/
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/annotation/FormAttributeField.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/annotation/SchemaList.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/AbstractAttributableMod.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/AttributeMod.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/MembershipMod.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/ReferenceMod.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/RoleMod.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/UserMod.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/report/
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/report/AbstractReportletConf.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/report/ReportletConf.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/report/StaticReportletConf.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/report/UserReportletConf.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/search/
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/search/AttributeCond.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/search/MembershipCond.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/search/NodeCond.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/search/ResourceCond.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/search/SyncopeUserCond.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/AbstractAttributableTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/AbstractExecTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/AccountPolicyTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/AttributeTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/ConfigurationTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/ConnBundleTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/ConnInstanceTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/ConnObjectTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/DerivedSchemaTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/LoggerTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/MembershipTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/NotificationTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/NotificationTaskTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/PasswordPolicyTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/PolicyTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/PropagationTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/PropagationTaskTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/ReportExecTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/ReportTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/ResourceTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/RoleTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/SchedTaskTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/SchemaMappingTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/SchemaTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/SyncPolicyTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/SyncTaskTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/TaskExecTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/TaskTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/UserRequestTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/UserTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/VirtualSchemaTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/WorkflowDefinitionTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/WorkflowFormPropertyTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/to/WorkflowFormTO.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/AbstractPolicySpec.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/AccountPolicySpec.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/AttributableType.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/AuditElements.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/AuditLoggerName.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/CipherAlgorithm.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/ConflictResolutionAction.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/ConnConfPropSchema.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/ConnConfProperty.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/ConnParameterType.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/ConnectorCapability.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/EntityViolationType.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/IntMappingType.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/PasswordPolicySpec.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/PolicyType.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/PropagationMode.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/PropagationOperation.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/PropagationTaskExecStatus.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/ReportExecExportFormat.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/ReportExecStatus.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/SchemaType.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/SyncPolicySpec.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/SyncopeClientExceptionType.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/SyncopeLoggerLevel.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/SyncopeLoggerType.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/TraceLevel.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/UserRequestType.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/WorkflowFormPropertyType.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/types/package-info.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/util/
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/util/AttributableOperations.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/util/XMLSerializer.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/validation/
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/validation/SyncopeClientCompositeErrorException.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/validation/SyncopeClientErrorHandler.java
    incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/validation/SyncopeClientException.java
    incubator/syncope/branches/cxf/common/src/main/resources/
    incubator/syncope/branches/cxf/common/src/test/
    incubator/syncope/branches/cxf/common/src/test/java/
    incubator/syncope/branches/cxf/common/src/test/resources/
Removed:
    incubator/syncope/branches/cxf/client/src/main/java/org/apache/syncope/annotation/
    incubator/syncope/branches/cxf/client/src/main/java/org/apache/syncope/client/AbstractBaseBean.java
    incubator/syncope/branches/cxf/client/src/main/java/org/apache/syncope/client/SyncopeConstants.java
    incubator/syncope/branches/cxf/client/src/main/java/org/apache/syncope/client/mod/
    incubator/syncope/branches/cxf/client/src/main/java/org/apache/syncope/client/report/
    incubator/syncope/branches/cxf/client/src/main/java/org/apache/syncope/client/search/
    incubator/syncope/branches/cxf/client/src/main/java/org/apache/syncope/client/to/
    incubator/syncope/branches/cxf/client/src/main/java/org/apache/syncope/client/util/
    incubator/syncope/branches/cxf/client/src/main/java/org/apache/syncope/client/validation/
    incubator/syncope/branches/cxf/client/src/main/java/org/apache/syncope/types/
Modified:
    incubator/syncope/branches/cxf/archetype/pom.xml
    incubator/syncope/branches/cxf/build-tools/pom.xml
    incubator/syncope/branches/cxf/client/pom.xml
    incubator/syncope/branches/cxf/client/src/test/java/org/apache/syncope/client/test/JSONTest.java
    incubator/syncope/branches/cxf/console/pom.xml
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/commons/RoleTreeBuilder.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/commons/SearchCondWrapper.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/commons/SortableUserProviderComparator.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/commons/StatusUtils.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/commons/UserDataProvider.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/AbstractSchedTaskModalPage.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/AbstractSchemaModalPage.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/ApprovalModalPage.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/BasePage.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/Configuration.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/ConfigurationModalPage.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/ConnectorModalPage.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/DerivedSchemaModalPage.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/DisplayAttributesModalPage.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/EditUserModalPage.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/Login.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/MembershipModalPage.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/NotificationModalPage.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/NotificationTaskModalPage.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/PolicyModalPage.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/PropagationTaskModalPage.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/ReportModalPage.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/ReportletConfModalPage.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/Reports.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/ResourceModalPage.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/Resources.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/RoleModalPage.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/RoleOwnerSelectModalPage.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/SchedTaskModalPage.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/Schema.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/SchemaModalPage.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/StatusModalPage.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/SyncTaskModalPage.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/TaskModalPage.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/Tasks.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/Todo.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/UserModalPage.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/UserOwnerSelectModalPage.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/UserRequestModalPage.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/UserTemplateModalPage.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/Users.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/VirtualSchemaModalPage.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/panels/AccountInformationPanel.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/panels/AttributesPanel.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/panels/DerivedAttributesPanel.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/panels/MembershipsPanel.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/panels/NotificationTasks.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/panels/PoliciesPanel.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/panels/PropagationTasks.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/panels/ResourceConnConfPanel.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/panels/ResourceDetailsPanel.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/panels/ResourceMappingPanel.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/panels/ResourceSecurityPanel.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/panels/ResourcesPanel.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/panels/ResultSetPanel.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/panels/RoleDetailsPanel.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/panels/RolePanel.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/panels/RoleSecurityPanel.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/panels/RoleSummaryPanel.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/panels/RoleTabPanel.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/panels/SchedTasks.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/panels/SelectOnlyResultSetPanel.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/panels/StatusPanel.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/panels/SyncTasks.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/panels/UserDetailsPanel.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/panels/UserManagementResultPanel.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/panels/UserSearchPanel.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/pages/panels/VirtualAttributesPanel.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/rest/ApprovalRestClient.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/rest/ConfigurationRestClient.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/rest/ConnectorRestClient.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/rest/EntitlementRestClient.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/rest/ExecutionRestClient.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/rest/LoggerRestClient.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/rest/NotificationRestClient.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/rest/PolicyRestClient.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/rest/ReportRestClient.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/rest/ResourceRestClient.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/rest/RoleRestClient.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/rest/SchemaRestClient.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/rest/TaskRestClient.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/rest/UserRequestRestClient.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/rest/UserRestClient.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/rest/WorkflowRestClient.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/wicket/extensions/markup/html/repeater/data/table/TokenColumn.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/wicket/extensions/markup/html/repeater/data/table/UserAttrColumn.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/wicket/markup/html/form/DateFieldPanel.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/wicket/markup/html/form/DateTimeFieldPanel.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/wicket/markup/html/tree/TreeActionLinkPanel.java
    incubator/syncope/branches/cxf/console/src/main/java/org/apache/syncope/console/wicket/markup/html/tree/TreeRolePanel.java
    incubator/syncope/branches/cxf/console/src/main/resources/applicationContext.xml
    incubator/syncope/branches/cxf/core/pom.xml
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/notification/NotificationJob.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/persistence/beans/AbstractAttrValue.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/persistence/beans/AbstractBaseBean.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/persistence/beans/ConnInstance.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/persistence/beans/ExternalResource.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/persistence/beans/Notification.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/persistence/beans/Policy.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/persistence/beans/PropagationTask.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/persistence/beans/Report.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/persistence/beans/ReportletConfInstance.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/persistence/beans/SyncTask.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/persistence/beans/UserRequest.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/persistence/dao/UserSearchDAO.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/persistence/dao/impl/UserSearchDAOImpl.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/persistence/validation/entity/ReportValidator.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/policy/AccountPolicyEnforcer.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/propagation/PropagationManager.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/report/AbstractReportlet.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/report/ReportJob.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/report/Reportlet.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/report/ReportletConfClass.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/report/StaticReportlet.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/report/UserReportlet.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/controller/AbstractController.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/controller/ConfigurationController.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/controller/ConnInstanceController.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/controller/DerivedSchemaController.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/controller/LoggerController.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/controller/NotificationController.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/controller/PolicyController.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/controller/ReportController.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/controller/ResourceController.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/controller/RoleController.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/controller/SchemaController.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/controller/TaskController.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/controller/UserController.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/controller/UserRequestController.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/controller/VirtualSchemaController.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/controller/WorkflowController.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/data/AbstractAttributableDataBinder.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/data/ConfigurationDataBinder.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/data/ConnInstanceDataBinder.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/data/DerivedSchemaDataBinder.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/data/NotificationDataBinder.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/data/PolicyDataBinder.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/data/ReportDataBinder.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/data/ResourceDataBinder.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/data/RoleDataBinder.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/data/SchemaDataBinder.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/data/TaskDataBinder.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/data/UserDataBinder.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/data/UserRequestDataBinder.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/rest/data/VirtualSchemaDataBinder.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/sync/DefaultSyncActions.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/sync/SyncActions.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/sync/SyncopeSyncResultHanlder.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/util/ConnObjectUtil.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/util/ImportExport.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/util/JexlUtil.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/util/TaskUtil.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/workflow/AbstractUserWorkflowAdapter.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/workflow/ActivitiUserWorkflowAdapter.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/workflow/NoOpUserWorkflowAdapter.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/workflow/UserWorkflowAdapter.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/workflow/activiti/Create.java
    incubator/syncope/branches/cxf/core/src/main/java/org/apache/syncope/core/workflow/activiti/Update.java
    incubator/syncope/branches/cxf/core/src/main/webapp/cacheStats.jsp
    incubator/syncope/branches/cxf/core/src/main/webapp/syncopeClientError.jsp
    incubator/syncope/branches/cxf/core/src/test/java/org/apache/syncope/core/notification/NotificationTest.java
    incubator/syncope/branches/cxf/core/src/test/java/org/apache/syncope/core/persistence/dao/NotificationTest.java
    incubator/syncope/branches/cxf/core/src/test/java/org/apache/syncope/core/persistence/dao/ReportTest.java
    incubator/syncope/branches/cxf/core/src/test/java/org/apache/syncope/core/persistence/dao/TaskTest.java
    incubator/syncope/branches/cxf/core/src/test/java/org/apache/syncope/core/persistence/dao/UserSearchTest.java
    incubator/syncope/branches/cxf/core/src/test/java/org/apache/syncope/core/persistence/relationships/ResourceTest.java
    incubator/syncope/branches/cxf/core/src/test/java/org/apache/syncope/core/persistence/relationships/UserSearchTest.java
    incubator/syncope/branches/cxf/core/src/test/java/org/apache/syncope/core/quartz/TestSyncActions.java
    incubator/syncope/branches/cxf/core/src/test/java/org/apache/syncope/core/rest/AbstractTest.java
    incubator/syncope/branches/cxf/core/src/test/java/org/apache/syncope/core/rest/AuthenticationTestITCase.java
    incubator/syncope/branches/cxf/core/src/test/java/org/apache/syncope/core/rest/ConfigurationTestITCase.java
    incubator/syncope/branches/cxf/core/src/test/java/org/apache/syncope/core/rest/ConnInstanceTestITCase.java
    incubator/syncope/branches/cxf/core/src/test/java/org/apache/syncope/core/rest/DerivedSchemaTestITCase.java
    incubator/syncope/branches/cxf/core/src/test/java/org/apache/syncope/core/rest/LoggerTestITCase.java
    incubator/syncope/branches/cxf/core/src/test/java/org/apache/syncope/core/rest/NotificationTestITCase.java
    incubator/syncope/branches/cxf/core/src/test/java/org/apache/syncope/core/rest/PolicyTestITCase.java
    incubator/syncope/branches/cxf/core/src/test/java/org/apache/syncope/core/rest/ReportTestITCase.java
    incubator/syncope/branches/cxf/core/src/test/java/org/apache/syncope/core/rest/ResourceTestITCase.java
    incubator/syncope/branches/cxf/core/src/test/java/org/apache/syncope/core/rest/RoleTestITCase.java
    incubator/syncope/branches/cxf/core/src/test/java/org/apache/syncope/core/rest/SchemaTestITCase.java
    incubator/syncope/branches/cxf/core/src/test/java/org/apache/syncope/core/rest/TaskTestITCase.java
    incubator/syncope/branches/cxf/core/src/test/java/org/apache/syncope/core/rest/UserRequestTestITCase.java
    incubator/syncope/branches/cxf/core/src/test/java/org/apache/syncope/core/rest/UserTestITCase.java
    incubator/syncope/branches/cxf/core/src/test/java/org/apache/syncope/core/rest/VirtualSchemaTestITCase.java
    incubator/syncope/branches/cxf/core/src/test/resources/content.xml
    incubator/syncope/branches/cxf/core/src/test/resources/restClientContext.xml
    incubator/syncope/branches/cxf/pom.xml

Modified: incubator/syncope/branches/cxf/archetype/pom.xml
URL: http://svn.apache.org/viewvc/incubator/syncope/branches/cxf/archetype/pom.xml?rev=1405820&r1=1405819&r2=1405820&view=diff
==============================================================================
--- incubator/syncope/branches/cxf/archetype/pom.xml (original)
+++ incubator/syncope/branches/cxf/archetype/pom.xml Mon Nov  5 15:00:01 2012
@@ -25,7 +25,7 @@ under the License.
   <parent>
     <groupId>org.apache.syncope</groupId>
     <artifactId>syncope</artifactId>
-    <version>1.1.0-incubating-SNAPSHOT</version>
+    <version>1.1.0-cxf-SNAPSHOT</version>
   </parent>
 
   <name>Apache Syncope Archetype</name>

Modified: incubator/syncope/branches/cxf/build-tools/pom.xml
URL: http://svn.apache.org/viewvc/incubator/syncope/branches/cxf/build-tools/pom.xml?rev=1405820&r1=1405819&r2=1405820&view=diff
==============================================================================
--- incubator/syncope/branches/cxf/build-tools/pom.xml (original)
+++ incubator/syncope/branches/cxf/build-tools/pom.xml Mon Nov  5 15:00:01 2012
@@ -25,7 +25,7 @@ under the License.
   <parent>
     <groupId>org.apache.syncope</groupId>
     <artifactId>syncope</artifactId>
-    <version>1.1.0-incubating-SNAPSHOT</version>
+    <version>1.1.0-cxf-SNAPSHOT</version>
   </parent>
 
   <name>Apache Syncope Build Tools</name>

Modified: incubator/syncope/branches/cxf/client/pom.xml
URL: http://svn.apache.org/viewvc/incubator/syncope/branches/cxf/client/pom.xml?rev=1405820&r1=1405819&r2=1405820&view=diff
==============================================================================
--- incubator/syncope/branches/cxf/client/pom.xml (original)
+++ incubator/syncope/branches/cxf/client/pom.xml Mon Nov  5 15:00:01 2012
@@ -25,7 +25,7 @@ under the License.
   <parent>
     <groupId>org.apache.syncope</groupId>
     <artifactId>syncope</artifactId>
-    <version>1.1.0-incubating-SNAPSHOT</version>
+    <version>1.1.0-cxf-SNAPSHOT</version>
   </parent>
 
   <name>Apache Syncope Client</name>
@@ -44,6 +44,12 @@ under the License.
   
   <dependencies>
 
+	<dependency>
+      <groupId>org.apache.syncope</groupId>
+      <artifactId>syncope-common</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+  
     <dependency>
       <groupId>commons-lang</groupId>
       <artifactId>commons-lang</artifactId>

Modified: incubator/syncope/branches/cxf/client/src/test/java/org/apache/syncope/client/test/JSONTest.java
URL: http://svn.apache.org/viewvc/incubator/syncope/branches/cxf/client/src/test/java/org/apache/syncope/client/test/JSONTest.java?rev=1405820&r1=1405819&r2=1405820&view=diff
==============================================================================
--- incubator/syncope/branches/cxf/client/src/test/java/org/apache/syncope/client/test/JSONTest.java (original)
+++ incubator/syncope/branches/cxf/client/src/test/java/org/apache/syncope/client/test/JSONTest.java Mon Nov  5 15:00:01 2012
@@ -27,13 +27,13 @@ import java.util.Arrays;
 import java.util.List;
 import org.codehaus.jackson.map.ObjectMapper;
 import org.junit.Test;
-import org.apache.syncope.client.report.UserReportletConf;
-import org.apache.syncope.client.search.AttributeCond;
-import org.apache.syncope.client.search.MembershipCond;
-import org.apache.syncope.client.search.NodeCond;
-import org.apache.syncope.client.to.ReportTO;
-import org.apache.syncope.client.to.SchemaTO;
-import org.apache.syncope.client.to.WorkflowFormPropertyTO;
+import org.apache.syncope.report.UserReportletConf;
+import org.apache.syncope.search.AttributeCond;
+import org.apache.syncope.search.MembershipCond;
+import org.apache.syncope.search.NodeCond;
+import org.apache.syncope.to.ReportTO;
+import org.apache.syncope.to.SchemaTO;
+import org.apache.syncope.to.WorkflowFormPropertyTO;
 import org.apache.syncope.types.AuditElements;
 import org.apache.syncope.types.AuditLoggerName;
 

Added: incubator/syncope/branches/cxf/common/.externalToolBuilders/Maven_Ant_Builder.launch
URL: http://svn.apache.org/viewvc/incubator/syncope/branches/cxf/common/.externalToolBuilders/Maven_Ant_Builder.launch?rev=1405820&view=auto
==============================================================================
--- incubator/syncope/branches/cxf/common/.externalToolBuilders/Maven_Ant_Builder.launch (added)
+++ incubator/syncope/branches/cxf/common/.externalToolBuilders/Maven_Ant_Builder.launch Mon Nov  5 15:00:01 2012
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
+<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
+<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${project}"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/syncope-common"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="4"/>
+</listAttribute>
+<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
+<booleanAttribute key="org.eclipse.debug.core.capture_output" value="false"/>
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_CONSOLE_OUTPUT_ON" value="false"/>
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="syncope-common"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_BUILD_SCOPE" value="${working_set:&lt;?xml version='1.0'?&gt;&lt;launchConfigurationWorkingSet editPageId='org.eclipse.ui.resourceWorkingSetPage' factoryID='org.eclipse.ui.internal.WorkingSetFactory' label='workingSet' name='workingSet'&gt;&lt;item factoryID='org.eclipse.ui.internal.model.ResourceFactory' path='syncope-common' type='4'/&gt;&lt;/launchConfigurationWorkingSet&gt;}"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${build_project}/maven-eclipse.xml"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,auto,clean"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${build_project}"/>
+<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
+</launchConfiguration>

Added: incubator/syncope/branches/cxf/common/maven-eclipse.xml
URL: http://svn.apache.org/viewvc/incubator/syncope/branches/cxf/common/maven-eclipse.xml?rev=1405820&view=auto
==============================================================================
--- incubator/syncope/branches/cxf/common/maven-eclipse.xml (added)
+++ incubator/syncope/branches/cxf/common/maven-eclipse.xml Mon Nov  5 15:00:01 2012
@@ -0,0 +1,8 @@
+<project default="copy-resources">
+  <target name="init"/>
+  <target name="copy-resources" depends="init">
+    <copy todir="target/classes/META-INF" filtering="false">
+      <fileset dir="C:/Users/jbernhard/workspace/syncope/cxf-port" includes="LICENSE|NOTICE|DISCLAIMER" excludes="**/*.java"/>
+    </copy>
+  </target>
+</project>
\ No newline at end of file

Added: incubator/syncope/branches/cxf/common/pom.xml
URL: http://svn.apache.org/viewvc/incubator/syncope/branches/cxf/common/pom.xml?rev=1405820&view=auto
==============================================================================
--- incubator/syncope/branches/cxf/common/pom.xml (added)
+++ incubator/syncope/branches/cxf/common/pom.xml Mon Nov  5 15:00:01 2012
@@ -0,0 +1,132 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.syncope</groupId>
+    <artifactId>syncope</artifactId>
+    <version>1.1.0-cxf-SNAPSHOT</version>
+  </parent>
+
+  <name>Apache Syncope Common</name>
+  <description>Apache Syncope Common</description>
+  <groupId>org.apache.syncope</groupId>
+  <artifactId>syncope-common</artifactId>
+  <packaging>bundle</packaging>
+
+  <distributionManagement>
+    <site>
+      <id>syncope.website</id>
+      <name>Apache Syncope website</name>
+      <url>${site.deploymentBaseUrl}/${project.artifactId}</url>
+    </site>
+  </distributionManagement>
+  
+  <dependencies>
+  
+	<dependency>
+      <groupId>org.codehaus.jackson</groupId>
+      <artifactId>jackson-mapper-asl</artifactId>
+    </dependency>
+	
+	<dependency>
+      <groupId>com.thoughtworks.xstream</groupId>
+      <artifactId>xstream</artifactId>
+    </dependency>
+
+	<dependency>
+      <groupId>commons-lang</groupId>
+      <artifactId>commons-lang</artifactId>
+    </dependency>
+	
+	<dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>spring-webmvc</artifactId>
+    </dependency>
+	
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <scope>test</scope>
+    </dependency>
+	
+	<dependency>
+      <groupId>ch.qos.logback</groupId>
+      <artifactId>logback-core</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>ch.qos.logback</groupId>
+      <artifactId>logback-classic</artifactId>
+    </dependency>
+
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <extensions>true</extensions>
+        <configuration>
+          <instructions>
+            <Bundle-Name>${project.name}</Bundle-Name>
+            <Bundle-SymbolicName>org.apache.syncope.client</Bundle-SymbolicName>
+            <Bundle-Version>${project.version}</Bundle-Version>
+            <Export-Package>
+              org.apache.syncope*;version=${project.version};-split-package:=merge-first
+            </Export-Package>
+            <Import-Package>
+              com.thoughtworks.xstream;version="[1.4,2)",
+              org.apache.commons.lang*;version="[2.6,3)",
+              org.apache.http*;version="[4,5)",
+              org.codehaus.jackson.annotate;version="[1.9,2)",
+              org.springframework*;version="[3,4)",
+              ch.qos.logback.classic;resolution:=optional,
+              org.slf4j;resolution:=optional
+            </Import-Package>
+          </instructions>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-pmd-plugin</artifactId>
+      </plugin>
+    </plugins>
+    
+    <resources>
+      <resource>
+        <directory>..</directory>
+        <targetPath>META-INF</targetPath>
+        <includes>
+          <include>LICENSE</include>
+          <include>NOTICE</include>
+          <include>DISCLAIMER</include>
+        </includes>
+      </resource>
+    </resources>
+  </build>
+</project>

Added: incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/AbstractBaseBean.java
URL: http://svn.apache.org/viewvc/incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/AbstractBaseBean.java?rev=1405820&view=auto
==============================================================================
--- incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/AbstractBaseBean.java (added)
+++ incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/AbstractBaseBean.java Mon Nov  5 15:00:01 2012
@@ -0,0 +1,45 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.syncope;
+
+import java.io.Serializable;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.apache.commons.lang.builder.ReflectionToStringBuilder;
+import org.apache.commons.lang.builder.ToStringStyle;
+
+public abstract class AbstractBaseBean implements Serializable {
+
+    private static final long serialVersionUID = 3119542005279892164L;
+
+    @Override
+    public boolean equals(Object obj) {
+        return EqualsBuilder.reflectionEquals(this, obj);
+    }
+
+    @Override
+    public int hashCode() {
+        return HashCodeBuilder.reflectionHashCode(this);
+    }
+
+    @Override
+    public String toString() {
+        return ReflectionToStringBuilder.toString(this, ToStringStyle.MULTI_LINE_STYLE);
+    }
+}

Added: incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/SyncopeConstants.java
URL: http://svn.apache.org/viewvc/incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/SyncopeConstants.java?rev=1405820&view=auto
==============================================================================
--- incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/SyncopeConstants.java (added)
+++ incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/SyncopeConstants.java Mon Nov  5 15:00:01 2012
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.syncope;
+
+public class SyncopeConstants {
+
+    public final static String[] DATE_PATTERNS = {
+        "yyyy-MM-dd'T'HH:mm:ssZ",
+        "EEE, dd MMM yyyy HH:mm:ss z",
+        "yyyy-MM-dd'T'HH:mm:ssz",
+        "yyyy-MM-dd HH:mm:ss", 
+        "yyyy-MM-dd HH:mm:ss.S", // explicitly added to import date into MySql repository
+        "yyyy-MM-dd"};
+
+    public static String DEFAULT_DATE_PATTERN = "yyyy-MM-dd'T'HH:mm:ssZ";
+}

Added: incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/annotation/FormAttributeField.java
URL: http://svn.apache.org/viewvc/incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/annotation/FormAttributeField.java?rev=1405820&view=auto
==============================================================================
--- incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/annotation/FormAttributeField.java (added)
+++ incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/annotation/FormAttributeField.java Mon Nov  5 15:00:01 2012
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.syncope.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+import org.apache.syncope.types.IntMappingType;
+
+@Target( { ElementType.FIELD })
+@Retention(RetentionPolicy.RUNTIME)
+public @interface FormAttributeField {
+
+    IntMappingType schema() default IntMappingType.UserSchema;
+}

Added: incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/annotation/SchemaList.java
URL: http://svn.apache.org/viewvc/incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/annotation/SchemaList.java?rev=1405820&view=auto
==============================================================================
--- incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/annotation/SchemaList.java (added)
+++ incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/annotation/SchemaList.java Mon Nov  5 15:00:01 2012
@@ -0,0 +1,28 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.syncope.annotation;
+
+import java.lang.annotation.Retention;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+@Retention(RUNTIME)
+public @interface SchemaList {
+
+    boolean extended() default false;
+}

Added: incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/AbstractAttributableMod.java
URL: http://svn.apache.org/viewvc/incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/AbstractAttributableMod.java?rev=1405820&view=auto
==============================================================================
--- incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/AbstractAttributableMod.java (added)
+++ incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/AbstractAttributableMod.java Mon Nov  5 15:00:01 2012
@@ -0,0 +1,252 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.syncope.mod;
+
+import java.util.HashSet;
+import java.util.Set;
+
+import org.apache.syncope.AbstractBaseBean;
+
+/**
+ * Abstract base class for objects that can have attributes removed, added or updated.
+ * 
+ * Attributes can be regular attributes, derived attributes, virtual attributes and resources.
+ */
+public abstract class AbstractAttributableMod extends AbstractBaseBean {
+
+    private static final long serialVersionUID = 3241118574016303198L;
+    protected long id;
+    protected Set<AttributeMod> attributesToBeUpdated;
+    protected Set<String> attributesToBeRemoved;
+    protected Set<String> derivedAttributesToBeAdded;
+    protected Set<String> derivedAttributesToBeRemoved;
+    protected Set<AttributeMod> virtualAttributesToBeUpdated;
+    protected Set<String> virtualAttributesToBeRemoved;
+    protected Set<String> resourcesToBeAdded;
+    protected Set<String> resourcesToBeRemoved;
+
+    /**
+     * All attributes are initialized to empty sets.
+     */
+    public AbstractAttributableMod() {
+        super();
+
+        attributesToBeUpdated = new HashSet<AttributeMod>();
+        attributesToBeRemoved = new HashSet<String>();
+        derivedAttributesToBeAdded = new HashSet<String>();
+        derivedAttributesToBeRemoved = new HashSet<String>();
+        virtualAttributesToBeUpdated = new HashSet<AttributeMod>();
+        virtualAttributesToBeRemoved = new HashSet<String>();
+        resourcesToBeAdded = new HashSet<String>();
+        resourcesToBeRemoved = new HashSet<String>();
+    }
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    /**
+     * Convenience method for removing entire attribute instead removing each value in an AttributeMod object
+     * 
+     * @param name (schema) of attribute to be removed.
+     * @return true on success. 
+     */
+    public boolean addAttributeToBeRemoved(String attribute) {
+        return attributesToBeRemoved.add(attribute);
+    }
+
+    /**
+     * Convenience method for removing entire attribute instead removing each value in an AttributeMod object
+     * 
+     * @param name (schema) of attribute to be removed.
+     * @return true on success. 
+     */
+    public boolean removeAttributeToBeRemoved(String attribute) {
+        return attributesToBeRemoved.remove(attribute);
+    }
+
+    public Set<String> getAttributesToBeRemoved() {
+        return attributesToBeRemoved;
+    }
+
+    public void setAttributesToBeRemoved(Set<String> attributesToBeRemoved) {
+        this.attributesToBeRemoved = attributesToBeRemoved;
+    }
+
+    /**
+     * Add an attribute modification object. AttributeMod itself indicates how the attribute should be modified. 
+     * 
+     * @param attribute modification object
+     * @see AttributeMod
+     * @return true on success
+     */
+    public boolean addAttributeToBeUpdated(AttributeMod attribute) {
+        return attributesToBeUpdated.add(attribute);
+    }
+
+    /**
+     * Remove an attribute modification object. AttributeMod itself indicates how the attribute should be modified. 
+     * 
+     * @param attribute modification object
+     * @see AttributeMod
+     * @return true on success
+     */
+    public boolean removeAttributeToBeUpdated(AttributeMod attribute) {
+        return attributesToBeUpdated.remove(attribute);
+    }
+
+    public Set<AttributeMod> getAttributesToBeUpdated() {
+        return attributesToBeUpdated;
+    }
+
+    public void setAttributesToBeUpdated(Set<AttributeMod> attributesToBeUpdated) {
+        this.attributesToBeUpdated = attributesToBeUpdated;
+    }
+
+    /**
+     * Add an attribute modification object. AttributeMod itself indicates how the attribute should be modified. 
+     * 
+     * @param attribute modification object
+     * @see AttributeMod
+     * @return true on success
+     */
+    public boolean addDerivedAttributeToBeAdded(String derivedAttribute) {
+        return derivedAttributesToBeAdded.add(derivedAttribute);
+    }
+
+    /**
+     * Add a derivedattribute. Value is calculated by its definition. 
+     * 
+     * @param derivedAttribute
+     * @return true on success
+     */
+    public boolean removeDerivedAttributeToBeAdded(String derivedAttribute) {
+        return derivedAttributesToBeAdded.remove(derivedAttribute);
+    }
+
+    public Set<String> getDerivedAttributesToBeAdded() {
+        return derivedAttributesToBeAdded;
+    }
+
+    public void setDerivedAttributesToBeAdded(Set<String> derivedAttributesToBeAdded) {
+
+        this.derivedAttributesToBeAdded = derivedAttributesToBeAdded;
+    }
+
+    public boolean addDerivedAttributeToBeRemoved(String derivedAttribute) {
+        return derivedAttributesToBeRemoved.add(derivedAttribute);
+    }
+
+    public boolean removeDerivedAttributeToBeRemoved(String derivedAttribute) {
+        return derivedAttributesToBeRemoved.remove(derivedAttribute);
+    }
+
+    public Set<String> getDerivedAttributesToBeRemoved() {
+        return derivedAttributesToBeRemoved;
+    }
+
+    public void setDerivedAttributesToBeRemoved(Set<String> derivedAttributesToBeRemoved) {
+
+        this.derivedAttributesToBeRemoved = derivedAttributesToBeRemoved;
+    }
+
+    public Set<String> getVirtualAttributesToBeRemoved() {
+        return virtualAttributesToBeRemoved;
+    }
+
+    public boolean addVirtualAttributeToBeRemoved(String virtualAttributeToBeRemoved) {
+
+        return virtualAttributesToBeRemoved.add(virtualAttributeToBeRemoved);
+    }
+
+    public boolean removeVirtualAttributeToBeRemoved(String virtualAttributeToBeRemoved) {
+
+        return virtualAttributesToBeRemoved.remove(virtualAttributeToBeRemoved);
+    }
+
+    public void setVirtualAttributesToBeRemoved(Set<String> virtualAttributesToBeRemoved) {
+
+        this.virtualAttributesToBeRemoved = virtualAttributesToBeRemoved;
+    }
+
+    public boolean addVirtualAttributeToBeUpdated(AttributeMod virtualAttributeToBeUpdated) {
+
+        return virtualAttributesToBeUpdated.add(virtualAttributeToBeUpdated);
+    }
+
+    public boolean removeVirtualAttributeToBeUpdated(AttributeMod virtualAttributeToBeUpdated) {
+
+        return virtualAttributesToBeUpdated.remove(virtualAttributeToBeUpdated);
+    }
+
+    public Set<AttributeMod> getVirtualAttributesToBeUpdated() {
+        return virtualAttributesToBeUpdated;
+    }
+
+    public void setVirtualAttributesToBeUpdated(Set<AttributeMod> virtualAttributesToBeUpdated) {
+
+        this.virtualAttributesToBeUpdated = virtualAttributesToBeUpdated;
+    }
+
+    public boolean addResourceToBeAdded(String resource) {
+        return resourcesToBeAdded.add(resource);
+    }
+
+    public boolean removeResourceToBeAdded(String resource) {
+        return resourcesToBeAdded.remove(resource);
+    }
+
+    public Set<String> getResourcesToBeAdded() {
+        return resourcesToBeAdded;
+    }
+
+    public void setResourcesToBeAdded(Set<String> resourcesToBeAdded) {
+        this.resourcesToBeAdded = resourcesToBeAdded;
+    }
+
+    public boolean addResourceToBeRemoved(String resource) {
+        return resourcesToBeRemoved.add(resource);
+    }
+
+    public boolean removeResourceToBeRemoved(String resource) {
+        return resourcesToBeRemoved.remove(resource);
+    }
+
+    public Set<String> getResourcesToBeRemoved() {
+        return resourcesToBeRemoved;
+    }
+
+    public void setResourcesToBeRemoved(Set<String> resourcesToBeRemoved) {
+        this.resourcesToBeRemoved = resourcesToBeRemoved;
+    }
+
+    /**
+     * @return true is all backing Sets are empty.
+     */
+    public boolean isEmpty() {
+        return attributesToBeUpdated.isEmpty() && attributesToBeRemoved.isEmpty()
+                && derivedAttributesToBeAdded.isEmpty() && derivedAttributesToBeRemoved.isEmpty()
+                && virtualAttributesToBeUpdated.isEmpty() && virtualAttributesToBeRemoved.isEmpty()
+                && resourcesToBeAdded.isEmpty() && resourcesToBeRemoved.isEmpty();
+    }
+}

Added: incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/AttributeMod.java
URL: http://svn.apache.org/viewvc/incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/AttributeMod.java?rev=1405820&view=auto
==============================================================================
--- incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/AttributeMod.java (added)
+++ incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/AttributeMod.java Mon Nov  5 15:00:01 2012
@@ -0,0 +1,87 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.syncope.mod;
+
+import java.util.ArrayList;
+import java.util.List;
+import org.codehaus.jackson.annotate.JsonIgnore;
+import org.apache.syncope.AbstractBaseBean;
+
+public class AttributeMod extends AbstractBaseBean {
+
+    private static final long serialVersionUID = -913573979137431406L;
+
+    private String schema;
+
+    private List<String> valuesToBeAdded;
+
+    private List<String> valuesToBeRemoved;
+
+    public AttributeMod() {
+        super();
+
+        valuesToBeAdded = new ArrayList<String>();
+        valuesToBeRemoved = new ArrayList<String>();
+    }
+
+    public String getSchema() {
+        return schema;
+    }
+
+    public void setSchema(String schema) {
+        this.schema = schema;
+    }
+
+    public boolean addValueToBeAdded(String value) {
+        return valuesToBeAdded.add(value);
+    }
+
+    public boolean removeValueToBeAdded(String value) {
+        return valuesToBeAdded.remove(value);
+    }
+
+    public List<String> getValuesToBeAdded() {
+        return valuesToBeAdded;
+    }
+
+    public void setValuesToBeAdded(List<String> valuesToBeAdded) {
+        this.valuesToBeAdded = valuesToBeAdded;
+    }
+
+    public boolean addValueToBeRemoved(String value) {
+        return valuesToBeRemoved.add(value);
+    }
+
+    public boolean removeValueToBeRemoved(String value) {
+        return valuesToBeRemoved.remove(value);
+    }
+
+    public List<String> getValuesToBeRemoved() {
+        return valuesToBeRemoved;
+    }
+
+    public void setValuesToBeRemoved(List<String> valuesToBeRemoved) {
+        this.valuesToBeRemoved = valuesToBeRemoved;
+    }
+
+    @JsonIgnore
+    public boolean isEmpty() {
+        return valuesToBeAdded.isEmpty() && valuesToBeRemoved.isEmpty();
+    }
+}

Added: incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/MembershipMod.java
URL: http://svn.apache.org/viewvc/incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/MembershipMod.java?rev=1405820&view=auto
==============================================================================
--- incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/MembershipMod.java (added)
+++ incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/MembershipMod.java Mon Nov  5 15:00:01 2012
@@ -0,0 +1,82 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.syncope.mod;
+
+import java.util.Collections;
+import java.util.Set;
+import org.codehaus.jackson.annotate.JsonIgnore;
+
+public class MembershipMod extends AbstractAttributableMod {
+
+    private static final long serialVersionUID = 2511869129977331525L;
+
+    private long role;
+
+    public long getRole() {
+        return role;
+    }
+
+    public void setRole(long role) {
+        this.role = role;
+    }
+
+    @Override
+    public boolean addResourceToBeAdded(String resource) {
+        return false;
+    }
+
+    @Override
+    public boolean addResourceToBeRemoved(String resource) {
+        return false;
+    }
+
+    @Override
+    public Set<String> getResourcesToBeAdded() {
+        return Collections.emptySet();
+    }
+
+    @Override
+    public Set<String> getResourcesToBeRemoved() {
+        return Collections.emptySet();
+    }
+
+    @Override
+    public boolean removeResourceToBeAdded(String resource) {
+        return false;
+    }
+
+    @Override
+    public boolean removeResourceToBeRemoved(String resource) {
+        return false;
+    }
+
+    @Override
+    public void setResourcesToBeAdded(Set<String> resourcesToBeAdded) {
+    }
+
+    @Override
+    public void setResourcesToBeRemoved(Set<String> resourcesToBeRemoved) {
+    }
+
+    @JsonIgnore
+    @Override
+    public boolean isEmpty() {
+        return super.isEmpty() && role == 0;
+    }
+}

Added: incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/ReferenceMod.java
URL: http://svn.apache.org/viewvc/incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/ReferenceMod.java?rev=1405820&view=auto
==============================================================================
--- incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/ReferenceMod.java (added)
+++ incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/ReferenceMod.java Mon Nov  5 15:00:01 2012
@@ -0,0 +1,49 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.syncope.mod;
+
+import org.apache.syncope.AbstractBaseBean;
+
+/**
+ * This class is used to specify the willing to modify an external reference id. Use 'null' ReferenceMod to keep the
+ * current reference id; use a ReferenceMod with a null id to try to reset the reference id; use a ReferenceMod with a
+ * not null id to specify a new reference id.
+ */
+public class ReferenceMod extends AbstractBaseBean {
+
+    private static final long serialVersionUID = -4188817853738067677L;
+
+    private Long id;
+
+    public ReferenceMod() {
+        this.id = null;
+    }
+
+    public ReferenceMod(final Long id) {
+        this.id = id;
+    }
+
+    public Long getId() {
+        return id;
+    }
+
+    public void setId(Long id) {
+        this.id = id;
+    }
+}

Added: incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/RoleMod.java
URL: http://svn.apache.org/viewvc/incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/RoleMod.java?rev=1405820&view=auto
==============================================================================
--- incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/RoleMod.java (added)
+++ incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/RoleMod.java Mon Nov  5 15:00:01 2012
@@ -0,0 +1,156 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.syncope.mod;
+
+import java.util.List;
+import org.codehaus.jackson.annotate.JsonIgnore;
+
+public class RoleMod extends AbstractAttributableMod {
+
+    private static final long serialVersionUID = 7455805264680210747L;
+
+    private String name;
+
+    private ReferenceMod userOwner;
+
+    private ReferenceMod roleOwner;
+
+    private Boolean inheritOwner;
+
+    private Boolean inheritAttributes;
+
+    private Boolean inheritDerivedAttributes;
+
+    private Boolean inheritVirtualAttributes;
+
+    private Boolean inheritAccountPolicy;
+
+    private Boolean inheritPasswordPolicy;
+
+    private List<String> entitlements;
+
+    private ReferenceMod passwordPolicy;
+
+    private ReferenceMod accountPolicy;
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(final String name) {
+        this.name = name;
+    }
+
+    public ReferenceMod getUserOwner() {
+        return userOwner;
+    }
+
+    public void setUserOwner(ReferenceMod userOwner) {
+        this.userOwner = userOwner;
+    }
+
+    public ReferenceMod getRoleOwner() {
+        return roleOwner;
+    }
+
+    public void setRoleOwner(ReferenceMod roleOwner) {
+        this.roleOwner = roleOwner;
+    }
+
+    public Boolean getInheritOwner() {
+        return inheritOwner;
+    }
+
+    public void setInheritOwner(Boolean inheritOwner) {
+        this.inheritOwner = inheritOwner;
+    }
+
+    public Boolean getInheritAttributes() {
+        return inheritAttributes;
+    }
+
+    public void setInheritAttributes(final Boolean inheritAttributes) {
+        this.inheritAttributes = inheritAttributes;
+    }
+
+    public Boolean getInheritDerivedAttributes() {
+        return inheritDerivedAttributes;
+    }
+
+    public void setInheritDerivedAttributes(final Boolean inheritDerivedAttributes) {
+        this.inheritDerivedAttributes = inheritDerivedAttributes;
+    }
+
+    public Boolean getInheritVirtualAttributes() {
+        return inheritVirtualAttributes;
+    }
+
+    public void setInheritVirtualAttributes(final Boolean inheritVirtualAttributes) {
+        this.inheritVirtualAttributes = inheritVirtualAttributes;
+    }
+
+    public List<String> getEntitlements() {
+        return entitlements;
+    }
+
+    public void setEntitlements(final List<String> entitlements) {
+        this.entitlements = entitlements;
+    }
+
+    public ReferenceMod getPasswordPolicy() {
+        return passwordPolicy;
+    }
+
+    public void setPasswordPolicy(final ReferenceMod passwordPolicy) {
+        this.passwordPolicy = passwordPolicy;
+    }
+
+    public Boolean getInheritPasswordPolicy() {
+        return inheritPasswordPolicy;
+    }
+
+    public void setInheritPasswordPolicy(final Boolean inheritPasswordPolicy) {
+        this.inheritPasswordPolicy = inheritPasswordPolicy;
+    }
+
+    public ReferenceMod getAccountPolicy() {
+        return accountPolicy;
+    }
+
+    public void setAccountPolicy(final ReferenceMod accountPolicy) {
+        this.accountPolicy = accountPolicy;
+    }
+
+    public Boolean getInheritAccountPolicy() {
+        return inheritAccountPolicy;
+    }
+
+    public void setInheritAccountPolicy(final Boolean inheritAccountPolicy) {
+        this.inheritAccountPolicy = inheritAccountPolicy;
+    }
+
+    @JsonIgnore
+    @Override
+    public boolean isEmpty() {
+        return super.isEmpty() && name == null && userOwner == null && roleOwner == null
+                && inheritOwner == null && inheritAccountPolicy == null && inheritPasswordPolicy == null
+                && inheritAttributes == null && inheritDerivedAttributes == null && inheritVirtualAttributes == null
+                && accountPolicy == null && passwordPolicy == null && (entitlements == null || entitlements.isEmpty());
+    }
+}

Added: incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/UserMod.java
URL: http://svn.apache.org/viewvc/incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/UserMod.java?rev=1405820&view=auto
==============================================================================
--- incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/UserMod.java (added)
+++ incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/mod/UserMod.java Mon Nov  5 15:00:01 2012
@@ -0,0 +1,98 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.syncope.mod;
+
+import java.util.HashSet;
+import java.util.Set;
+import org.codehaus.jackson.annotate.JsonIgnore;
+
+public class UserMod extends AbstractAttributableMod {
+
+    private static final long serialVersionUID = 3081848906558106204L;
+
+    private String password;
+
+    private String username;
+
+    private Set<MembershipMod> membershipsToBeAdded;
+
+    private Set<Long> membershipsToBeRemoved;
+
+    public UserMod() {
+        super();
+
+        membershipsToBeAdded = new HashSet<MembershipMod>();
+        membershipsToBeRemoved = new HashSet<Long>();
+    }
+
+    public boolean addMembershipToBeAdded(MembershipMod membershipMod) {
+        return membershipsToBeAdded.add(membershipMod);
+    }
+
+    public boolean removeMembershipToBeAdded(MembershipMod membershipMod) {
+        return membershipsToBeAdded.remove(membershipMod);
+    }
+
+    public Set<MembershipMod> getMembershipsToBeAdded() {
+        return membershipsToBeAdded;
+    }
+
+    public void setMembershipsToBeAdded(Set<MembershipMod> membershipMods) {
+        this.membershipsToBeAdded = membershipMods;
+    }
+
+    public String getUsername() {
+        return username;
+    }
+
+    public void setUsername(String username) {
+        this.username = username;
+    }
+
+    public String getPassword() {
+        return password;
+    }
+
+    public void setPassword(String password) {
+        this.password = password;
+    }
+
+    public boolean addMembershipToBeRemoved(Long membershipToBeRemoved) {
+        return membershipsToBeRemoved.add(membershipToBeRemoved);
+    }
+
+    public boolean removeMembershipToBeRemoved(Long membershipToBeRemoved) {
+        return membershipsToBeRemoved.remove(membershipToBeRemoved);
+    }
+
+    public Set<Long> getMembershipsToBeRemoved() {
+        return membershipsToBeRemoved;
+    }
+
+    public void setMembershipsToBeRemoved(Set<Long> membershipsToBeRemoved) {
+        this.membershipsToBeRemoved = membershipsToBeRemoved;
+    }
+
+    @JsonIgnore
+    @Override
+    public boolean isEmpty() {
+        return super.isEmpty() && password == null && username == null && membershipsToBeAdded.isEmpty()
+                && membershipsToBeRemoved.isEmpty();
+    }
+}

Added: incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/report/AbstractReportletConf.java
URL: http://svn.apache.org/viewvc/incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/report/AbstractReportletConf.java?rev=1405820&view=auto
==============================================================================
--- incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/report/AbstractReportletConf.java (added)
+++ incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/report/AbstractReportletConf.java Mon Nov  5 15:00:01 2012
@@ -0,0 +1,46 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.syncope.report;
+
+import org.apache.syncope.AbstractBaseBean;
+
+public abstract class AbstractReportletConf extends AbstractBaseBean implements ReportletConf {
+
+    private static final long serialVersionUID = -6130008602014516608L;
+
+    private String name;
+
+    public AbstractReportletConf() {
+        this("");
+        setName(getClass().getName());
+    }
+
+    public AbstractReportletConf(final String name) {
+        this.name = name;
+    }
+
+    @Override
+    public final String getName() {
+        return name;
+    }
+
+    public final void setName(final String name) {
+        this.name = name;
+    }
+}

Added: incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/report/ReportletConf.java
URL: http://svn.apache.org/viewvc/incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/report/ReportletConf.java?rev=1405820&view=auto
==============================================================================
--- incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/report/ReportletConf.java (added)
+++ incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/report/ReportletConf.java Mon Nov  5 15:00:01 2012
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.syncope.report;
+
+import org.codehaus.jackson.annotate.JsonTypeInfo;
+
+@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY, property = "@class")
+public interface ReportletConf {
+
+    /**
+     * Give name of related reportlet instance.
+     *
+     * @return name of this reportlet instance
+     */
+    String getName();
+}

Added: incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/report/StaticReportletConf.java
URL: http://svn.apache.org/viewvc/incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/report/StaticReportletConf.java?rev=1405820&view=auto
==============================================================================
--- incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/report/StaticReportletConf.java (added)
+++ incubator/syncope/branches/cxf/common/src/main/java/org/apache/syncope/report/StaticReportletConf.java Mon Nov  5 15:00:01 2012
@@ -0,0 +1,102 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.syncope.report;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+import org.apache.syncope.types.TraceLevel;
+
+public class StaticReportletConf extends AbstractReportletConf {
+
+    private static final long serialVersionUID = -4814950086361753689L;
+
+    private String stringField;
+
+    private Long longField;
+
+    private Double doubleField;
+
+    private Date dateField;
+
+    private TraceLevel traceLevel;
+
+    private List<String> listField;
+
+    public StaticReportletConf() {
+        super();
+    }
+
+    public StaticReportletConf(final String name) {
+        super(name);
+        listField = new ArrayList<String>();
+    }
+
+    public Date getDateField() {
+        return dateField == null
+                ? null
+                : new Date(dateField.getTime());
+    }
+
+    public void setDateField(Date dateField) {
+        this.dateField = dateField == null
+                ? null
+                : new Date(dateField.getTime());
+    }
+
+    public Double getDoubleField() {
+        return doubleField;
+    }
+
+    public void setDoubleField(Double doubleField) {
+        this.doubleField = doubleField;
+    }
+
+    public List<String> getListField() {
+        return listField;
+    }
+
+    public void setListField(List<String> listField) {
+        this.listField = listField;
+    }
+
+    public Long getLongField() {
+        return longField;
+    }
+
+    public void setLongField(Long longField) {
+        this.longField = longField;
+    }
+
+    public String getStringField() {
+        return stringField;
+    }
+
+    public void setStringField(String stringField) {
+        this.stringField = stringField;
+    }
+
+    public TraceLevel getTraceLevel() {
+        return traceLevel;
+    }
+
+    public void setTraceLevel(TraceLevel traceLevel) {
+        this.traceLevel = traceLevel;
+    }
+}