You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2015/02/13 12:44:10 UTC

[06/51] [partial] syncope git commit: [SYNCOPE-620] Re-organization completed

http://git-wip-us.apache.org/repos/asf/syncope/blob/2d194636/common/src/main/java/org/apache/syncope/common/types/ConnConfProperty.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/types/ConnConfProperty.java b/common/src/main/java/org/apache/syncope/common/types/ConnConfProperty.java
deleted file mode 100644
index cf343a6..0000000
--- a/common/src/main/java/org/apache/syncope/common/types/ConnConfProperty.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * 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.common.types;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import java.util.ArrayList;
-import java.util.List;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlElementWrapper;
-import javax.xml.bind.annotation.XmlRootElement;
-import javax.xml.bind.annotation.XmlType;
-import org.apache.commons.lang3.ObjectUtils;
-import org.apache.syncope.common.AbstractBaseBean;
-
-@XmlRootElement
-@XmlType
-public class ConnConfProperty extends AbstractBaseBean implements Comparable<ConnConfProperty> {
-
-    private static final long serialVersionUID = -8391413960221862238L;
-
-    private ConnConfPropSchema schema;
-
-    private final List<Object> values = new ArrayList<Object>();
-
-    private boolean overridable;
-
-    public ConnConfPropSchema getSchema() {
-        return schema;
-    }
-
-    public void setSchema(final ConnConfPropSchema schema) {
-        this.schema = schema;
-    }
-
-    @XmlElementWrapper(name = "values")
-    @XmlElement(name = "value")
-    @JsonProperty("values")
-    public List<Object> getValues() {
-        return values;
-    }
-
-    public boolean isOverridable() {
-        return overridable;
-    }
-
-    public void setOverridable(final boolean overridable) {
-        this.overridable = overridable;
-    }
-
-    @Override
-    public int compareTo(final ConnConfProperty connConfProperty) {
-        return ObjectUtils.compare(this.getSchema(), connConfProperty.getSchema());
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/2d194636/common/src/main/java/org/apache/syncope/common/types/ConnParameterType.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/types/ConnParameterType.java b/common/src/main/java/org/apache/syncope/common/types/ConnParameterType.java
deleted file mode 100644
index 397f9bb..0000000
--- a/common/src/main/java/org/apache/syncope/common/types/ConnParameterType.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * 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.common.types;
-
-import javax.xml.bind.annotation.XmlEnum;
-
-@XmlEnum
-public enum ConnParameterType {
-
-    /**
-     * Connector parameter type:
-     */
-    OVERRIDABLE(true),
-    NOT_OVERRIDABLE(false);
-
-    private boolean overridable;
-
-    ConnParameterType(final boolean overridable) {
-        this.overridable = overridable;
-    }
-
-    public boolean getOverridable() {
-        return overridable;
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/2d194636/common/src/main/java/org/apache/syncope/common/types/ConnectorCapability.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/types/ConnectorCapability.java b/common/src/main/java/org/apache/syncope/common/types/ConnectorCapability.java
deleted file mode 100644
index dfb25ed..0000000
--- a/common/src/main/java/org/apache/syncope/common/types/ConnectorCapability.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * 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.common.types;
-
-import javax.xml.bind.annotation.XmlEnum;
-
-/**
- * Enum of all possible capabilities that a connector instance can expose.
- */
-@XmlEnum
-public enum ConnectorCapability {
-
-    AUTHENTICATE,
-    ONE_PHASE_CREATE,
-    TWO_PHASES_CREATE,
-    ONE_PHASE_UPDATE,
-    TWO_PHASES_UPDATE,
-    ONE_PHASE_DELETE,
-    TWO_PHASES_DELETE,
-    SEARCH,
-    SYNC;
-
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/2d194636/common/src/main/java/org/apache/syncope/common/types/EntityViolationType.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/types/EntityViolationType.java b/common/src/main/java/org/apache/syncope/common/types/EntityViolationType.java
deleted file mode 100644
index 814ed57..0000000
--- a/common/src/main/java/org/apache/syncope/common/types/EntityViolationType.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- * 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.common.types;
-
-import javax.xml.bind.annotation.XmlEnum;
-
-@XmlEnum
-public enum EntityViolationType {
-
-    Standard(""),
-    InvalidAccountPolicy("org.apache.syncope.core.validation.accountpolicy"),
-    InvalidConnInstanceLocation("org.apache.syncope.core.validation.conninstance.location"),
-    InvalidConnPoolConf("org.apache.syncope.core.validation.conninstance.poolConf"),
-    InvalidMapping("org.apache.syncope.core.validation.mapping"),
-    InvalidMSchema("org.apache.syncope.core.validation.attrvalue.mSchema"),
-    InvalidMDerSchema("org.apache.syncope.core.validation.attrvalue.mDerSchema"),
-    InvalidMVirSchema("org.apache.syncope.core.validation.attrvalue.mVirSchema"),
-    InvalidName("org.apache.syncope.core.validation.name"),
-    InvalidNotification("org.apache.syncope.core.validation.notification"),
-    InvalidPassword("org.apache.syncope.core.validation.syncopeuser.password"),
-    InvalidPasswordPolicy("org.apache.syncope.core.validation.passwordpolicy"),
-    InvalidPolicy("org.apache.syncope.core.validation.policy"),
-    InvalidPropagationTask("org.apache.syncope.core.validation.propagationtask"),
-    InvalidRSchema("org.apache.syncope.core.validation.attrvalue.rSchema"),
-    InvalidRDerSchema("org.apache.syncope.core.validation.attrvalue.rDerSchema"),
-    InvalidRVirSchema("org.apache.syncope.core.validation.attrvalue.rVirSchema"),
-    InvalidReport("org.apache.syncope.core.validation.report"),
-    InvalidResource("org.apache.syncope.core.validation.externalresource"),
-    InvalidRoleOwner("org.apache.syncope.core.validation.syncoperole.owner"),
-    InvalidSchemaEncrypted("org.apache.syncope.core.validation.schema.encrypted"),
-    InvalidSchemaEnum("org.apache.syncope.core.validation.schema.enum"),
-    InvalidSchemaMultivalueUnique("org.apache.syncope.core.validation.schema.multivalueUnique"),
-    InvalidSchedTask("org.apache.syncope.core.validation.schedtask"),
-    InvalidSyncTask("org.apache.syncope.core.validation.synctask"),
-    InvalidSyncPolicy("org.apache.syncope.core.validation.syncpolicy"),
-    InvalidUSchema("org.apache.syncope.core.validation.attrvalue.uSchema"),
-    InvalidUDerSchema("org.apache.syncope.core.validation.attrvalue.derSchema"),
-    InvalidUVirSchema("org.apache.syncope.core.validation.attrvalue.uVirSchema"),
-    InvalidUsername("org.apache.syncope.core.validation.syncopeuser.username"),
-    InvalidValueList("org.apache.syncope.core.validation.attr.valueList"),
-    MoreThanOneNonNull("org.apache.syncope.core.validation.attrvalue.moreThanOneNonNull");
-
-    private String message;
-
-    EntityViolationType(final String message) {
-        this.message = message;
-    }
-
-    public void setMessage(final String message) {
-        this.message = message;
-    }
-
-    public String getMessage() {
-        return message;
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/2d194636/common/src/main/java/org/apache/syncope/common/types/IntMappingType.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/types/IntMappingType.java b/common/src/main/java/org/apache/syncope/common/types/IntMappingType.java
deleted file mode 100644
index c9b9624..0000000
--- a/common/src/main/java/org/apache/syncope/common/types/IntMappingType.java
+++ /dev/null
@@ -1,201 +0,0 @@
-/*
- * 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.common.types;
-
-import java.util.Collection;
-import java.util.EnumSet;
-import java.util.HashSet;
-import java.util.Set;
-
-import javax.xml.bind.annotation.XmlEnum;
-
-/**
- * Internal attribute mapping type.
- */
-@XmlEnum
-public enum IntMappingType {
-
-    // Unfortunately enum type cannot be extended ...
-    // -------------------------
-    // User attribute types (the same in UserMappingType)
-    // -------------------------
-    UserSchema(AttributableType.USER),
-    UserDerivedSchema(AttributableType.USER),
-    UserVirtualSchema(AttributableType.USER),
-    UserId(AttributableType.USER),
-    Username(AttributableType.USER),
-    Password(AttributableType.USER),
-    // -------------------------
-    // Role attribute types (the same in RoleMappingType)
-    // -------------------------
-    RoleSchema(AttributableType.ROLE),
-    RoleDerivedSchema(AttributableType.ROLE),
-    RoleVirtualSchema(AttributableType.ROLE),
-    RoleId(AttributableType.ROLE),
-    RoleName(AttributableType.ROLE),
-    RoleOwnerSchema(AttributableType.ROLE),
-    // -------------------------
-    // Membership attribute types (the same in MembershipMappingType)
-    // -------------------------
-    MembershipSchema(AttributableType.MEMBERSHIP),
-    MembershipDerivedSchema(AttributableType.MEMBERSHIP),
-    MembershipVirtualSchema(AttributableType.MEMBERSHIP),
-    MembershipId(AttributableType.MEMBERSHIP);
-
-    private AttributableType attributableType;
-
-    private IntMappingType(final AttributableType attributableType) {
-        this.attributableType = attributableType;
-    }
-
-    public AttributableType getAttributableType() {
-        return attributableType;
-    }
-
-    /**
-     * Get attribute types for a certain attributable type.
-     *
-     * @param attributableType attributable type
-     * @param toBeFiltered types to be filtered from the result.
-     * @return set of attribute types.
-     */
-    public static Set<IntMappingType> getAttributeTypes(
-            final AttributableType attributableType, final Collection<IntMappingType> toBeFiltered) {
-
-        final Set<IntMappingType> res = getAttributeTypes(attributableType);
-        res.removeAll(toBeFiltered);
-
-        return res;
-    }
-
-    /**
-     * Get attribute types for a certain attributable type.
-     *
-     * @param attributableType attributable type
-     * @return set of attribute types.
-     */
-    public static Set<IntMappingType> getAttributeTypes(final AttributableType attributableType) {
-        final EnumSet<?> enumset;
-
-        switch (attributableType) {
-            case ROLE:
-                enumset = EnumSet.allOf(RoleMappingType.class);
-                break;
-
-            case MEMBERSHIP:
-                enumset = EnumSet.allOf(MembershipMappingType.class);
-                break;
-
-            case USER:
-            default:
-                enumset = EnumSet.allOf(UserMappingType.class);
-        }
-
-        final Set<IntMappingType> result = new HashSet<IntMappingType>(enumset.size());
-        for (Object obj : enumset) {
-            result.add(IntMappingType.valueOf(obj.toString()));
-        }
-
-        return result;
-    }
-
-    public static Set<IntMappingType> getEmbedded() {
-        return EnumSet.of(
-                IntMappingType.UserId, IntMappingType.Username, IntMappingType.Password,
-                IntMappingType.RoleId, IntMappingType.RoleName, IntMappingType.RoleOwnerSchema,
-                IntMappingType.MembershipId);
-    }
-
-    /**
-     * Check if attribute type belongs to the specified attributable type set.
-     *
-     * @param attributableType attributable type.
-     * @param type attribute type.
-     * @return true if attribute type belongs to the specified attributable type set.
-     */
-    public static boolean contains(final AttributableType attributableType, final String type) {
-        switch (attributableType) {
-            case ROLE:
-                for (RoleMappingType c : RoleMappingType.values()) {
-                    if (c.name().equals(type)) {
-                        return true;
-                    }
-                }
-                break;
-
-            case MEMBERSHIP:
-                for (MembershipMappingType c : MembershipMappingType.values()) {
-                    if (c.name().equals(type)) {
-                        return true;
-                    }
-                }
-                break;
-
-            case USER:
-            default:
-                for (UserMappingType c : UserMappingType.values()) {
-                    if (c.name().equals(type)) {
-                        return true;
-                    }
-                }
-                break;
-        }
-        return false;
-    }
-
-    /**
-     * User attribute types.
-     */
-    private enum UserMappingType {
-
-        UserSchema,
-        UserDerivedSchema,
-        UserVirtualSchema,
-        UserId,
-        Username,
-        Password;
-
-    }
-
-    /**
-     * Role attribute types.
-     */
-    private enum RoleMappingType {
-
-        RoleSchema,
-        RoleDerivedSchema,
-        RoleVirtualSchema,
-        RoleId,
-        RoleName,
-        RoleOwnerSchema;
-
-    }
-
-    /**
-     * Membership attribute types.
-     */
-    private enum MembershipMappingType {
-
-        MembershipSchema,
-        MembershipDerivedSchema,
-        MembershipVirtualSchema,
-        MembershipId;
-
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/2d194636/common/src/main/java/org/apache/syncope/common/types/LoggerLevel.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/types/LoggerLevel.java b/common/src/main/java/org/apache/syncope/common/types/LoggerLevel.java
deleted file mode 100644
index 85b8383..0000000
--- a/common/src/main/java/org/apache/syncope/common/types/LoggerLevel.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * 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.common.types;
-
-import javax.xml.bind.annotation.XmlEnum;
-import org.apache.logging.log4j.Level;
-
-@XmlEnum
-public enum LoggerLevel {
-
-    OFF(Level.OFF),
-    FATAL(Level.FATAL),
-    ERROR(Level.ERROR),
-    WARN(Level.WARN),
-    INFO(Level.INFO),
-    DEBUG(Level.DEBUG),
-    TRACE(Level.TRACE),
-    ALL(Level.ALL);
-
-    private Level level;
-
-    LoggerLevel(final Level level) {
-        this.level = level;
-    }
-
-    public Level getLevel() {
-        return level;
-    }
-
-    public static LoggerLevel fromLevel(final Level level) {
-        return LoggerLevel.valueOf(level.name());
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/2d194636/common/src/main/java/org/apache/syncope/common/types/LoggerType.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/types/LoggerType.java b/common/src/main/java/org/apache/syncope/common/types/LoggerType.java
deleted file mode 100644
index dcb21b7..0000000
--- a/common/src/main/java/org/apache/syncope/common/types/LoggerType.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * 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.common.types;
-
-import javax.xml.bind.annotation.XmlEnum;
-
-@XmlEnum
-public enum LoggerType {
-
-    /**
-     * This type describes a common logger used to handle system and application events.
-     */
-    LOG(""),
-    /**
-     * Audit logger only focus on security related events, usually logging how did what and when.
-     * In case of a security incident audit loggers should allow an administrator to recall all
-     * actions a certain user has done.
-     */
-    AUDIT("syncope.audit");
-
-    private String prefix;
-
-    LoggerType(final String prefix) {
-        this.prefix = prefix;
-    }
-
-    public String getPrefix() {
-        return prefix;
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/2d194636/common/src/main/java/org/apache/syncope/common/types/MappingPurpose.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/types/MappingPurpose.java b/common/src/main/java/org/apache/syncope/common/types/MappingPurpose.java
deleted file mode 100644
index a2435cb..0000000
--- a/common/src/main/java/org/apache/syncope/common/types/MappingPurpose.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * 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.common.types;
-
-public enum MappingPurpose {
-
-    BOTH,
-    SYNCHRONIZATION,
-    PROPAGATION,
-    NONE
-
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/2d194636/common/src/main/java/org/apache/syncope/common/types/MatchingRule.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/types/MatchingRule.java b/common/src/main/java/org/apache/syncope/common/types/MatchingRule.java
deleted file mode 100644
index 51933fc..0000000
--- a/common/src/main/java/org/apache/syncope/common/types/MatchingRule.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * 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.common.types;
-
-import javax.xml.bind.annotation.XmlEnum;
-
-/**
- * Sync/Push task matching rule.
- */
-@XmlEnum
-public enum MatchingRule {
-
-    /**
-     * Do not perform any action.
-     */
-    IGNORE,
-    /**
-     * Update matching entity.
-     */
-    UPDATE,
-    /**
-     * Delete resource entity.
-     */
-    DEPROVISION,
-    /**
-     * Unlink resource and delete resource entity.
-     */
-    UNASSIGN,
-    /**
-     * Just unlink resource without performing any (de-)provisioning operation.
-     */
-    UNLINK,
-    /**
-     * Just link resource without performing any (de-)provisioning operation.
-     */
-    LINK
-
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/2d194636/common/src/main/java/org/apache/syncope/common/types/PasswordPolicySpec.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/types/PasswordPolicySpec.java b/common/src/main/java/org/apache/syncope/common/types/PasswordPolicySpec.java
deleted file mode 100644
index ae93ca6..0000000
--- a/common/src/main/java/org/apache/syncope/common/types/PasswordPolicySpec.java
+++ /dev/null
@@ -1,367 +0,0 @@
-/*
- * 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.common.types;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import java.util.ArrayList;
-import java.util.List;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlElementWrapper;
-import javax.xml.bind.annotation.XmlType;
-import org.apache.syncope.common.annotation.SchemaList;
-
-@XmlType
-public class PasswordPolicySpec extends AbstractPolicySpec {
-
-    private static final long serialVersionUID = -7988778083915548547L;
-
-    /**
-     * History length.
-     */
-    private int historyLength;
-
-    /**
-     * Minimum length.
-     */
-    private int maxLength;
-
-    /**
-     * Maximum length.
-     */
-    private int minLength;
-
-    /**
-     * Substrings not permitted.
-     */
-    private List<String> wordsNotPermitted;
-
-    /**
-     * User attribute values not permitted.
-     */
-    @SchemaList
-    private List<String> schemasNotPermitted;
-
-    /**
-     * Specify if one or more non alphanumeric characters are required.
-     */
-    private boolean nonAlphanumericRequired;
-
-    /**
-     * Specify if one or more alphanumeric characters are required.
-     */
-    private boolean alphanumericRequired;
-
-    /**
-     * Specify if one or more digits are required.
-     */
-    private boolean digitRequired;
-
-    /**
-     * Specify if one or more lowercase alphabetic characters are required.
-     */
-    private boolean lowercaseRequired;
-
-    /**
-     * Specify if one or more uppercase alphabetic characters are required.
-     */
-    private boolean uppercaseRequired;
-
-    /**
-     * Specify if must start with a digit.
-     */
-    private boolean mustStartWithDigit;
-
-    /**
-     * Specify if mustn't start with a digit.
-     */
-    private boolean mustntStartWithDigit;
-
-    /**
-     * Specify if must end with a digit.
-     */
-    private boolean mustEndWithDigit;
-
-    /**
-     * Specify if mustn't end with a digit.
-     */
-    private boolean mustntEndWithDigit;
-
-    /**
-     * Specify if must start with a non alphanumeric character.
-     */
-    private boolean mustStartWithNonAlpha;
-
-    /**
-     * Specify if must start with a alphanumeric character.
-     */
-    private boolean mustStartWithAlpha;
-
-    /**
-     * Specify if mustn't start with a non alphanumeric character.
-     */
-    private boolean mustntStartWithNonAlpha;
-
-    /**
-     * Specify if mustn't start with a alphanumeric character.
-     */
-    private boolean mustntStartWithAlpha;
-
-    /**
-     * Specify if must end with a non alphanumeric character.
-     */
-    private boolean mustEndWithNonAlpha;
-
-    /**
-     * Specify if must end with a alphanumeric character.
-     */
-    private boolean mustEndWithAlpha;
-
-    /**
-     * Specify if mustn't end with a non alphanumeric character.
-     */
-    private boolean mustntEndWithNonAlpha;
-
-    /**
-     * Specify if mustn't end with a alphanumeric character.
-     */
-    private boolean mustntEndWithAlpha;
-
-    /**
-     * Specify if password shall not be stored internally.
-     */
-    private boolean allowNullPassword;
-
-    /**
-     * Substrings not permitted as prefix.
-     */
-    private List<String> prefixesNotPermitted;
-
-    /**
-     * Substrings not permitted as suffix.
-     */
-    private List<String> suffixesNotPermitted;
-
-    public boolean isDigitRequired() {
-        return digitRequired;
-    }
-
-    public void setDigitRequired(final boolean digitRequired) {
-        this.digitRequired = digitRequired;
-    }
-
-    public boolean isLowercaseRequired() {
-        return lowercaseRequired;
-    }
-
-    public void setLowercaseRequired(final boolean lowercaseRequired) {
-        this.lowercaseRequired = lowercaseRequired;
-    }
-
-    public int getMaxLength() {
-        return maxLength;
-    }
-
-    public void setMaxLength(final int maxLength) {
-        this.maxLength = maxLength;
-    }
-
-    public int getMinLength() {
-        return minLength;
-    }
-
-    public void setMinLength(final int minLength) {
-        this.minLength = minLength;
-    }
-
-    public boolean isMustEndWithDigit() {
-        return mustEndWithDigit;
-    }
-
-    public void setMustEndWithDigit(final boolean mustEndWithDigit) {
-        this.mustEndWithDigit = mustEndWithDigit;
-    }
-
-    public boolean isMustEndWithNonAlpha() {
-        return mustEndWithNonAlpha;
-    }
-
-    public void setMustEndWithNonAlpha(final boolean mustEndWithNonAlpha) {
-        this.mustEndWithNonAlpha = mustEndWithNonAlpha;
-    }
-
-    public boolean isMustStartWithDigit() {
-        return mustStartWithDigit;
-    }
-
-    public void setMustStartWithDigit(final boolean mustStartWithDigit) {
-        this.mustStartWithDigit = mustStartWithDigit;
-    }
-
-    public boolean isMustStartWithNonAlpha() {
-        return mustStartWithNonAlpha;
-    }
-
-    public void setMustStartWithNonAlpha(final boolean mustStartWithNonAlpha) {
-        this.mustStartWithNonAlpha = mustStartWithNonAlpha;
-    }
-
-    public boolean isMustntEndWithDigit() {
-        return mustntEndWithDigit;
-    }
-
-    public void setMustntEndWithDigit(final boolean mustntEndWithDigit) {
-        this.mustntEndWithDigit = mustntEndWithDigit;
-    }
-
-    public boolean isMustntEndWithNonAlpha() {
-        return mustntEndWithNonAlpha;
-    }
-
-    public void setMustntEndWithNonAlpha(final boolean mustntEndWithNonAlpha) {
-        this.mustntEndWithNonAlpha = mustntEndWithNonAlpha;
-    }
-
-    public boolean isMustntStartWithDigit() {
-        return mustntStartWithDigit;
-    }
-
-    public void setMustntStartWithDigit(final boolean mustntStartWithDigit) {
-        this.mustntStartWithDigit = mustntStartWithDigit;
-    }
-
-    public boolean isMustntStartWithNonAlpha() {
-        return mustntStartWithNonAlpha;
-    }
-
-    public void setMustntStartWithNonAlpha(final boolean mustntStartWithNonAlpha) {
-        this.mustntStartWithNonAlpha = mustntStartWithNonAlpha;
-    }
-
-    public boolean isNonAlphanumericRequired() {
-        return nonAlphanumericRequired;
-    }
-
-    public void setNonAlphanumericRequired(final boolean nonAlphanumericRequired) {
-        this.nonAlphanumericRequired = nonAlphanumericRequired;
-    }
-
-    @XmlElementWrapper(name = "prefixesNotPermitted")
-    @XmlElement(name = "prefix")
-    @JsonProperty("prefixesNotPermitted")
-    public List<String> getPrefixesNotPermitted() {
-        if (prefixesNotPermitted == null) {
-            prefixesNotPermitted = new ArrayList<String>();
-        }
-        return prefixesNotPermitted;
-    }
-
-    @XmlElementWrapper(name = "schemasNotPermitted")
-    @XmlElement(name = "schema")
-    @JsonProperty("schemasNotPermitted")
-    public List<String> getSchemasNotPermitted() {
-        if (schemasNotPermitted == null) {
-            schemasNotPermitted = new ArrayList<String>();
-        }
-        return schemasNotPermitted;
-    }
-
-    @XmlElementWrapper(name = "suffixesNotPermitted")
-    @XmlElement(name = "suffix")
-    @JsonProperty("suffixesNotPermitted")
-    public List<String> getSuffixesNotPermitted() {
-        if (suffixesNotPermitted == null) {
-            suffixesNotPermitted = new ArrayList<String>();
-        }
-        return suffixesNotPermitted;
-    }
-
-    public boolean isUppercaseRequired() {
-        return uppercaseRequired;
-    }
-
-    public void setUppercaseRequired(final boolean uppercaseRequired) {
-        this.uppercaseRequired = uppercaseRequired;
-    }
-
-    @XmlElementWrapper(name = "wordsNotPermitted")
-    @XmlElement(name = "word")
-    @JsonProperty("wordsNotPermitted")
-    public List<String> getWordsNotPermitted() {
-        if (wordsNotPermitted == null) {
-            wordsNotPermitted = new ArrayList<String>();
-        }
-        return wordsNotPermitted;
-    }
-
-    public boolean isAlphanumericRequired() {
-        return alphanumericRequired;
-    }
-
-    public void setAlphanumericRequired(final boolean alphanumericRequired) {
-        this.alphanumericRequired = alphanumericRequired;
-    }
-
-    public boolean isMustEndWithAlpha() {
-        return mustEndWithAlpha;
-    }
-
-    public void setMustEndWithAlpha(final boolean mustEndWithAlpha) {
-        this.mustEndWithAlpha = mustEndWithAlpha;
-    }
-
-    public boolean isMustStartWithAlpha() {
-        return mustStartWithAlpha;
-    }
-
-    public void setMustStartWithAlpha(final boolean mustStartWithAlpha) {
-        this.mustStartWithAlpha = mustStartWithAlpha;
-    }
-
-    public boolean isMustntEndWithAlpha() {
-        return mustntEndWithAlpha;
-    }
-
-    public void setMustntEndWithAlpha(final boolean mustntEndWithAlpha) {
-        this.mustntEndWithAlpha = mustntEndWithAlpha;
-    }
-
-    public boolean isMustntStartWithAlpha() {
-        return mustntStartWithAlpha;
-    }
-
-    public void setMustntStartWithAlpha(final boolean mustntStartWithAlpha) {
-        this.mustntStartWithAlpha = mustntStartWithAlpha;
-    }
-
-    public int getHistoryLength() {
-        return historyLength;
-    }
-
-    public void setHistoryLength(final int historyLength) {
-        this.historyLength = historyLength;
-    }
-
-    public boolean isAllowNullPassword() {
-        return allowNullPassword;
-    }
-
-    public void setAllowNullPassword(final boolean allowNullPassword) {
-        this.allowNullPassword = allowNullPassword;
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/2d194636/common/src/main/java/org/apache/syncope/common/types/PolicyType.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/types/PolicyType.java b/common/src/main/java/org/apache/syncope/common/types/PolicyType.java
deleted file mode 100644
index 72b5d5c..0000000
--- a/common/src/main/java/org/apache/syncope/common/types/PolicyType.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * 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.common.types;
-
-import javax.xml.bind.annotation.XmlEnum;
-
-@XmlEnum
-public enum PolicyType {
-
-    /**
-     * Account policy like:
-     * password expire time, change password at first access, ...
-     */
-    ACCOUNT("Account Policy"),
-    GLOBAL_ACCOUNT("Account Global Policy"),
-    /**
-     * Password policy regarding password syntax.
-     */
-    PASSWORD("Password Policy"),
-    GLOBAL_PASSWORD("Password Global Policy"),
-    /**
-     * SYNC policy regarding account conflicts resolution.
-     */
-    SYNC("Synchronization Policy"),
-    GLOBAL_SYNC("Synchronization Global Policy"),
-    /**
-     * PUSH policy regarding account conflicts resolution.
-     */
-    PUSH("Push Policy"),
-    GLOBAL_PUSH("Push Global Policy");
-
-    private String description;
-
-    PolicyType(final String description) {
-        this.description = description;
-    }
-
-    public String getDescription() {
-        return description;
-    }
-
-    public static PolicyType fromString(final String value) {
-        return PolicyType.valueOf(value.toUpperCase());
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/2d194636/common/src/main/java/org/apache/syncope/common/types/Preference.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/types/Preference.java b/common/src/main/java/org/apache/syncope/common/types/Preference.java
deleted file mode 100644
index eedc0bd..0000000
--- a/common/src/main/java/org/apache/syncope/common/types/Preference.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * 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.common.types;
-
-/**
- * Preferences available to be specified during requests.
- *
- * @see RESTHeaders#PREFER
- * @see RESTHeaders#PREFERENCE_APPLIED
- */
-public enum Preference {
-
-    NONE(""),
-    RETURN_CONTENT("return-content"),
-    RETURN_NO_CONTENT("return-no-content");
-
-    private String literal;
-
-    private Preference(final String literal) {
-        this.literal = literal;
-    }
-
-    @Override
-    public String toString() {
-        return literal;
-    }
-
-    public static Preference fromString(final String literal) {
-        Preference result = null;
-
-        for (Preference preference : values()) {
-            if (preference.toString().equalsIgnoreCase(literal)) {
-                result = preference;
-            }
-        }
-
-        if (result == null) {
-            result = NONE;
-        }
-
-        return result;
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/2d194636/common/src/main/java/org/apache/syncope/common/types/PropagationMode.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/types/PropagationMode.java b/common/src/main/java/org/apache/syncope/common/types/PropagationMode.java
deleted file mode 100644
index 59f3ade..0000000
--- a/common/src/main/java/org/apache/syncope/common/types/PropagationMode.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * 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.common.types;
-
-import javax.xml.bind.annotation.XmlEnum;
-
-@XmlEnum
-public enum PropagationMode {
-
-    ONE_PHASE,
-    TWO_PHASES
-
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/2d194636/common/src/main/java/org/apache/syncope/common/types/PropagationTaskExecStatus.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/types/PropagationTaskExecStatus.java b/common/src/main/java/org/apache/syncope/common/types/PropagationTaskExecStatus.java
deleted file mode 100644
index a85f132..0000000
--- a/common/src/main/java/org/apache/syncope/common/types/PropagationTaskExecStatus.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * 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.common.types;
-
-import javax.xml.bind.annotation.XmlEnum;
-
-/**
- * Status of a propagation task execution.
- *
- * CREATED -&gt; SUBMITTED or UBSUBMITTED (depending on the external resource to
- * return success or failure).
- * SUBMITTED -&gt; SUCCESS or FAILURE (depending on the external resource to
- * report success or failure).
- *
- * @see org.apache.syncope.common.to.TaskExecTO
- */
-@XmlEnum
-public enum PropagationTaskExecStatus {
-
-    CREATED,
-    SUBMITTED,
-    UNSUBMITTED,
-    SUCCESS,
-    FAILURE;
-
-    public boolean isSuccessful() {
-        return this == SUCCESS || this == SUBMITTED;
-    }
-
-    public static PropagationTaskExecStatus fromString(final String value) {
-        return PropagationTaskExecStatus.valueOf(value.toUpperCase());
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/2d194636/common/src/main/java/org/apache/syncope/common/types/RESTHeaders.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/types/RESTHeaders.java b/common/src/main/java/org/apache/syncope/common/types/RESTHeaders.java
deleted file mode 100644
index 3e7cdc3..0000000
--- a/common/src/main/java/org/apache/syncope/common/types/RESTHeaders.java
+++ /dev/null
@@ -1,115 +0,0 @@
-/*
- * 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.common.types;
-
-/**
- * Custom HTTP headers in use with REST services.
- */
-public final class RESTHeaders {
-
-    /**
-     * UserId option key.
-     */
-    public static final String USER_ID = "Syncope.UserId";
-
-    /**
-     * Username option key.
-     */
-    public static final String USERNAME = "Syncope.Username";
-
-    /**
-     * Option key stating if user request create is allowed or not.
-     */
-    public static final String SELFREG_ALLOWED = "Syncope.SelfRegistration.Allowed";
-
-    /**
-     * Option key stating if password reset is allowed or not.
-     */
-    public static final String PWDRESET_ALLOWED = "Syncope.PasswordReset.Allowed";
-
-    /**
-     * Option key stating if password reset requires security question or not.
-     */
-    public static final String PWDRESET_NEEDS_SECURITYQUESTIONS = "Syncope.PasswordReset.SecurityQuestions";
-
-    /**
-     * Option key stating if Activiti workflow adapter is in use for users.
-     */
-    public static final String ACTIVITI_USER_ENABLED = "Syncope.Activiti.User.Enabled";
-
-    /**
-     * Option key stating if Activiti workflow adapter is in use for roles.
-     */
-    public static final String ACTIVITI_ROLE_ENABLED = "Syncope.Activiti.Role.Enabled";
-    
-     /**
-     * Option key stating if Camel is the current provisioning manager engine.
-     */
-    public static final String CAMEL_USER_PROVISIONING_MANAGER ="Syncope.Provisioning.Camel.User.Enabled";
-    
-    /**
-     * Option key stating if Camel is the current provisioning manager engine.
-     */
-    public static final String CAMEL_ROLE_PROVISIONING_MANAGER ="Syncope.Provisioning.Camel.Role.Enabled";
-
-
-    /**
-     * HTTP header key for object ID assigned to an object after its creation.
-     */
-    public static final String RESOURCE_ID = "Syncope.Id";
-
-    /**
-     * Declares the type of exception being raised.
-     *
-     * @see ClientExceptionType
-     */
-    public static final String ERROR_CODE = "X-Application-Error-Code";
-
-    /**
-     * Declares additional information for the exception being raised.
-     */
-    public static final String ERROR_INFO = "X-Application-Error-Info";
-
-    /**
-     * Mediatype for PNG images, not defined in <tt>javax.ws.rs.core.MediaType</tt>.
-     *
-     * @see javax.ws.rs.core.MediaType
-     */
-    public static final String MEDIATYPE_IMAGE_PNG = "image/png";
-
-    /**
-     * Allows the client to specify a preference for the result to be returned from the server.
-     * <a href="http://msdn.microsoft.com/en-us/library/hh537533.aspx">More information</a>.
-     *
-     * @see Preference
-     */
-    public static final String PREFER = "Prefer";
-
-    /**
-     * Allowd the server to inform the client about the fact that a specified preference was applied.
-     * <a href="http://msdn.microsoft.com/en-us/library/hh554623.aspx">More information</a>.
-     *
-     * @see Preference
-     */
-    public static final String PREFERENCE_APPLIED = "Preference-Applied";
-
-    private RESTHeaders() {
-        // Empty constructor for static utility class.
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/2d194636/common/src/main/java/org/apache/syncope/common/types/ReportExecExportFormat.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/types/ReportExecExportFormat.java b/common/src/main/java/org/apache/syncope/common/types/ReportExecExportFormat.java
deleted file mode 100644
index 8eddcc5..0000000
--- a/common/src/main/java/org/apache/syncope/common/types/ReportExecExportFormat.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * 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.common.types;
-
-import javax.xml.bind.annotation.XmlEnum;
-
-@XmlEnum
-public enum ReportExecExportFormat {
-
-    XML,
-    HTML,
-    PDF,
-    RTF,
-    CSV
-
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/2d194636/common/src/main/java/org/apache/syncope/common/types/ReportExecStatus.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/types/ReportExecStatus.java b/common/src/main/java/org/apache/syncope/common/types/ReportExecStatus.java
deleted file mode 100644
index 5a5600a..0000000
--- a/common/src/main/java/org/apache/syncope/common/types/ReportExecStatus.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * 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.common.types;
-
-import javax.xml.bind.annotation.XmlEnum;
-
-@XmlEnum
-public enum ReportExecStatus {
-
-    STARTED,
-    RUNNING,
-    SUCCESS,
-    FAILURE;
-
-    public static ReportExecStatus fromString(final String value) {
-        return ReportExecStatus.valueOf(value.toUpperCase());
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/2d194636/common/src/main/java/org/apache/syncope/common/types/ResourceAssociationActionType.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/types/ResourceAssociationActionType.java b/common/src/main/java/org/apache/syncope/common/types/ResourceAssociationActionType.java
deleted file mode 100644
index ce604c7..0000000
--- a/common/src/main/java/org/apache/syncope/common/types/ResourceAssociationActionType.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * 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.common.types;
-
-import javax.xml.bind.annotation.XmlEnum;
-
-@XmlEnum
-public enum ResourceAssociationActionType {
-
-    /**
-     * Add association between user/role on Syncope and external resource(s) without any propagation.
-     */
-    LINK,
-    /**
-     * Add user/role into external resource(s).
-     */
-    PROVISION,
-    /**
-     * Assign (link + provision) external resource(s) with user/role.
-     */
-    ASSIGN
-
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/2d194636/common/src/main/java/org/apache/syncope/common/types/ResourceDeassociationActionType.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/types/ResourceDeassociationActionType.java b/common/src/main/java/org/apache/syncope/common/types/ResourceDeassociationActionType.java
deleted file mode 100644
index c357c1d..0000000
--- a/common/src/main/java/org/apache/syncope/common/types/ResourceDeassociationActionType.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * 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.common.types;
-
-import javax.xml.bind.annotation.XmlEnum;
-
-@XmlEnum
-public enum ResourceDeassociationActionType {
-
-    /**
-     * Remove association between user/role on Syncope and external resource(s) without any propagation.
-     */
-    UNLINK,
-    /**
-     * Remove user/role from external resource(s).
-     */
-    DEPROVISION,
-    /**
-     * Unassign (unlink + de-provision) external resource(s) from user/role.
-     */
-    UNASSIGN
-
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/2d194636/common/src/main/java/org/apache/syncope/common/types/ResourceOperation.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/types/ResourceOperation.java b/common/src/main/java/org/apache/syncope/common/types/ResourceOperation.java
deleted file mode 100644
index 0a59853..0000000
--- a/common/src/main/java/org/apache/syncope/common/types/ResourceOperation.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * 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.common.types;
-
-import javax.xml.bind.annotation.XmlEnum;
-
-@XmlEnum
-public enum ResourceOperation {
-
-    CREATE,
-    UPDATE,
-    DELETE,
-    NONE
-
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/2d194636/common/src/main/java/org/apache/syncope/common/types/SchemaType.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/types/SchemaType.java b/common/src/main/java/org/apache/syncope/common/types/SchemaType.java
deleted file mode 100644
index 0507037..0000000
--- a/common/src/main/java/org/apache/syncope/common/types/SchemaType.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * 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.common.types;
-
-import javax.xml.bind.annotation.XmlEnum;
-import org.apache.syncope.common.to.AbstractSchemaTO;
-import org.apache.syncope.common.to.DerSchemaTO;
-import org.apache.syncope.common.to.SchemaTO;
-import org.apache.syncope.common.to.VirSchemaTO;
-
-@XmlEnum
-public enum SchemaType {
-
-    /**
-     * Standard schema for normal attributes to be stored within syncope.
-     */
-    NORMAL(SchemaTO.class),
-    /**
-     * Derived schema calculated based on other attributes.
-     */
-    DERIVED(DerSchemaTO.class),
-    /**
-     * Virtual schema for attributes fetched from remote resources only.
-     */
-    VIRTUAL(VirSchemaTO.class);
-
-    private final Class<? extends AbstractSchemaTO> toClass;
-
-    SchemaType(final Class<? extends AbstractSchemaTO> toClass) {
-        this.toClass = toClass;
-    }
-
-    public Class<? extends AbstractSchemaTO> getToClass() {
-        return toClass;
-    }
-
-    public static SchemaType fromToClass(final Class<? extends AbstractSchemaTO> toClass) {
-        SchemaType schemaType = null;
-
-        if (SchemaTO.class.equals(toClass)) {
-            schemaType = SchemaType.NORMAL;
-        } else if (DerSchemaTO.class.equals(toClass)) {
-            schemaType = SchemaType.DERIVED;
-        } else if (VirSchemaTO.class.equals(toClass)) {
-            schemaType = SchemaType.VIRTUAL;
-        } else {
-            throw new IllegalArgumentException("Unexpected class: " + toClass.getName());
-        }
-
-        return schemaType;
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/2d194636/common/src/main/java/org/apache/syncope/common/types/SubjectType.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/types/SubjectType.java b/common/src/main/java/org/apache/syncope/common/types/SubjectType.java
deleted file mode 100644
index 427fc49..0000000
--- a/common/src/main/java/org/apache/syncope/common/types/SubjectType.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * 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.common.types;
-
-import javax.xml.bind.annotation.XmlEnum;
-
-@XmlEnum
-public enum SubjectType {
-
-    USER,
-    ROLE;
-
-    public AttributableType asAttributableType() {
-        return this == USER
-                ? AttributableType.USER
-                : AttributableType.ROLE;
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/2d194636/common/src/main/java/org/apache/syncope/common/types/SyncPolicySpec.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/types/SyncPolicySpec.java b/common/src/main/java/org/apache/syncope/common/types/SyncPolicySpec.java
deleted file mode 100644
index f57dd42..0000000
--- a/common/src/main/java/org/apache/syncope/common/types/SyncPolicySpec.java
+++ /dev/null
@@ -1,97 +0,0 @@
-/*
- * 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.common.types;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import java.util.ArrayList;
-import java.util.List;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlElementWrapper;
-import javax.xml.bind.annotation.XmlType;
-import org.apache.syncope.common.annotation.ClassList;
-import org.apache.syncope.common.annotation.SchemaList;
-
-@XmlType
-public class SyncPolicySpec extends AbstractPolicySpec {
-
-    private static final long serialVersionUID = -3144027171719498127L;
-
-    /**
-     * SyncopeUser attributes and fields for matching during synchronization.
-     */
-    @SchemaList(extended = true)
-    private final List<String> uAltSearchSchemas = new ArrayList<String>();
-
-    @ClassList
-    private String userJavaRule;
-
-    /**
-     * SyncopeRole attributes and fields for matching during synchronization.
-     */
-    @SchemaList(extended = true)
-    private final List<String> rAltSearchSchemas = new ArrayList<String>();
-
-    @ClassList
-    private String roleJavaRule;
-
-    /**
-     * Conflict resolution action.
-     */
-    private ConflictResolutionAction conflictResolutionAction;
-
-    public ConflictResolutionAction getConflictResolutionAction() {
-        return conflictResolutionAction == null
-                ? ConflictResolutionAction.IGNORE
-                : conflictResolutionAction;
-    }
-
-    public void setConflictResolutionAction(final ConflictResolutionAction conflictResolutionAction) {
-        this.conflictResolutionAction = conflictResolutionAction;
-    }
-
-    @XmlElementWrapper(name = "userAltSearchSchemas")
-    @XmlElement(name = "userAltSearchSchema")
-    @JsonProperty("userAltSearchSchemas")
-    public List<String> getuAltSearchSchemas() {
-        return uAltSearchSchemas;
-    }
-
-    @XmlElementWrapper(name = "roleAltSearchSchemas")
-    @XmlElement(name = "roleAltSearchSchema")
-    @JsonProperty("roleAltSearchSchemas")
-    public List<String> getrAltSearchSchemas() {
-        return rAltSearchSchemas;
-    }
-
-    public String getRoleJavaRule() {
-        return roleJavaRule;
-    }
-
-    public void setRoleJavaRule(final String roleJavaRule) {
-        this.roleJavaRule = roleJavaRule;
-    }
-
-    public String getUserJavaRule() {
-        return userJavaRule;
-    }
-
-    public void setUserJavaRule(final String userJavaRule) {
-        this.userJavaRule = userJavaRule;
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/2d194636/common/src/main/java/org/apache/syncope/common/types/TaskType.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/types/TaskType.java b/common/src/main/java/org/apache/syncope/common/types/TaskType.java
deleted file mode 100644
index 8999d94..0000000
--- a/common/src/main/java/org/apache/syncope/common/types/TaskType.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * 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.common.types;
-
-import javax.xml.bind.annotation.XmlEnum;
-
-@XmlEnum
-public enum TaskType {
-
-    PROPAGATION("propagation"),
-    NOTIFICATION("notification"),
-    SCHEDULED("sched"),
-    SYNCHRONIZATION("sync"),
-    PUSH("push");
-
-    private String name;
-
-    private TaskType(final String name) {
-        this.name = name;
-    }
-
-    @Override
-    public String toString() {
-        return name;
-    }
-
-    public static TaskType fromString(final String name) {
-        if (name != null) {
-            for (TaskType t : TaskType.values()) {
-                if (t.name.equalsIgnoreCase(name)) {
-                    return t;
-                }
-            }
-        }
-
-        return null;
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/2d194636/common/src/main/java/org/apache/syncope/common/types/TraceLevel.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/types/TraceLevel.java b/common/src/main/java/org/apache/syncope/common/types/TraceLevel.java
deleted file mode 100644
index 63a4e5c..0000000
--- a/common/src/main/java/org/apache/syncope/common/types/TraceLevel.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * 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.common.types;
-
-import javax.xml.bind.annotation.XmlEnum;
-
-@XmlEnum
-public enum TraceLevel {
-
-    /**
-     * No details at all.
-     */
-    NONE,
-    /**
-     * Only failed entries.
-     */
-    FAILURES,
-    /**
-     * Only an overall summary.
-     */
-    SUMMARY,
-    /**
-     * All available information, including per-entry information.
-     */
-    ALL
-
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/2d194636/common/src/main/java/org/apache/syncope/common/types/UnmatchingRule.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/types/UnmatchingRule.java b/common/src/main/java/org/apache/syncope/common/types/UnmatchingRule.java
deleted file mode 100644
index d57aacf..0000000
--- a/common/src/main/java/org/apache/syncope/common/types/UnmatchingRule.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * 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.common.types;
-
-import javax.xml.bind.annotation.XmlEnum;
-
-/**
- * Sync/Push task un-matching rule.
- */
-@XmlEnum
-public enum UnmatchingRule {
-
-    /**
-     * Do not perform any action.
-     */
-    IGNORE,
-    /**
-     * Link the resource and create entity.
-     */
-    ASSIGN,
-    /**
-     * Create entity without linking the resource.
-     */
-    PROVISION,
-    /**
-     * Just unlink resource without performing any (de-)provisioning operation.
-     * In case of sync task UNLINK and IGNORE will coincide.
-     */
-    UNLINK
-
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/2d194636/common/src/main/java/org/apache/syncope/common/types/WorkflowFormPropertyType.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/types/WorkflowFormPropertyType.java b/common/src/main/java/org/apache/syncope/common/types/WorkflowFormPropertyType.java
deleted file mode 100644
index cfd473f..0000000
--- a/common/src/main/java/org/apache/syncope/common/types/WorkflowFormPropertyType.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * 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.common.types;
-
-import javax.xml.bind.annotation.XmlEnum;
-
-@XmlEnum
-public enum WorkflowFormPropertyType {
-
-    String,
-    Long,
-    Enum,
-    Date,
-    Boolean
-
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/2d194636/common/src/main/java/org/apache/syncope/common/types/WorkflowTasks.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/types/WorkflowTasks.java b/common/src/main/java/org/apache/syncope/common/types/WorkflowTasks.java
deleted file mode 100644
index cc01bc6..0000000
--- a/common/src/main/java/org/apache/syncope/common/types/WorkflowTasks.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * 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.common.types;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.List;
-import javax.xml.bind.annotation.XmlRootElement;
-
-@XmlRootElement
-public class WorkflowTasks {
-
-    private List<String> tasks;
-
-    public WorkflowTasks() {
-        this.tasks = new ArrayList<String>();
-    }
-
-    public WorkflowTasks(final Collection<String> tasks) {
-        this();
-        this.tasks.addAll(tasks);
-    }
-
-    public List<String> getTasks() {
-        return tasks;
-    }
-
-    public void setTasks(final List<String> tasks) {
-        this.tasks = tasks;
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/2d194636/common/src/main/java/org/apache/syncope/common/types/package-info.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/types/package-info.java b/common/src/main/java/org/apache/syncope/common/types/package-info.java
deleted file mode 100644
index b9bb6dd..0000000
--- a/common/src/main/java/org/apache/syncope/common/types/package-info.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * 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.
- */
-@XmlSchema(namespace = SyncopeConstants.NAMESPACE)
-package org.apache.syncope.common.types;
-
-import javax.xml.bind.annotation.XmlSchema;
-import org.apache.syncope.common.SyncopeConstants;