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/12/16 14:38:33 UTC

[14/30] syncope git commit: [SYNCOPE-740] Release process in place, now time to check if it works

http://git-wip-us.apache.org/repos/asf/syncope/blob/b7f88690/client/old_console/src/main/java/org/apache/syncope/client/console/rest/UserSelfRestClient.java
----------------------------------------------------------------------
diff --git a/client/old_console/src/main/java/org/apache/syncope/client/console/rest/UserSelfRestClient.java b/client/old_console/src/main/java/org/apache/syncope/client/console/rest/UserSelfRestClient.java
deleted file mode 100644
index 1bb1079..0000000
--- a/client/old_console/src/main/java/org/apache/syncope/client/console/rest/UserSelfRestClient.java
+++ /dev/null
@@ -1,96 +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.client.console.rest;
-
-import org.apache.syncope.client.console.SyncopeSession;
-import org.apache.syncope.common.lib.SyncopeClientException;
-import org.apache.syncope.common.lib.mod.UserMod;
-import org.apache.syncope.common.lib.to.UserTO;
-import org.apache.syncope.common.rest.api.service.UserSelfService;
-import org.springframework.stereotype.Component;
-
-@Component
-public class UserSelfRestClient extends BaseRestClient {
-
-    private static final long serialVersionUID = 2994691796924731295L;
-
-    public boolean isSelfRegistrationAllowed() {
-        Boolean result = null;
-        try {
-            result = SyncopeSession.get().getSyncopeTO().isSelfRegAllowed();
-        } catch (SyncopeClientException e) {
-            LOG.error("While seeking if self registration is allowed", e);
-        }
-
-        return result == null
-                ? false
-                : result.booleanValue();
-    }
-
-    public UserTO read() {
-        return getService(UserSelfService.class).read();
-    }
-
-    public void create(final UserTO userTO, final boolean storePassword) {
-        getService(UserSelfService.class).create(userTO, storePassword);
-    }
-
-    public void update(final UserMod userMod) {
-        getService(UserSelfService.class).update(userMod.getKey(), userMod);
-    }
-
-    public void delete() {
-        getService(UserSelfService.class).delete();
-    }
-
-    public boolean isPasswordResetAllowed() {
-        Boolean result = null;
-        try {
-            result = SyncopeSession.get().getSyncopeTO().isPwdResetAllowed();
-        } catch (SyncopeClientException e) {
-            LOG.error("While seeking if password reset is allowed", e);
-        }
-
-        return result == null
-                ? false
-                : result.booleanValue();
-    }
-
-    public boolean isPwdResetRequiringSecurityQuestions() {
-        Boolean result = null;
-        try {
-            result = SyncopeSession.get().getSyncopeTO().isPwdResetRequiringSecurityQuestions();
-        } catch (SyncopeClientException e) {
-            LOG.error("While seeking if password reset requires security question", e);
-        }
-
-        return result == null
-                ? false
-                : result.booleanValue();
-    }
-
-    public void requestPasswordReset(final String username, final String securityAnswer) {
-        getService(UserSelfService.class).requestPasswordReset(username, securityAnswer);
-    }
-
-    public void confirmPasswordReset(final String token, final String password) {
-        getService(UserSelfService.class).confirmPasswordReset(token, password);
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/b7f88690/client/old_console/src/main/java/org/apache/syncope/client/console/rest/WorkflowRestClient.java
----------------------------------------------------------------------
diff --git a/client/old_console/src/main/java/org/apache/syncope/client/console/rest/WorkflowRestClient.java b/client/old_console/src/main/java/org/apache/syncope/client/console/rest/WorkflowRestClient.java
deleted file mode 100644
index f3bf60c..0000000
--- a/client/old_console/src/main/java/org/apache/syncope/client/console/rest/WorkflowRestClient.java
+++ /dev/null
@@ -1,69 +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.client.console.rest;
-
-import java.io.InputStream;
-import javax.ws.rs.core.MediaType;
-import javax.ws.rs.core.Response;
-import org.apache.cxf.helpers.IOUtils;
-import org.apache.cxf.jaxrs.client.WebClient;
-import org.apache.syncope.client.console.SyncopeSession;
-import org.apache.syncope.common.lib.types.SubjectType;
-import org.apache.syncope.common.rest.api.RESTHeaders;
-import org.apache.syncope.common.rest.api.service.WorkflowService;
-import org.springframework.stereotype.Component;
-
-@Component
-public class WorkflowRestClient extends BaseRestClient {
-
-    private static final long serialVersionUID = 5049285686167071017L;
-
-    private WorkflowService getService(final MediaType mediaType) {
-        return SyncopeSession.get().getService(mediaType, WorkflowService.class);
-    }
-
-    public InputStream getDefinition(final MediaType mediaType) {
-        Response response = getService(mediaType).exportDefinition(SubjectType.USER);
-
-        return (InputStream) response.getEntity();
-    }
-
-    public byte[] getDiagram() {
-        WorkflowService service = getService(WorkflowService.class);
-        WebClient.client(service).accept(RESTHeaders.MEDIATYPE_IMAGE_PNG);
-        Response response = service.exportDiagram(SubjectType.USER);
-
-        byte[] diagram;
-        try {
-            diagram = IOUtils.readBytesFromStream((InputStream) response.getEntity());
-        } catch (Exception e) {
-            LOG.error("Could not get workflow diagram", e);
-            diagram = new byte[0];
-        }
-        return diagram;
-    }
-
-    public boolean isActivitiEnabledForUsers() {
-        return SyncopeSession.get().getSyncopeTO().getUserWorkflowAdapter().indexOf("Activiti") != -1;
-    }
-
-    public void updateDefinition(final MediaType mediaType, final String definition) {
-        getService(mediaType).importDefinition(SubjectType.USER, definition);
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/b7f88690/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/ajax/form/AbstractAjaxDownloadBehavior.java
----------------------------------------------------------------------
diff --git a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/ajax/form/AbstractAjaxDownloadBehavior.java b/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/ajax/form/AbstractAjaxDownloadBehavior.java
deleted file mode 100644
index 8074d37..0000000
--- a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/ajax/form/AbstractAjaxDownloadBehavior.java
+++ /dev/null
@@ -1,48 +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.client.console.wicket.ajax.form;
-
-import org.apache.wicket.ajax.AjaxRequestTarget;
-import org.apache.wicket.behavior.AbstractAjaxBehavior;
-import org.apache.wicket.request.handler.resource.ResourceStreamRequestHandler;
-import org.apache.wicket.util.resource.IResourceStream;
-
-public abstract class AbstractAjaxDownloadBehavior extends AbstractAjaxBehavior {
-
-    private static final long serialVersionUID = 6833760760338614245L;
-
-    /**
-     * Call this method to initiate the download.
-     */
-    public void initiate(final AjaxRequestTarget target) {
-        CharSequence url = getCallbackUrl();
-
-        target.appendJavaScript("window.location.href='" + url + "'");
-    }
-
-    @Override
-    public void onRequest() {
-        getComponent().getRequestCycle().scheduleRequestHandlerAfterCurrent(
-                new ResourceStreamRequestHandler(getResourceStream(), getFileName()));
-    }
-
-    protected abstract String getFileName();
-
-    protected abstract IResourceStream getResourceStream();
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/b7f88690/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/ajax/markup/html/ClearIndicatingAjaxButton.java
----------------------------------------------------------------------
diff --git a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/ajax/markup/html/ClearIndicatingAjaxButton.java b/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/ajax/markup/html/ClearIndicatingAjaxButton.java
deleted file mode 100644
index 314f66c..0000000
--- a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/ajax/markup/html/ClearIndicatingAjaxButton.java
+++ /dev/null
@@ -1,76 +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.client.console.wicket.ajax.markup.html;
-
-import org.apache.syncope.client.console.pages.BasePage;
-import org.apache.wicket.Page;
-import org.apache.wicket.PageReference;
-import org.apache.wicket.ajax.AjaxRequestTarget;
-import org.apache.wicket.extensions.ajax.markup.html.IndicatingAjaxButton;
-import org.apache.wicket.markup.html.form.Form;
-import org.apache.wicket.model.IModel;
-
-public abstract class ClearIndicatingAjaxButton extends IndicatingAjaxButton {
-
-    private static final long serialVersionUID = 7206379812788748287L;
-
-    private final PageReference pageRef;
-
-    private boolean reloadFeebackPanel = true;
-
-    public ClearIndicatingAjaxButton(final String id, final PageReference pageRef) {
-        super(id);
-        this.pageRef = pageRef;
-    }
-
-    public ClearIndicatingAjaxButton(final String id, Form<?> form, final PageReference pageRef) {
-        super(id, form);
-        this.pageRef = pageRef;
-    }
-
-    public ClearIndicatingAjaxButton(final String id, IModel<String> model, final PageReference pageRef) {
-        super(id, model);
-        this.pageRef = pageRef;
-    }
-
-    public ClearIndicatingAjaxButton(final String id, final IModel<String> model, final Form<?> form,
-            final PageReference pageRef) {
-
-        super(id, model, form);
-        this.pageRef = pageRef;
-    }
-
-    protected abstract void onSubmitInternal(AjaxRequestTarget target, Form<?> form);
-
-    public ClearIndicatingAjaxButton feedbackPanelAutomaticReload(boolean reloadFeedbackPanel) {
-        this.reloadFeebackPanel = reloadFeedbackPanel;
-        return this;
-    }
-
-    @Override
-    protected final void onSubmit(final AjaxRequestTarget target, final Form<?> form) {
-        super.onSubmit(target, form);
-
-        Page page = pageRef.getPage();
-        if (reloadFeebackPanel && page instanceof BasePage) {
-            target.add(((BasePage) page).getFeedbackPanel());
-        }
-        onSubmitInternal(target, form);
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/b7f88690/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/ajax/markup/html/ClearIndicatingAjaxLink.java
----------------------------------------------------------------------
diff --git a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/ajax/markup/html/ClearIndicatingAjaxLink.java b/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/ajax/markup/html/ClearIndicatingAjaxLink.java
deleted file mode 100644
index 5bb5642..0000000
--- a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/ajax/markup/html/ClearIndicatingAjaxLink.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.client.console.wicket.ajax.markup.html;
-
-import org.apache.syncope.client.console.pages.BasePage;
-import org.apache.wicket.Page;
-import org.apache.wicket.PageReference;
-import org.apache.wicket.ajax.AjaxRequestTarget;
-import org.apache.wicket.extensions.ajax.markup.html.IndicatingAjaxLink;
-import org.apache.wicket.model.IModel;
-
-public abstract class ClearIndicatingAjaxLink<T> extends IndicatingAjaxLink<T> {
-
-    private static final long serialVersionUID = 7913625094362339643L;
-
-    private final PageReference pageRef;
-
-    private boolean reloadFeedbackPanel = true;
-
-    public ClearIndicatingAjaxLink(final String id, final PageReference pageRef) {
-        super(id);
-        this.pageRef = pageRef;
-    }
-
-    public ClearIndicatingAjaxLink(final String id, final IModel<T> model, final PageReference pageRef) {
-        super(id, model);
-        this.pageRef = pageRef;
-    }
-
-    public ClearIndicatingAjaxLink<T> feedbackPanelAutomaticReload(boolean reloadFeedbackPanel) {
-        this.reloadFeedbackPanel = reloadFeedbackPanel;
-        return this;
-    }
-
-    protected abstract void onClickInternal(AjaxRequestTarget target);
-
-    @Override
-    public final void onClick(final AjaxRequestTarget target) {
-        Page page = pageRef.getPage();
-        if (reloadFeedbackPanel && page instanceof BasePage) {
-            target.add(((BasePage) page).getFeedbackPanel());
-        }
-        onClickInternal(target);
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/b7f88690/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/ajax/markup/html/IndicatingOnConfirmAjaxLink.java
----------------------------------------------------------------------
diff --git a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/ajax/markup/html/IndicatingOnConfirmAjaxLink.java b/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/ajax/markup/html/IndicatingOnConfirmAjaxLink.java
deleted file mode 100644
index 86db915..0000000
--- a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/ajax/markup/html/IndicatingOnConfirmAjaxLink.java
+++ /dev/null
@@ -1,58 +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.client.console.wicket.ajax.markup.html;
-
-import org.apache.wicket.Component;
-import org.apache.wicket.PageReference;
-import org.apache.wicket.ajax.attributes.AjaxCallListener;
-import org.apache.wicket.ajax.attributes.AjaxRequestAttributes;
-
-public abstract class IndicatingOnConfirmAjaxLink<T> extends ClearIndicatingAjaxLink<T> {
-
-    private static final long serialVersionUID = 2228670850922265663L;
-
-    private final String msg;
-
-    public IndicatingOnConfirmAjaxLink(final String id, final PageReference pageRef) {
-        this(id, pageRef, "confirmDelete");
-    }
-
-    public IndicatingOnConfirmAjaxLink(final String id, final PageReference pageRef, final String msg) {
-        super(id, pageRef);
-        this.msg = msg;
-    }
-
-    @Override
-    protected void updateAjaxAttributes(final AjaxRequestAttributes attributes) {
-        super.updateAjaxAttributes(attributes);
-
-        final AjaxCallListener ajaxCallListener = new AjaxCallListener() {
-
-            private static final long serialVersionUID = 7160235486520935153L;
-
-            @Override
-            public CharSequence getPrecondition(final Component component) {
-                return "if (!confirm('"
-                        + getString(IndicatingOnConfirmAjaxLink.this.msg)
-                        + "')) {return false;} else {return true;}";
-            }
-        };
-        attributes.getAjaxCallListeners().add(ajaxCallListener);
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/b7f88690/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/ActionColumn.java
----------------------------------------------------------------------
diff --git a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/ActionColumn.java b/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/ActionColumn.java
deleted file mode 100644
index b9dfa62..0000000
--- a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/ActionColumn.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.client.console.wicket.extensions.markup.html.repeater.data.table;
-
-import org.apache.syncope.client.console.wicket.markup.html.form.ActionLinksPanel;
-import org.apache.wicket.Component;
-import org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator;
-import org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn;
-import org.apache.wicket.markup.repeater.Item;
-import org.apache.wicket.model.IModel;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public abstract class ActionColumn<T, S> extends AbstractColumn<T, S> {
-
-    private static final long serialVersionUID = 7955560320949560725L;
-
-    /**
-     * Logger.
-     */
-    protected static final Logger LOG = LoggerFactory.getLogger(ActionColumn.class);
-
-    public ActionColumn(final IModel<String> displayModel) {
-        super(displayModel);
-    }
-
-    @Override
-    public String getCssClass() {
-        return "action";
-    }
-
-    @Override
-    public Component getHeader(final String componentId) {
-        return super.getHeader(componentId);
-    }
-
-    @Override
-    public void populateItem(final Item<ICellPopulator<T>> item, final String componentId, final IModel<T> rowModel) {
-        item.add(getActions(componentId, rowModel));
-    }
-
-    public abstract ActionLinksPanel getActions(final String componentId, final IModel<T> rowModel);
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/b7f88690/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/ActionResultColumn.java
----------------------------------------------------------------------
diff --git a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/ActionResultColumn.java b/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/ActionResultColumn.java
deleted file mode 100644
index a2c40ff..0000000
--- a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/ActionResultColumn.java
+++ /dev/null
@@ -1,77 +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.client.console.wicket.extensions.markup.html.repeater.data.table;
-
-import java.beans.PropertyDescriptor;
-import org.apache.syncope.common.lib.to.BulkActionResult;
-import org.apache.syncope.common.lib.to.BulkActionResult.Status;
-import org.apache.wicket.Component;
-import org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator;
-import org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn;
-import org.apache.wicket.markup.html.basic.Label;
-import org.apache.wicket.markup.repeater.Item;
-import org.apache.wicket.model.IModel;
-import org.apache.wicket.model.Model;
-import org.apache.wicket.model.ResourceModel;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.springframework.beans.BeanUtils;
-
-public class ActionResultColumn<T, S> extends AbstractColumn<T, S> {
-
-    private static final long serialVersionUID = 7955560320949560716L;
-
-    /**
-     * Logger.
-     */
-    private static final Logger LOG = LoggerFactory.getLogger(ActionResultColumn.class);
-
-    private final BulkActionResult results;
-
-    private final String idFieldName;
-
-    public ActionResultColumn(final BulkActionResult results, final String idFieldName) {
-        super(new Model<String>());
-        this.results = results;
-        this.idFieldName = idFieldName;
-    }
-
-    @Override
-    public String getCssClass() {
-        return "bulkResultColumn";
-    }
-
-    @Override
-    public Component getHeader(final String componentId) {
-        return new Label(componentId, new ResourceModel("bulkActionResultLabel", "Result"));
-    }
-
-    @Override
-    public void populateItem(final Item<ICellPopulator<T>> item, final String componentId, final IModel<T> rowModel) {
-        try {
-            final PropertyDescriptor propDesc =
-                    BeanUtils.getPropertyDescriptor(rowModel.getObject().getClass(), idFieldName);
-            final Object id = propDesc.getReadMethod().invoke(rowModel.getObject(), new Object[0]);
-            final Status status = id == null ? null : results.getResultMap().get(id.toString());
-            item.add(new Label(componentId, status == null ? Status.SUCCESS : status.toString()));
-        } catch (Exception e) {
-            LOG.error("Errore retrieving target id value", e);
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/b7f88690/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/AttrColumn.java
----------------------------------------------------------------------
diff --git a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/AttrColumn.java b/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/AttrColumn.java
deleted file mode 100644
index b40d7c8..0000000
--- a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/AttrColumn.java
+++ /dev/null
@@ -1,85 +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.client.console.wicket.extensions.markup.html.repeater.data.table;
-
-import java.util.List;
-import org.apache.syncope.common.lib.to.AbstractAttributableTO;
-import org.apache.syncope.common.lib.types.SchemaType;
-import org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator;
-import org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn;
-import org.apache.wicket.markup.html.basic.Label;
-import org.apache.wicket.markup.repeater.Item;
-import org.apache.wicket.model.IModel;
-import org.apache.wicket.model.ResourceModel;
-
-public class AttrColumn extends AbstractColumn<AbstractAttributableTO, String> {
-
-    private static final long serialVersionUID = 2624734332447371372L;
-
-    private final String name;
-
-    private final SchemaType schemaType;
-
-    public AttrColumn(final String name, final SchemaType schemaType) {
-        // set sortProperty to schematype#name (e.g. derivedSchema#cn, 
-        // for use with SortableUserProviderComparator.AttrModel#getObject)
-        super(new ResourceModel(name, name), schemaType.name() + "#" + name);
-        this.name = name;
-        this.schemaType = schemaType;
-    }
-
-    @Override
-    public void populateItem(final Item<ICellPopulator<AbstractAttributableTO>> cellItem, final String componentId,
-            final IModel<AbstractAttributableTO> rowModel) {
-
-        List<String> values = null;
-
-        switch (schemaType) {
-            case PLAIN:
-                if (rowModel.getObject().getPlainAttrMap().containsKey(name)) {
-                    values = rowModel.getObject().getPlainAttrMap().get(name).getValues();
-                }
-                break;
-
-            case VIRTUAL:
-                if (rowModel.getObject().getVirAttrMap().containsKey(name)) {
-                    values = rowModel.getObject().getVirAttrMap().get(name).getValues();
-                }
-                break;
-
-            case DERIVED:
-                if (rowModel.getObject().getDerAttrMap().containsKey(name)) {
-                    values = rowModel.getObject().getDerAttrMap().get(name).getValues();
-                }
-                break;
-
-            default:
-        }
-
-        if (values == null || values.isEmpty()) {
-            cellItem.add(new Label(componentId, ""));
-        } else {
-            if (values.size() == 1) {
-                cellItem.add(new Label(componentId, values.get(0)));
-            } else {
-                cellItem.add(new Label(componentId, values.toString()));
-            }
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/b7f88690/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/CheckBoxGroupSelectorPanel.java
----------------------------------------------------------------------
diff --git a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/CheckBoxGroupSelectorPanel.java b/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/CheckBoxGroupSelectorPanel.java
deleted file mode 100644
index 8f880b7..0000000
--- a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/CheckBoxGroupSelectorPanel.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.client.console.wicket.extensions.markup.html.repeater.data.table;
-
-import org.apache.wicket.markup.html.form.CheckGroup;
-import org.apache.wicket.markup.html.form.CheckGroupSelector;
-import org.apache.wicket.markup.html.panel.Panel;
-
-public class CheckBoxGroupSelectorPanel<T> extends Panel {
-
-    private static final long serialVersionUID = 4062106303929176865L;
-
-    public CheckBoxGroupSelectorPanel(final String componentId, final CheckGroup<T> group) {
-
-        super(componentId);
-        add(new CheckGroupSelector("groupselector", group));
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/b7f88690/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/CheckBoxPanel.java
----------------------------------------------------------------------
diff --git a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/CheckBoxPanel.java b/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/CheckBoxPanel.java
deleted file mode 100644
index db87192..0000000
--- a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/CheckBoxPanel.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.client.console.wicket.extensions.markup.html.repeater.data.table;
-
-import org.apache.syncope.client.console.commons.ActionTableCheckGroup;
-import org.apache.wicket.markup.html.form.Check;
-import org.apache.wicket.markup.html.form.CheckGroup;
-import org.apache.wicket.markup.html.panel.Panel;
-import org.apache.wicket.model.IModel;
-
-public class CheckBoxPanel<T> extends Panel {
-
-    private static final long serialVersionUID = 4062106303929176865L;
-
-    private final Check<T> check;
-
-    public CheckBoxPanel(final String componentId, final IModel<T> model, final CheckGroup<T> checkGroup) {
-        super(componentId, model);
-        this.check = new Check<T>("check", model, checkGroup);
-        if (checkGroup instanceof ActionTableCheckGroup) {
-            boolean checkable = ((ActionTableCheckGroup<T>) checkGroup).isCheckable(model.getObject());
-            this.check.setEnabled(checkable);
-            this.check.setVisible(checkable);
-        }
-        add(this.check);
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/b7f88690/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/CheckGroupColumn.java
----------------------------------------------------------------------
diff --git a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/CheckGroupColumn.java b/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/CheckGroupColumn.java
deleted file mode 100644
index cf13f3c..0000000
--- a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/CheckGroupColumn.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.client.console.wicket.extensions.markup.html.repeater.data.table;
-
-import org.apache.wicket.Component;
-import org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator;
-import org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn;
-import org.apache.wicket.markup.html.form.CheckGroup;
-import org.apache.wicket.markup.repeater.Item;
-import org.apache.wicket.model.IModel;
-import org.apache.wicket.model.Model;
-
-public class CheckGroupColumn<T, S> extends AbstractColumn<T, S> {
-
-    private static final long serialVersionUID = 7955560320949560715L;
-
-    private final CheckGroup<T> group;
-
-    public CheckGroupColumn(final CheckGroup<T> checkGroup) {
-        super(new Model<String>());
-        this.group = checkGroup;
-    }
-
-    @Override
-    public String getCssClass() {
-        return "checkGroupColumn";
-    }
-
-    @Override
-    public Component getHeader(final String componentId) {
-        return new CheckBoxGroupSelectorPanel<T>(componentId, group);
-    }
-
-    @Override
-    public void populateItem(final Item<ICellPopulator<T>> item, final String componentId, final IModel<T> rowModel) {
-        item.add(new CheckBoxPanel<T>(componentId, rowModel, group));
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/b7f88690/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/CollectionPanel.java
----------------------------------------------------------------------
diff --git a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/CollectionPanel.java b/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/CollectionPanel.java
deleted file mode 100644
index f04fa5a..0000000
--- a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/CollectionPanel.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.client.console.wicket.extensions.markup.html.repeater.data.table;
-
-import java.util.List;
-import org.apache.wicket.markup.html.basic.Label;
-import org.apache.wicket.markup.html.list.ListItem;
-import org.apache.wicket.markup.html.list.ListView;
-import org.apache.wicket.markup.html.panel.Panel;
-import org.apache.wicket.model.ResourceModel;
-
-public class CollectionPanel extends Panel {
-
-    private static final long serialVersionUID = -4042497356836230377L;
-
-    @SuppressWarnings("unchecked")
-    public CollectionPanel(final String id, final List values) {
-        super(id);
-
-        add(new ListView("collection", values) {
-
-            private static final long serialVersionUID = 4949588177564901031L;
-
-            @Override
-            protected void populateItem(final ListItem item) {
-                final String value = item.getModelObject() == null ? null : item.getModelObject().toString();
-                item.add(new Label("item", new ResourceModel(value, value)));
-            }
-        });
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/b7f88690/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/CollectionPropertyColumn.java
----------------------------------------------------------------------
diff --git a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/CollectionPropertyColumn.java b/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/CollectionPropertyColumn.java
deleted file mode 100644
index a5fd774..0000000
--- a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/CollectionPropertyColumn.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.client.console.wicket.extensions.markup.html.repeater.data.table;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.List;
-import org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator;
-import org.apache.wicket.extensions.markup.html.repeater.data.table.PropertyColumn;
-import org.apache.wicket.markup.repeater.Item;
-import org.apache.wicket.model.IModel;
-
-public class CollectionPropertyColumn<T> extends PropertyColumn<T, String> {
-
-    private static final long serialVersionUID = 8077865338230121496L;
-
-    public CollectionPropertyColumn(
-            final IModel<String> displayModel,
-            final String sortProperty,
-            final String propertyExpression) {
-        super(displayModel, sortProperty, propertyExpression);
-    }
-
-    @Override
-    @SuppressWarnings("unchecked")
-    public void populateItem(
-            final Item<ICellPopulator<T>> cellItem, final String componentId, final IModel<T> rowModel) {
-
-        final Object value = getDataModel(rowModel).getObject();
-
-        if (value instanceof Collection) {
-            final List values = new ArrayList((Collection) value);
-            Collections.sort(values);
-            cellItem.add(new CollectionPanel(componentId, values));
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/b7f88690/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/DatePropertyColumn.java
----------------------------------------------------------------------
diff --git a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/DatePropertyColumn.java b/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/DatePropertyColumn.java
deleted file mode 100644
index f767aa2..0000000
--- a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/DatePropertyColumn.java
+++ /dev/null
@@ -1,53 +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.client.console.wicket.extensions.markup.html.repeater.data.table;
-
-import java.util.Date;
-import org.apache.syncope.client.console.SyncopeSession;
-import org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator;
-import org.apache.wicket.extensions.markup.html.repeater.data.table.PropertyColumn;
-import org.apache.wicket.markup.html.basic.Label;
-import org.apache.wicket.markup.repeater.Item;
-import org.apache.wicket.model.IModel;
-
-/**
- * Format column's value as date string.
- */
-public class DatePropertyColumn<T> extends PropertyColumn<T, String> {
-
-    private static final long serialVersionUID = 3527840552172947705L;
-
-    public DatePropertyColumn(final IModel<String> displayModel, final String sortProperty,
-            final String propertyExpression) {
-
-        super(displayModel, sortProperty, propertyExpression);
-    }
-
-    @Override
-    public void populateItem(final Item<ICellPopulator<T>> item, final String componentId, final IModel<T> rowModel) {
-
-        IModel<Object> date = getDataModel(rowModel);
-
-        String convertedDate = "";
-        if (date.getObject() instanceof Date) {
-            convertedDate = SyncopeSession.get().getDateFormat().format(date.getObject());
-        }
-        item.add(new Label(componentId, convertedDate));
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/b7f88690/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/JobColumn.java
----------------------------------------------------------------------
diff --git a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/JobColumn.java b/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/JobColumn.java
deleted file mode 100644
index 70d7074..0000000
--- a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/JobColumn.java
+++ /dev/null
@@ -1,66 +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.client.console.wicket.extensions.markup.html.repeater.data.table;
-
-import org.apache.syncope.client.console.panels.RuntimePanel;
-import org.apache.syncope.client.console.rest.JobRestClient;
-import org.apache.syncope.common.lib.to.AbstractTaskTO;
-import org.apache.syncope.common.lib.to.ReportTO;
-import org.apache.wicket.PageReference;
-import org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator;
-import org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn;
-import org.apache.wicket.markup.repeater.Item;
-import org.apache.wicket.model.IModel;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class JobColumn<T, S> extends AbstractColumn<T, S> {
-
-    private static final long serialVersionUID = 7955560320949560725L;
-
-    protected static final Logger LOG = LoggerFactory.getLogger(JobColumn.class);
-
-    private final PageReference pageRef;
-
-    private RuntimePanel panel;
-
-    private final JobRestClient jobRestClient;
-
-    public JobColumn(final IModel<String> displayModel, final S sortProperty, final PageReference pageRef,
-            final JobRestClient jobRestClient) {
-        super(displayModel, sortProperty);
-        this.pageRef = pageRef;
-        this.jobRestClient = jobRestClient;
-    }
-
-    @Override
-    public void populateItem(final Item<ICellPopulator<T>> item, final String componentId, final IModel<T> model) {
-        Long jobId = null;
-        if (model.getObject() instanceof AbstractTaskTO) {
-            jobId = ((AbstractTaskTO) model.getObject()).getId();
-        } else if (model.getObject() instanceof ReportTO) {
-            jobId = ((ReportTO) model.getObject()).getId();
-        }
-        if (jobId != null) {
-            panel = new RuntimePanel(componentId, model, pageRef, jobId, jobRestClient);
-            panel.startPolling(10);
-            item.add(panel);
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/b7f88690/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/TokenColumn.java
----------------------------------------------------------------------
diff --git a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/TokenColumn.java b/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/TokenColumn.java
deleted file mode 100644
index 094e450..0000000
--- a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/extensions/markup/html/repeater/data/table/TokenColumn.java
+++ /dev/null
@@ -1,51 +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.client.console.wicket.extensions.markup.html.repeater.data.table;
-
-import org.apache.syncope.common.lib.to.AbstractAttributableTO;
-import org.apache.syncope.common.lib.to.UserTO;
-import org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator;
-import org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn;
-import org.apache.wicket.markup.html.basic.Label;
-import org.apache.wicket.markup.repeater.Item;
-import org.apache.wicket.model.IModel;
-import org.apache.wicket.model.ResourceModel;
-import org.springframework.util.StringUtils;
-
-public class TokenColumn extends AbstractColumn<AbstractAttributableTO, String> {
-
-    private static final long serialVersionUID = 8077865338230121496L;
-
-    public TokenColumn(final String name) {
-        super(new ResourceModel(name, name), name);
-    }
-
-    @Override
-    public void populateItem(final Item<ICellPopulator<AbstractAttributableTO>> cellItem, final String componentId,
-            final IModel<AbstractAttributableTO> rowModel) {
-
-        if (rowModel.getObject() instanceof UserTO) {
-            if (StringUtils.hasText(((UserTO) rowModel.getObject()).getToken())) {
-                cellItem.add(new Label(componentId, new ResourceModel("tokenValued", "tokenValued")));
-            } else {
-                cellItem.add(new Label(componentId, new ResourceModel("tokenNotValued", "tokenNotValued")));
-            }
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/b7f88690/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/markup/head/MetaHeaderItem.java
----------------------------------------------------------------------
diff --git a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/markup/head/MetaHeaderItem.java b/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/markup/head/MetaHeaderItem.java
deleted file mode 100644
index 2c5150e..0000000
--- a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/markup/head/MetaHeaderItem.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.client.console.wicket.markup.head;
-
-import java.io.Serializable;
-import java.util.Arrays;
-import org.apache.wicket.markup.head.HeaderItem;
-import org.apache.wicket.request.Response;
-
-public class MetaHeaderItem extends HeaderItem implements Serializable {
-
-    private static final long serialVersionUID = 7578609827530302053L;
-
-    private final String key;
-
-    private final String value;
-
-    public MetaHeaderItem(final String key, final String value) {
-        this.key = key;
-        this.value = value;
-    }
-
-    @Override
-    public Iterable<?> getRenderTokens() {
-        return Arrays.asList("meta-" + key + "-" + value);
-    }
-
-    @Override
-    public void render(final Response response) {
-        response.write("<meta http-equiv=\"" + key + "\" content=\"" + value + "\"/>");
-        response.write("\n");
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/b7f88690/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/CrontabContainer.java
----------------------------------------------------------------------
diff --git a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/CrontabContainer.java b/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/CrontabContainer.java
deleted file mode 100644
index 5555616..0000000
--- a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/CrontabContainer.java
+++ /dev/null
@@ -1,184 +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.client.console.wicket.markup.html;
-
-import java.util.Arrays;
-import org.apache.syncope.client.console.commons.Constants;
-import org.apache.syncope.client.console.commons.SelectChoiceRenderer;
-import org.apache.syncope.client.console.commons.SelectOption;
-import org.apache.wicket.ajax.AjaxRequestTarget;
-import org.apache.wicket.ajax.form.AjaxFormComponentUpdatingBehavior;
-import org.apache.wicket.markup.html.WebMarkupContainer;
-import org.apache.wicket.markup.html.form.DropDownChoice;
-import org.apache.wicket.markup.html.form.FormComponent;
-import org.apache.wicket.markup.html.form.TextField;
-import org.apache.wicket.model.IModel;
-import org.apache.wicket.model.Model;
-import org.apache.wicket.model.PropertyModel;
-
-public class CrontabContainer extends WebMarkupContainer {
-
-    private static final long serialVersionUID = 7879593326085337650L;
-
-    private final TextField seconds;
-
-    private final TextField minutes;
-
-    private final TextField hours;
-
-    private final TextField daysOfMonth;
-
-    private final TextField months;
-
-    private final TextField daysOfWeek;
-
-    @SuppressWarnings({ "unchecked", "rawtypes" })
-    public CrontabContainer(final String id, final PropertyModel<String> cronExpressionModel,
-            final String cronExpression) {
-
-        super(id);
-        setOutputMarkupId(true);
-
-        final SelectOption[] CRON_TEMPLATES = {
-            new SelectOption(getString("selOpt1"), "UNSCHEDULE"),
-            new SelectOption(getString("selOpt2"), "0 0/5 * * * ?"),
-            new SelectOption(getString("selOpt3"), "0 0 12 * * ?"),
-            new SelectOption(getString("selOpt4"), "0 0 0 1 * ?"),
-            new SelectOption(getString("selOpt5"), "0 0 0 L * ?"),
-            new SelectOption(getString("selOpt6"), "0 0 0 ? * 2")
-        };
-
-        final DropDownChoice<SelectOption> cronTemplateChooser =
-                new DropDownChoice<SelectOption>("cronTemplateChooser") {
-
-                    private static final long serialVersionUID = -5843424545478691442L;
-
-                    @Override
-                    protected CharSequence getDefaultChoice(final String selected) {
-                        return "<option value=\"\">" + getString("chooseForTemplate") + "</option>";
-                    }
-                };
-
-        cronTemplateChooser.setModel(new IModel<SelectOption>() {
-
-            private static final long serialVersionUID = 6762568283146531315L;
-
-            @Override
-            public SelectOption getObject() {
-                SelectOption result = null;
-                for (SelectOption so : CRON_TEMPLATES) {
-                    if (so.getKeyValue().equals(cronExpressionModel.getObject())) {
-
-                        result = so;
-                    }
-                }
-
-                return result;
-            }
-
-            @Override
-            public void setObject(final SelectOption object) {
-                cronExpressionModel.setObject(object == null || object.equals(CRON_TEMPLATES[0])
-                        ? null
-                        : object.toString());
-            }
-
-            @Override
-            public void detach() {
-                // no detach
-            }
-        });
-        cronTemplateChooser.setChoices(Arrays.asList(CRON_TEMPLATES));
-        cronTemplateChooser.setChoiceRenderer(new SelectChoiceRenderer());
-        add(cronTemplateChooser);
-
-        seconds = new TextField("seconds", new Model(getCronField(cronExpression, 0)));
-        add(seconds);
-
-        minutes = new TextField("minutes", new Model(getCronField(cronExpression, 1)));
-        add(minutes);
-
-        hours = new TextField("hours", new Model(getCronField(cronExpression, 2)));
-        add(hours);
-
-        daysOfMonth = new TextField("daysOfMonth", new Model(getCronField(cronExpression, 3)));
-        add(daysOfMonth);
-
-        months = new TextField("months", new Model(getCronField(cronExpression, 4)));
-        add(months);
-
-        daysOfWeek = new TextField("daysOfWeek", new Model(getCronField(cronExpression, 5)));
-        add(daysOfWeek);
-
-        cronTemplateChooser.add(new AjaxFormComponentUpdatingBehavior(Constants.ON_CHANGE) {
-
-            private static final long serialVersionUID = -1107858522700306810L;
-
-            @Override
-            protected void onUpdate(final AjaxRequestTarget target) {
-                seconds.setModelObject(getCronField(cronTemplateChooser, 0));
-                minutes.setModelObject(getCronField(cronTemplateChooser, 1));
-                hours.setModelObject(getCronField(cronTemplateChooser, 2));
-                daysOfMonth.setModelObject(getCronField(cronTemplateChooser, 3));
-                months.setModelObject(getCronField(cronTemplateChooser, 4));
-                daysOfWeek.setModelObject(getCronField(cronTemplateChooser, 5));
-                target.add(CrontabContainer.this);
-            }
-        });
-    }
-
-    private String getCronField(final FormComponent formComponent, final int field) {
-        String cronField = null;
-
-        if (formComponent != null) {
-            cronField = getCronField(formComponent.getInput(), field);
-        }
-
-        return cronField;
-    }
-
-    private String getCronField(final String cron, final int field) {
-        String cronField = null;
-
-        if (cron != null && !cron.isEmpty() && !"UNSCHEDULE".equals(cron)) {
-            cronField = cron.split(" ")[field].trim();
-        }
-
-        return cronField;
-    }
-
-    public String getCronExpression() {
-        String cronExpression = null;
-
-        if (seconds != null && seconds.getInput() != null && minutes != null && minutes.getInput() != null
-                && hours != null && hours.getInput() != null && daysOfMonth != null && daysOfMonth.getInput() != null
-                && months != null && months.getInput() != null && daysOfWeek != null && daysOfWeek.getInput() != null) {
-
-            cronExpression = new StringBuilder().
-                    append(seconds.getInput().trim()).append(" ").
-                    append(minutes.getInput().trim()).append(" ").
-                    append(hours.getInput().trim()).append(" ").
-                    append(daysOfMonth.getInput().trim()).append(" ").
-                    append(months.getInput().trim()).append(" ").
-                    append(daysOfWeek.getInput().trim()).toString();
-        }
-
-        return cronExpression;
-    }
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/b7f88690/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/AbstractFieldPanel.java
----------------------------------------------------------------------
diff --git a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/AbstractFieldPanel.java b/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/AbstractFieldPanel.java
deleted file mode 100644
index 30bb47c..0000000
--- a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/AbstractFieldPanel.java
+++ /dev/null
@@ -1,40 +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.client.console.wicket.markup.html.form;
-
-import org.apache.wicket.markup.html.panel.Panel;
-import org.apache.wicket.model.IModel;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public abstract class AbstractFieldPanel<T> extends Panel {
-
-    /**
-     * Logger.
-     */
-    protected static final Logger LOG = LoggerFactory.getLogger(AbstractFieldPanel.class);
-
-    private static final long serialVersionUID = 5958017546318855690L;
-
-    public AbstractFieldPanel(final String id, final IModel<T> model) {
-        super(id, model);
-    }
-
-    public abstract AbstractFieldPanel setModelObject(T object);
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/b7f88690/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/ActionLink.java
----------------------------------------------------------------------
diff --git a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/ActionLink.java b/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/ActionLink.java
deleted file mode 100644
index 3e7cc44..0000000
--- a/client/old_console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/ActionLink.java
+++ /dev/null
@@ -1,83 +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.client.console.wicket.markup.html.form;
-
-import java.io.Serializable;
-import org.apache.wicket.ajax.AjaxRequestTarget;
-
-public abstract class ActionLink implements Serializable {
-
-    private static final long serialVersionUID = 7031329706998320639L;
-
-    private boolean reloadFeedbackPanel = true;
-
-    public enum ActionType {
-
-        CREATE("create"),
-        EDIT("read"),
-        USER_TEMPLATE("read"),
-        GROUP_TEMPLATE("read"),
-        RESET("update"),
-        ENABLE("update"),
-        SEARCH("read"),
-        DELETE("delete"),
-        EXECUTE("execute"),
-        DRYRUN("execute"),
-        CLAIM("claim"),
-        SELECT("read"),
-        EXPORT("read"),
-        SUSPEND("update"),
-        REACTIVATE("update"),
-        RELOAD("reload"),
-        CHANGE_VIEW("changeView"),
-        UNLINK("update"),
-        LINK("update"),
-        UNASSIGN("update"),
-        ASSIGN("update"),
-        DEPROVISION("update"),
-        PROVISION("update"),
-        MANAGE_RESOURCES("update"),
-        MANAGE_USERS("update"),
-        MANAGE_GROUPS("update");
-
-        private final String actionId;
-
-        private ActionType(final String actionId) {
-            this.actionId = actionId;
-        }
-
-        public String getActionId() {
-            return actionId;
-        }
-    }
-
-    public abstract void onClick(final AjaxRequestTarget target);
-
-    public void postClick() {
-    }
-
-    public boolean feedbackPanelAutomaticReload() {
-        return reloadFeedbackPanel;
-    }
-
-    public ActionLink feedbackPanelAutomaticReload(final boolean reloadFeedbackPanel) {
-        this.reloadFeedbackPanel = reloadFeedbackPanel;
-        return this;
-    }
-}