syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject [51/51] [partial] syncope git commit: [SYNCOPE-156] Preparing place for new console
Date Wed, 22 Apr 2015 13:52:18 GMT
[SYNCOPE-156] Preparing place for new console


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/39f8a069
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/39f8a069
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/39f8a069

Branch: refs/heads/master
Commit: 39f8a0696c465a5d170c4f37a36ea093743a60d1
Parents: 0474098
Author: Francesco Chicchiriccò <ilgrosso@apache.org>
Authored: Wed Apr 22 15:51:01 2015 +0200
Committer: Francesco Chicchiriccò <ilgrosso@apache.org>
Committed: Wed Apr 22 15:51:01 2015 +0200

----------------------------------------------------------------------
 .../syncope/client/console/BinaryPreview.java   |  34 -
 .../syncope/client/console/ExtensionPanel.java  |  34 -
 .../client/console/PreferenceManager.java       | 173 ++++
 .../client/console/SyncopeApplication.java      | 306 -------
 .../console/SyncopeConsoleApplication.java      |  60 ++
 .../client/console/SyncopeConsoleSession.java   | 179 ++++
 .../console/SyncopeRequestCycleListener.java    |  84 --
 .../syncope/client/console/SyncopeSession.java  | 185 -----
 .../console/annotations/BinaryPreview.java      |  34 +
 .../console/annotations/ExtensionPanel.java     |  34 +
 .../console/commons/ActionTableCheckGroup.java  |  40 -
 .../commons/AttributableDataProvider.java       | 101 ---
 .../console/commons/CloseOnESCBehavior.java     |  55 --
 .../console/commons/DateFormatROModel.java      |  50 --
 .../console/commons/GroupTreeBuilder.java       | 128 ---
 .../client/console/commons/JexlHelpUtils.java   |  61 --
 .../console/commons/MapChoiceRenderer.java      |  43 -
 .../console/commons/PreferenceManager.java      | 176 ----
 .../console/commons/SchemaModalPageFactory.java |  58 --
 .../console/commons/SelectChoiceRenderer.java   |  40 -
 .../client/console/commons/SelectOption.java    |  72 --
 .../client/console/commons/XMLRolesReader.java  | 118 ---
 .../status/AbstractStatusBeanProvider.java      |   2 +-
 .../console/commons/status/StatusBean.java      |   2 +-
 .../console/commons/status/StatusUtils.java     |  42 -
 .../init/ImplementationClassNamesLoader.java    |   2 +-
 .../client/console/pages/AbstractBasePage.java  |  11 +-
 .../pages/AbstractSchedTaskModalPage.java       | 132 ---
 .../console/pages/AbstractSchemaModalPage.java  |  45 -
 .../console/pages/AbstractStatusModalPage.java  |  30 -
 .../pages/AbstractSyncTaskModalPage.java        | 209 -----
 .../console/pages/ActivitiModelerPopupPage.java |  27 -
 .../client/console/pages/ApprovalModalPage.java | 286 -------
 .../client/console/pages/BaseModalPage.java     |  32 +-
 .../syncope/client/console/pages/BasePage.java  |  70 --
 .../console/pages/BulkActionModalPage.java      | 166 ----
 .../pages/BulkActionResultModalPage.java        |  97 ---
 .../client/console/pages/ConfModalPage.java     | 112 ---
 .../client/console/pages/Configuration.java     | 814 -------------------
 .../pages/ConfirmPasswordResetModalPage.java    | 103 ---
 .../console/pages/ConnObjectModalPage.java      | 101 ---
 .../console/pages/ConnectorModalPage.java       | 479 -----------
 .../console/pages/DerSchemaModalPage.java       | 140 ----
 .../pages/DisplayAttributesModalPage.java       | 273 -------
 .../client/console/pages/EditUserModalPage.java | 105 ---
 .../syncope/client/console/pages/ErrorPage.java |  42 -
 .../console/pages/ExecMessageModalPage.java     |  32 -
 .../console/pages/FailureMessageModalPage.java  |  37 -
 .../client/console/pages/GroupModalPage.java    | 164 ----
 .../console/pages/GroupSelectModalPage.java     | 105 ---
 .../console/pages/GroupTemplateModalPage.java   |  50 --
 .../syncope/client/console/pages/Groups.java    | 186 -----
 .../syncope/client/console/pages/HomePage.java  |   9 +-
 .../client/console/pages/InfoModalPage.java     |  43 -
 .../syncope/client/console/pages/Login.java     | 365 ---------
 .../syncope/client/console/pages/Logout.java    |  38 -
 .../console/pages/MembershipModalPage.java      | 114 ---
 .../console/pages/NotificationModalPage.java    | 441 ----------
 .../pages/NotificationTaskModalPage.java        |  69 --
 .../console/pages/PlainSchemaModalPage.java     | 456 -----------
 .../client/console/pages/PolicyModalPage.java   | 450 ----------
 .../console/pages/PropagationTaskModalPage.java |  45 -
 .../console/pages/ProvisioningModalPage.java    | 249 ------
 .../client/console/pages/PushTaskModalPage.java | 135 ---
 .../ReportExecResultDownloadModalPage.java      |  73 --
 .../client/console/pages/ReportModalPage.java   | 640 ---------------
 .../console/pages/ReportletConfModalPage.java   | 362 ---------
 .../syncope/client/console/pages/Reports.java   | 412 ----------
 .../pages/RequestPasswordResetModalPage.java    | 153 ----
 .../client/console/pages/ResourceModalPage.java | 214 -----
 .../syncope/client/console/pages/Resources.java | 723 ----------------
 .../console/pages/ResultStatusModalPage.java    | 424 ----------
 .../console/pages/SchedTaskModalPage.java       |  68 --
 .../syncope/client/console/pages/Schema.java    | 468 -----------
 .../pages/SecurityQuestionModalPage.java        | 111 ---
 .../syncope/client/console/pages/SignOut.java   |  35 +
 .../client/console/pages/StatusModalPage.java   | 641 ---------------
 .../client/console/pages/SyncTaskModalPage.java |  73 --
 .../client/console/pages/TaskModalPage.java     | 253 ------
 .../syncope/client/console/pages/Tasks.java     | 230 ------
 .../syncope/client/console/pages/Todo.java      | 245 ------
 .../client/console/pages/UserModalPage.java     | 229 ------
 .../console/pages/UserOwnerSelectModalPage.java |  81 --
 .../client/console/pages/UserSelfModalPage.java |  72 --
 .../console/pages/UserTemplateModalPage.java    |  60 --
 .../syncope/client/console/pages/Users.java     | 166 ----
 .../client/console/pages/ViewUserModalPage.java |  49 --
 .../console/pages/VirSchemaModalPage.java       | 126 ---
 .../client/console/pages/WelcomePage.java       |  55 --
 .../console/pages/XMLEditorPopupPage.java       |  90 --
 .../console/panels/AbstractExtensionPanel.java  |   5 -
 .../panels/AbstractProvisioningTasksPanel.java  | 160 ----
 .../console/panels/AbstractSearchPanel.java     | 401 ---------
 .../panels/AbstractSearchResultPanel.java       | 353 --------
 .../client/console/panels/AbstractTasks.java    |  55 --
 .../console/panels/AccountInformationPanel.java |  73 --
 .../console/panels/ActionDataTablePanel.java    | 149 ----
 .../console/panels/AjaxDataTablePanel.java      | 142 ----
 .../console/panels/AnnotatedBeanPanel.java      |  66 --
 .../console/panels/AttrTemplatesPanel.java      | 167 ----
 .../client/console/panels/DataTablePanel.java   | 113 ---
 .../client/console/panels/DerAttrsPanel.java    | 206 -----
 .../console/panels/EventSelectionPanel.java     | 243 ------
 .../console/panels/GroupDetailsPanel.java       | 435 ----------
 .../client/console/panels/GroupPanel.java       | 187 -----
 .../client/console/panels/GroupSearchPanel.java | 101 ---
 .../console/panels/GroupSearchResultPanel.java  | 172 ----
 .../console/panels/GroupSecurityPanel.java      | 198 -----
 .../console/panels/GroupSummaryPanel.java       | 153 ----
 .../client/console/panels/GroupTabPanel.java    | 195 -----
 .../console/panels/JQueryUITabbedPanel.java     |  45 -
 .../client/console/panels/LayoutsPanel.java     | 130 ---
 .../console/panels/LoggerCategoryPanel.java     | 461 -----------
 .../client/console/panels/MembershipsPanel.java | 255 ------
 .../console/panels/NotificationPanel.java       |   6 +-
 .../console/panels/NotificationTasks.java       | 254 ------
 .../client/console/panels/PlainAttrsPanel.java  | 395 ---------
 .../client/console/panels/PoliciesPanel.java    | 343 --------
 .../client/console/panels/PolicyBeanPanel.java  | 340 --------
 .../client/console/panels/PropagationTasks.java | 264 ------
 .../client/console/panels/PushTasksPanel.java   | 184 -----
 .../console/panels/ResourceConnConfPanel.java   | 187 -----
 .../console/panels/ResourceDetailsPanel.java    | 306 -------
 .../console/panels/ResourceMappingPanel.java    | 644 ---------------
 .../console/panels/ResourceSecurityPanel.java   | 189 -----
 .../client/console/panels/ResourcesPanel.java   | 177 ----
 .../client/console/panels/SchedTasks.java       | 286 -------
 .../client/console/panels/SearchClause.java     | 129 ---
 .../client/console/panels/SearchView.java       | 461 -----------
 .../console/panels/SecurityQuestionPanel.java   |  98 ---
 .../panels/SelectOnlyUserSearchResultPanel.java |  93 ---
 .../console/panels/SelectedEventsPanel.java     | 167 ----
 .../client/console/panels/StatusPanel.java      | 262 ------
 .../client/console/panels/SyncTasksPanel.java   | 225 -----
 .../client/console/panels/UserDetailsPanel.java | 122 ---
 .../client/console/panels/UserSearchPanel.java  | 113 ---
 .../console/panels/UserSearchResultPanel.java   | 297 -------
 .../client/console/panels/VirAttrsPanel.java    | 294 -------
 .../console/resources/FilesystemResource.java   |  83 --
 .../resources/WorkflowDefGETResource.java       |  58 --
 .../resources/WorkflowDefPUTResource.java       |  74 --
 .../console/rest/AbstractSubjectRestClient.java |  15 +-
 .../client/console/rest/ApprovalRestClient.java |   4 +-
 .../client/console/rest/AuthRestClient.java     |  44 -
 .../client/console/rest/BaseRestClient.java     |  12 +-
 .../console/rest/ConfigurationRestClient.java   |   4 +-
 .../console/rest/ConnectorRestClient.java       |   6 +-
 .../client/console/rest/GroupRestClient.java    |  33 +-
 .../client/console/rest/InvalidPolicyType.java  |  31 -
 .../client/console/rest/LoggerRestClient.java   |   2 +-
 .../console/rest/NotificationRestClient.java    |   8 +-
 .../client/console/rest/PolicyRestClient.java   |  39 +-
 .../client/console/rest/ReportRestClient.java   |   2 +-
 .../client/console/rest/ResourceRestClient.java |   4 +-
 .../client/console/rest/SchemaRestClient.java   |  60 +-
 .../client/console/rest/TaskRestClient.java     |   8 +-
 .../client/console/rest/UserRestClient.java     |  21 +-
 .../client/console/rest/UserSelfRestClient.java |  10 +-
 .../client/console/rest/WorkflowRestClient.java |   6 +-
 .../ajax/form/AbstractAjaxDownloadBehavior.java |  48 --
 .../markup/html/ClearIndicatingAjaxButton.java  |  76 --
 .../markup/html/ClearIndicatingAjaxLink.java    |  61 --
 .../html/IndicatingOnConfirmAjaxLink.java       |  58 --
 .../html/repeater/data/table/ActionColumn.java  |  59 --
 .../repeater/data/table/ActionResultColumn.java |  77 --
 .../html/repeater/data/table/AttrColumn.java    |  85 --
 .../data/table/CheckBoxGroupSelectorPanel.java  |  34 -
 .../html/repeater/data/table/CheckBoxPanel.java |  43 -
 .../repeater/data/table/CheckGroupColumn.java   |  54 --
 .../repeater/data/table/CollectionPanel.java    |  47 --
 .../data/table/CollectionPropertyColumn.java    |  54 --
 .../repeater/data/table/DatePropertyColumn.java |  53 --
 .../html/repeater/data/table/TokenColumn.java   |  51 --
 .../wicket/markup/html/CrontabContainer.java    | 184 -----
 .../wicket/markup/html/form/ActionLink.java     |  83 --
 .../markup/html/form/ActionLinksPanel.java      | 586 -------------
 .../markup/html/form/AjaxPalettePanel.java      |   3 +-
 .../html/form/AjaxPasswordFieldPanel.java       |   2 +-
 .../markup/html/form/SelectChoiceRenderer.java  |  40 +
 .../wicket/markup/html/form/SelectOption.java   |  72 ++
 .../html/form/preview/BinaryCertPreviewer.java  |   2 +-
 .../html/form/preview/BinaryImagePreviewer.java |   2 +-
 .../markup/html/link/VeilPopupSettings.java     |  32 -
 .../tree/DefaultMutableTreeNodeExpansion.java   | 160 ----
 .../DefaultMutableTreeNodeExpansionModel.java   |  36 -
 .../wicket/markup/html/tree/TreeGroupPanel.java | 121 ---
 .../markup/html/tree/TreeGroupProvider.java     |  43 -
 .../resources/META-INF/resources/css/bulk.css   |  97 ---
 .../META-INF/resources/css/fieldstyle.css       | 191 -----
 .../ui-bg_diagonals-thick_20_666666_40x40.png   | Bin 251 -> 0 bytes
 .../css/images/ui-bg_flat_0_aaaaaa_40x100.png   | Bin 1310 -> 0 bytes
 .../ui-bg_flat_0_aaaaaa_40x100_greennotused.png | Bin 1312 -> 0 bytes
 .../css/images/ui-bg_glass_55_fbf9ee_1x400.png  | Bin 120 -> 0 bytes
 .../css/images/ui-bg_glass_65_ffffff_1x400.png  | Bin 105 -> 0 bytes
 .../css/images/ui-bg_glass_75_dadada_1x400.png  | Bin 111 -> 0 bytes
 .../css/images/ui-bg_glass_75_e6e6e6_1x400.png  | Bin 110 -> 0 bytes
 .../css/images/ui-bg_glass_95_fef1ec_1x400.png  | Bin 119 -> 0 bytes
 .../ui-bg_highlight-soft_75_cccccc_1x100.png    | Bin 1244 -> 0 bytes
 ...ghlight-soft_75_cccccc_1x100_greynotused.png | Bin 101 -> 0 bytes
 ...ui-bg_highlight-soft_75_cccccc_1x100_red.png | Bin 257 -> 0 bytes
 .../css/images/ui-icons_222222_256x240.png      | Bin 4369 -> 0 bytes
 .../css/images/ui-icons_2e83ff_256x240.png      | Bin 4369 -> 0 bytes
 .../css/images/ui-icons_454545_256x240.png      | Bin 4369 -> 0 bytes
 .../css/images/ui-icons_888888_256x240.png      | Bin 4369 -> 0 bytes
 .../css/images/ui-icons_cd0a0a_256x240.png      | Bin 4369 -> 0 bytes
 .../resources/META-INF/resources/css/style.css  | 550 -------------
 .../resources/img/actions/assign-icon.png       | Bin 566 -> 0 bytes
 .../resources/img/actions/both-icon.png         | Bin 611 -> 0 bytes
 .../META-INF/resources/img/actions/bulk.png     | Bin 1182 -> 0 bytes
 .../META-INF/resources/img/actions/claim.png    | Bin 509 -> 0 bytes
 .../META-INF/resources/img/actions/create.png   | Bin 360 -> 0 bytes
 .../META-INF/resources/img/actions/delete.png   | Bin 530 -> 0 bytes
 .../resources/img/actions/deprovision-icon.png  | Bin 210 -> 0 bytes
 .../META-INF/resources/img/actions/dryrun.png   | Bin 891 -> 0 bytes
 .../META-INF/resources/img/actions/edit.png     | Bin 455 -> 0 bytes
 .../META-INF/resources/img/actions/enable.png   | Bin 715 -> 0 bytes
 .../META-INF/resources/img/actions/execute.png  | Bin 695 -> 0 bytes
 .../META-INF/resources/img/actions/export.png   | Bin 474 -> 0 bytes
 .../resources/img/actions/groups-icon.png       | Bin 391 -> 0 bytes
 .../resources/img/actions/link-icon.png         | Bin 447 -> 0 bytes
 .../resources/img/actions/manage-icon.png       | Bin 611 -> 0 bytes
 .../resources/img/actions/none-icon.png         | Bin 521 -> 0 bytes
 .../resources/img/actions/propagation-icon.png  | Bin 362 -> 0 bytes
 .../resources/img/actions/provision-icon.png    | Bin 360 -> 0 bytes
 .../resources/img/actions/reactivate.png        | Bin 496 -> 0 bytes
 .../META-INF/resources/img/actions/reload.png   | Bin 491 -> 0 bytes
 .../META-INF/resources/img/actions/reset.png    | Bin 491 -> 0 bytes
 .../resources/img/actions/resources-icon.png    | Bin 634 -> 0 bytes
 .../META-INF/resources/img/actions/search.png   | Bin 763 -> 0 bytes
 .../META-INF/resources/img/actions/select.png   | Bin 279 -> 0 bytes
 .../resources/img/actions/settings-icon.png     | Bin 153 -> 0 bytes
 .../META-INF/resources/img/actions/suspend.png  | Bin 504 -> 0 bytes
 .../img/actions/synchronization-icon.png        | Bin 406 -> 0 bytes
 .../resources/img/actions/unassign-icon.png     | Bin 573 -> 0 bytes
 .../resources/img/actions/unlink-icon.png       | Bin 509 -> 0 bytes
 .../resources/img/actions/user_template.png     | Bin 597 -> 0 bytes
 .../resources/img/actions/users-icon.png        | Bin 754 -> 0 bytes
 .../resources/META-INF/resources/img/add.png    | Bin 814 -> 0 bytes
 .../resources/META-INF/resources/img/addAll.png | Bin 1037 -> 0 bytes
 .../resources/META-INF/resources/img/busy.gif   | Bin 2834 -> 0 bytes
 .../META-INF/resources/img/db_export.png        | Bin 16675 -> 0 bytes
 .../META-INF/resources/img/disable.png          | Bin 1001 -> 0 bytes
 .../META-INF/resources/img/down-icon.png        | Bin 418 -> 0 bytes
 .../META-INF/resources/img/favicon.png          | Bin 641 -> 0 bytes
 .../META-INF/resources/img/file-download.png    | Bin 967 -> 0 bytes
 .../META-INF/resources/img/file-upload.png      | Bin 949 -> 0 bytes
 .../resources/META-INF/resources/img/help.png   | Bin 808 -> 0 bytes
 .../resources/META-INF/resources/img/info.png   | Bin 575 -> 0 bytes
 .../META-INF/resources/img/left-icon.png        | Bin 451 -> 0 bytes
 .../META-INF/resources/img/loading.gif          | Bin 2530 -> 0 bytes
 .../resources/META-INF/resources/img/logo.png   | Bin 8913 -> 0 bytes
 .../resources/img/menu/configuration.png        | Bin 5670 -> 0 bytes
 .../META-INF/resources/img/menu/connectors.png  | Bin 5772 -> 0 bytes
 .../META-INF/resources/img/menu/groups.png      | Bin 5020 -> 0 bytes
 .../META-INF/resources/img/menu/logout.png      | Bin 5460 -> 0 bytes
 .../resources/img/menu/notsel/configuration.png | Bin 5518 -> 0 bytes
 .../resources/img/menu/notsel/connectors.png    | Bin 6401 -> 0 bytes
 .../resources/img/menu/notsel/groups.png        | Bin 5175 -> 0 bytes
 .../resources/img/menu/notsel/logout.png        | Bin 5720 -> 0 bytes
 .../resources/img/menu/notsel/reports.png       | Bin 6074 -> 0 bytes
 .../resources/img/menu/notsel/resources.png     | Bin 6401 -> 0 bytes
 .../resources/img/menu/notsel/schema.png        | Bin 5544 -> 0 bytes
 .../resources/img/menu/notsel/sf_body.png       | Bin 303 -> 0 bytes
 .../resources/img/menu/notsel/tasks.png         | Bin 7461 -> 0 bytes
 .../META-INF/resources/img/menu/notsel/todo.png | Bin 6996 -> 0 bytes
 .../resources/img/menu/notsel/users.png         | Bin 7637 -> 0 bytes
 .../META-INF/resources/img/menu/reports.png     | Bin 5553 -> 0 bytes
 .../META-INF/resources/img/menu/resources.png   | Bin 5772 -> 0 bytes
 .../META-INF/resources/img/menu/schema.png      | Bin 5217 -> 0 bytes
 .../META-INF/resources/img/menu/tasks.png       | Bin 5742 -> 0 bytes
 .../META-INF/resources/img/menu/todo.png        | Bin 5722 -> 0 bytes
 .../META-INF/resources/img/menu/users.png       | Bin 6006 -> 0 bytes
 .../META-INF/resources/img/minus-icon.png       | Bin 210 -> 0 bytes
 .../META-INF/resources/img/modeler.png          | Bin 3118 -> 0 bytes
 .../META-INF/resources/img/moveDown.png         | Bin 833 -> 0 bytes
 .../resources/META-INF/resources/img/moveUp.png | Bin 834 -> 0 bytes
 .../resources/META-INF/resources/img/ok.png     | Bin 497 -> 0 bytes
 .../resources/META-INF/resources/img/ping.png   | Bin 22945 -> 0 bytes
 .../META-INF/resources/img/plus-icon.png        | Bin 360 -> 0 bytes
 .../META-INF/resources/img/reload_30.png        | Bin 611 -> 0 bytes
 .../resources/META-INF/resources/img/remove.png | Bin 825 -> 0 bytes
 .../META-INF/resources/img/removeAll.png        | Bin 1034 -> 0 bytes
 .../META-INF/resources/img/right-icon.png       | Bin 411 -> 0 bytes
 .../resources/META-INF/resources/img/search.png | Bin 763 -> 0 bytes
 .../META-INF/resources/img/sf_testa.png         | Bin 293 -> 0 bytes
 .../META-INF/resources/img/statuses/active.png  | Bin 509 -> 0 bytes
 .../resources/img/statuses/inactive.png         | Bin 477 -> 0 bytes
 .../resources/img/statuses/objectnotfound.png   | Bin 668 -> 0 bytes
 .../resources/img/statuses/undefined.png        | Bin 758 -> 0 bytes
 .../META-INF/resources/img/success.png          | Bin 1696 -> 0 bytes
 .../resources/META-INF/resources/img/tab ok.png | Bin 2330 -> 0 bytes
 .../META-INF/resources/img/tab old.png          | Bin 734 -> 0 bytes
 .../resources/META-INF/resources/img/tab.png    | Bin 2098 -> 0 bytes
 .../META-INF/resources/img/up-icon.png          | Bin 421 -> 0 bytes
 .../META-INF/resources/img/warning.png          | Bin 1107 -> 0 bytes
 .../resources/META-INF/resources/img/xml.png    | Bin 2741 -> 0 bytes
 .../src/main/resources/authorizations.xml       | 333 --------
 .../src/main/resources/consoleContext.xml       |  12 +-
 .../console/SyncopeApplication.properties       |  55 --
 .../console/SyncopeApplication_it.properties    |  54 --
 .../console/SyncopeApplication_pt_BR.properties |  54 --
 .../SyncopeConsoleApplication.properties        |  55 ++
 .../SyncopeConsoleApplication_it.properties     |  54 ++
 .../SyncopeConsoleApplication_pt_BR.properties  |  54 ++
 .../console/pages/AbstractStatusModalPage.html  | 122 ---
 .../pages/AbstractStatusModalPage.properties    |  19 -
 .../pages/AbstractStatusModalPage_it.properties |  19 -
 .../AbstractStatusModalPage_pt_BR.properties    |  19 -
 .../console/pages/ActivitiModelerPopupPage.html |  65 --
 .../client/console/pages/ApprovalModalPage.html |  52 --
 .../console/pages/ApprovalModalPage.properties  |  18 -
 .../pages/ApprovalModalPage_it.properties       |  18 -
 .../pages/ApprovalModalPage_pt_BR.properties    |  18 -
 .../console/pages/BulkActionModalPage.html      |  45 -
 .../pages/BulkActionModalPage.properties        |  17 -
 .../pages/BulkActionModalPage_it.properties     |  17 -
 .../pages/BulkActionModalPage_pt_BR.properties  |  17 -
 .../pages/BulkActionResultModalPage.html        |  57 --
 .../pages/BulkActionResultModalPage.properties  |  19 -
 .../BulkActionResultModalPage_it.properties     |  19 -
 .../BulkActionResultModalPage_pt_BR.properties  |  19 -
 .../client/console/pages/ConfModalPage.html     |  39 -
 .../console/pages/ConfModalPage.properties      |  17 -
 .../console/pages/ConfModalPage_it.properties   |  17 -
 .../pages/ConfModalPage_pt_BR.properties        |  17 -
 .../client/console/pages/Configuration.html     | 230 ------
 .../console/pages/Configuration.properties      |  48 --
 .../console/pages/Configuration_it.properties   |  48 --
 .../pages/Configuration_pt_BR.properties        |  48 --
 .../pages/ConfirmPasswordResetModalPage.html    |  55 --
 .../ConfirmPasswordResetModalPage.properties    |  20 -
 .../ConfirmPasswordResetModalPage_it.properties |  20 -
 ...nfirmPasswordResetModalPage_pt_BR.properties |  20 -
 .../console/pages/ConnObjectModalPage.html      |  39 -
 .../pages/ConnObjectModalPage.properties        |  17 -
 .../pages/ConnObjectModalPage_it.properties     |  17 -
 .../pages/ConnObjectModalPage_pt_BR.properties  |  17 -
 .../console/pages/ConnectorModalPage.html       | 161 ----
 .../console/pages/ConnectorModalPage.properties |  43 -
 .../pages/ConnectorModalPage_it.properties      |  43 -
 .../pages/ConnectorModalPage_pt_BR.properties   |  43 -
 .../console/pages/DerSchemaModalPage.html       |  64 --
 .../console/pages/DerSchemaModalPage.properties |  22 -
 .../pages/DerSchemaModalPage_it.properties      |  22 -
 .../pages/DerSchemaModalPage_pt_BR.properties   |  22 -
 .../pages/DisplayAttributesModalPage.html       | 132 ---
 .../pages/DisplayAttributesModalPage.properties |  33 -
 .../DisplayAttributesModalPage_it.properties    |  33 -
 .../DisplayAttributesModalPage_pt_BR.properties |  33 -
 .../syncope/client/console/pages/ErrorPage.html |  53 --
 .../console/pages/ExecMessageModalPage.html     |  25 -
 .../console/pages/FailureMessageModalPage.html  |  36 -
 .../client/console/pages/GroupModalPage.html    |  52 --
 .../console/pages/GroupModalPage.properties     |  48 --
 .../console/pages/GroupModalPage_it.properties  |  50 --
 .../pages/GroupModalPage_pt_BR.properties       |  48 --
 .../console/pages/GroupSelectModalPage.html     |  24 -
 .../syncope/client/console/pages/Groups.html    |  80 --
 .../client/console/pages/Groups.properties      |  26 -
 .../client/console/pages/Groups_it.properties   |  26 -
 .../console/pages/Groups_pt_BR.properties       |  26 -
 .../syncope/client/console/pages/HomePage.html  |  29 +-
 .../client/console/pages/InfoModalPage.html     |  42 -
 .../console/pages/InfoModalPage.properties      |  19 -
 .../console/pages/InfoModalPage_it.properties   |  19 -
 .../pages/InfoModalPage_pt_BR.properties        |  19 -
 .../syncope/client/console/pages/Login.html     |  89 --
 .../client/console/pages/Login.properties       |  22 -
 .../client/console/pages/Login_it.properties    |  22 -
 .../client/console/pages/Login_pt_BR.properties |  22 -
 .../console/pages/MembershipModalPage.html      |  55 --
 .../pages/MembershipModalPage.properties        |  35 -
 .../pages/MembershipModalPage_it.properties     |  35 -
 .../pages/MembershipModalPage_pt_BR.properties  |  35 -
 .../console/pages/NotificationModalPage.html    | 234 ------
 .../pages/NotificationModalPage.properties      |  40 -
 .../pages/NotificationModalPage_it.properties   |  40 -
 .../NotificationModalPage_pt_BR.properties      |  40 -
 .../pages/NotificationTaskModalPage.html        | 111 ---
 .../pages/NotificationTaskModalPage.properties  |  32 -
 .../NotificationTaskModalPage_it.properties     |  32 -
 .../NotificationTaskModalPage_pt_BR.properties  |  32 -
 .../console/pages/PlainSchemaModalPage.html     | 172 ----
 .../pages/PlainSchemaModalPage.properties       |  38 -
 .../pages/PlainSchemaModalPage_it.properties    |  38 -
 .../pages/PlainSchemaModalPage_pt_BR.properties |  38 -
 .../client/console/pages/PolicyModalPage.html   | 109 ---
 .../console/pages/PolicyModalPage.properties    |  88 --
 .../console/pages/PolicyModalPage_it.properties |  88 --
 .../pages/PolicyModalPage_pt_BR.properties      |  87 --
 .../console/pages/PropagationTaskModalPage.html |  75 --
 .../pages/PropagationTaskModalPage.properties   |  28 -
 .../PropagationTaskModalPage_it.properties      |  28 -
 .../PropagationTaskModalPage_pt_BR.properties   |  28 -
 .../client/console/pages/PushTaskModalPage.html | 228 ------
 .../console/pages/PushTaskModalPage.properties  |  45 -
 .../pages/PushTaskModalPage_it.properties       |  47 --
 .../pages/PushTaskModalPage_pt_BR.properties    |  45 -
 .../client/console/pages/RecursivePanel.html    |  28 -
 .../ReportExecResultDownloadModalPage.html      |  23 -
 ...ReportExecResultDownloadModalPage.properties |  18 -
 ...ortExecResultDownloadModalPage_it.properties |  18 -
 ...ExecResultDownloadModalPage_pt_BR.properties |  18 -
 .../client/console/pages/ReportModalPage.html   | 146 ----
 .../console/pages/ReportModalPage.properties    |  36 -
 .../console/pages/ReportModalPage_it.properties |  36 -
 .../pages/ReportModalPage_pt_BR.properties      |  36 -
 .../console/pages/ReportletConfModalPage.html   |  85 --
 .../pages/ReportletConfModalPage.properties     |  22 -
 .../pages/ReportletConfModalPage_it.properties  |  22 -
 .../ReportletConfModalPage_pt_BR.properties     |  22 -
 .../syncope/client/console/pages/Reports.html   |  58 --
 .../client/console/pages/Reports.properties     |  24 -
 .../client/console/pages/Reports_it.properties  |  24 -
 .../console/pages/Reports_pt_BR.properties      |  24 -
 .../pages/RequestPasswordResetModalPage.html    |  64 --
 .../RequestPasswordResetModalPage.properties    |  21 -
 .../RequestPasswordResetModalPage_it.properties |  21 -
 ...questPasswordResetModalPage_pt_BR.properties |  21 -
 .../client/console/pages/ResourceModalPage.html |  64 --
 .../console/pages/ResourceModalPage.properties  |  60 --
 .../pages/ResourceModalPage_it.properties       |  60 --
 .../pages/ResourceModalPage_pt_BR.properties    |  60 --
 .../syncope/client/console/pages/Resources.html |  99 ---
 .../client/console/pages/Resources.properties   |  34 -
 .../console/pages/Resources_it.properties       |  34 -
 .../console/pages/Resources_pt_BR.properties    |  32 -
 .../console/pages/ResultStatusModalPage.html    | 226 -----
 .../pages/ResultStatusModalPage.properties      |  26 -
 .../pages/ResultStatusModalPage_it.properties   |  26 -
 .../ResultStatusModalPage_pt_BR.properties      |  26 -
 .../client/console/pages/RouteModalPage.html    |  49 --
 .../console/pages/RouteModalPage.properties     |  18 -
 .../console/pages/RouteModalPage_it.properties  |  18 -
 .../pages/RouteModalPage_pt_BR.properties       |  18 -
 .../console/pages/SchedTaskModalPage.html       | 136 ----
 .../console/pages/SchedTaskModalPage.properties |  36 -
 .../pages/SchedTaskModalPage_it.properties      |  36 -
 .../pages/SchedTaskModalPage_pt_BR.properties   |  36 -
 .../console/pages/Schema$SchemaTypePanel.html   |  41 -
 .../syncope/client/console/pages/Schema.html    |  59 --
 .../client/console/pages/Schema.properties      |  35 -
 .../client/console/pages/Schema_it.properties   |  35 -
 .../console/pages/Schema_pt_BR.properties       |  35 -
 .../pages/SecurityQuestionModalPage.html        |  46 --
 .../pages/SecurityQuestionModalPage.properties  |  18 -
 .../SecurityQuestionModalPage_it.properties     |  18 -
 .../SecurityQuestionModalPage_pt_BR.properties  |  18 -
 .../syncope/client/console/pages/SignOut.html   |  33 +
 .../client/console/pages/SyncTaskModalPage.html | 205 -----
 .../console/pages/SyncTaskModalPage.properties  |  43 -
 .../pages/SyncTaskModalPage_it.properties       |  44 -
 .../pages/SyncTaskModalPage_pt_BR.properties    |  43 -
 .../syncope/client/console/pages/Tasks.html     |  46 --
 .../client/console/pages/Tasks.properties       |  21 -
 .../client/console/pages/Tasks_it.properties    |  21 -
 .../client/console/pages/Tasks_pt_BR.properties |  21 -
 .../syncope/client/console/pages/Todo.html      |  45 -
 .../client/console/pages/Todo.properties        |  31 -
 .../client/console/pages/Todo_it.properties     |  31 -
 .../client/console/pages/Todo_pt_BR.properties  |  31 -
 .../client/console/pages/UserModalPage.html     |  97 ---
 .../console/pages/UserModalPage.properties      |  52 --
 .../console/pages/UserModalPage_it.properties   |  53 --
 .../pages/UserModalPage_pt_BR.properties        |  52 --
 .../console/pages/UserOwnerSelectModalPage.html |  38 -
 .../pages/UserOwnerSelectModalPage.properties   |  23 -
 .../UserOwnerSelectModalPage_it.properties      |  23 -
 .../UserOwnerSelectModalPage_pt_BR.properties   |  23 -
 .../syncope/client/console/pages/Users.html     |  72 --
 .../client/console/pages/Users.properties       |  26 -
 .../client/console/pages/Users_it.properties    |  26 -
 .../client/console/pages/Users_pt_BR.properties |  26 -
 .../console/pages/VirSchemaModalPage.html       |  53 --
 .../console/pages/VirSchemaModalPage.properties |  22 -
 .../pages/VirSchemaModalPage_it.properties      |  22 -
 .../pages/VirSchemaModalPage_pt_BR.properties   |  22 -
 .../client/console/pages/WelcomePage.html       |  70 --
 .../client/console/pages/WelcomePage.properties |  18 -
 .../console/pages/WelcomePage_it.properties     |  18 -
 .../console/pages/WelcomePage_pt_BR.properties  |  18 -
 .../console/pages/XMLEditorPopupPage.html       |  82 --
 .../console/pages/XMLEditorPopupPage.properties |  19 -
 .../pages/XMLEditorPopupPage_it.properties      |  19 -
 .../pages/XMLEditorPopupPage_pt_BR.properties   |  19 -
 .../panels/AbstractProvisioningTasksPanel.html  |  41 -
 .../console/panels/AbstractSearchPanel.html     |  50 --
 .../panels/AbstractSearchResultPanel.html       |  43 -
 .../panels/AbstractSearchResultPanel.properties |  30 -
 .../AbstractSearchResultPanel_it.properties     |  30 -
 .../AbstractSearchResultPanel_pt_BR.properties  |  30 -
 .../console/panels/AccountInformationPanel.html |  67 --
 .../panels/AccountInformationPanel.properties   |  22 -
 .../AccountInformationPanel_it.properties       |  23 -
 .../AccountInformationPanel_pt_BR.properties    |  23 -
 .../console/panels/ActionDataTablePanel.html    |  45 -
 .../console/panels/AjaxDataTablePanel.html      |  47 --
 .../console/panels/AnnotatedBeanPanel.html      |  98 ---
 .../panels/AnnotatedBeanPanel.properties        |  20 -
 .../panels/AnnotatedBeanPanel_it.properties     |  20 -
 .../panels/AnnotatedBeanPanel_pt_BR.properties  |  20 -
 .../console/panels/AttrTemplatesPanel.html      |  58 --
 .../panels/AttrTemplatesPanel.properties        |  23 -
 .../panels/AttrTemplatesPanel_it.properties     |  23 -
 .../panels/AttrTemplatesPanel_pt_BR.properties  |  23 -
 .../client/console/panels/AuditEventsPanel.html | 122 ---
 .../client/console/panels/DerAttrsPanel.html    |  60 --
 .../console/panels/DerAttrsPanel.properties     |  17 -
 .../console/panels/DerAttrsPanel_it.properties  |  18 -
 .../panels/DerAttrsPanel_pt_BR.properties       |  17 -
 .../console/panels/EventSelectionPanel.html     | 125 ---
 .../console/panels/GroupDetailsPanel.html       | 107 ---
 .../console/panels/GroupDetailsPanel.properties |  22 -
 .../panels/GroupDetailsPanel_it.properties      |  22 -
 .../panels/GroupDetailsPanel_pt_BR.properties   |  22 -
 .../client/console/panels/GroupPanel.html       |  88 --
 .../client/console/panels/GroupPanel.properties |  51 --
 .../console/panels/GroupPanel_it.properties     |  53 --
 .../console/panels/GroupPanel_pt_BR.properties  |  40 -
 .../console/panels/GroupSecurityPanel.html      |  66 --
 .../panels/GroupSecurityPanel.properties        |  20 -
 .../panels/GroupSecurityPanel_it.properties     |  20 -
 .../panels/GroupSecurityPanel_pt_BR.properties  |  20 -
 .../console/panels/GroupSummaryPanel.html       |  39 -
 .../client/console/panels/GroupTabPanel.html    |  64 --
 .../console/panels/GroupTabPanel.properties     |  27 -
 .../console/panels/GroupTabPanel_it.properties  |  27 -
 .../panels/GroupTabPanel_pt_BR.properties       |  27 -
 .../client/console/panels/ImagePanel.html       |  23 -
 .../console/panels/JQueryUITabbedPanel.html     |  41 -
 .../client/console/panels/LayoutsPanel.html     |  41 -
 .../console/panels/LayoutsPanel.properties      |  18 -
 .../console/panels/LayoutsPanel_it.properties   |  18 -
 .../panels/LayoutsPanel_pt_BR.properties        |  18 -
 .../console/panels/LoggerCategoryPanel.html     | 106 ---
 .../client/console/panels/MembershipsPanel.html |  66 --
 .../console/panels/MembershipsPanel.properties  |  23 -
 .../panels/MembershipsPanel_it.properties       |  24 -
 .../panels/MembershipsPanel_pt_BR.properties    |  23 -
 .../console/panels/NotificationTasks.html       |  38 -
 .../console/panels/NotificationTasks.properties |  26 -
 .../panels/NotificationTasks_it.properties      |  26 -
 .../panels/NotificationTasks_pt_BR.properties   |  26 -
 .../client/console/panels/PlainAttrsPanel.html  |  44 -
 .../client/console/panels/PoliciesPanel.html    |  42 -
 .../console/panels/PoliciesPanel.properties     |  34 -
 .../console/panels/PoliciesPanel_it.properties  |  34 -
 .../panels/PoliciesPanel_pt_BR.properties       |  34 -
 .../client/console/panels/PolicyBeanPanel.html  |  39 -
 .../client/console/panels/PropagationTasks.html |  37 -
 .../console/panels/PropagationTasks.properties  |  28 -
 .../panels/PropagationTasks_it.properties       |  28 -
 .../panels/PropagationTasks_pt_BR.properties    |  28 -
 .../console/panels/PushTasksPanel.properties    |  29 -
 .../console/panels/PushTasksPanel_it.properties |  29 -
 .../panels/PushTasksPanel_pt_BR.properties      |  29 -
 .../console/panels/ResourceConnConfPanel.html   |  41 -
 .../console/panels/ResourceDetailsPanel.html    | 137 ----
 .../console/panels/ResourceMappingPanel.html    | 125 ---
 .../console/panels/ResourceSecurityPanel.html   |  56 --
 .../panels/ResourceSecurityPanel.properties     |  19 -
 .../panels/ResourceSecurityPanel_it.properties  |  19 -
 .../ResourceSecurityPanel_pt_BR.properties      |  19 -
 .../client/console/panels/ResourcesPanel.html   |  23 -
 .../client/console/panels/SchedTasks.html       |  42 -
 .../client/console/panels/SchedTasks.properties |  28 -
 .../console/panels/SchedTasks_it.properties     |  28 -
 .../console/panels/SchedTasks_pt_BR.properties  |  28 -
 .../console/panels/SecurityQuestionPanel.html   |  41 -
 .../panels/SecurityQuestionPanel.properties     |  18 -
 .../panels/SecurityQuestionPanel_it.properties  |  18 -
 .../SecurityQuestionPanel_pt_BR.properties      |  18 -
 .../console/panels/SelectedEventsPanel.html     |  33 -
 .../client/console/panels/StatusPanel.html      | 130 ---
 .../console/panels/StatusPanel.properties       |  19 -
 .../console/panels/StatusPanel_it.properties    |  19 -
 .../console/panels/StatusPanel_pt_BR.properties |  19 -
 .../console/panels/SyncTasksPanel.properties    |  29 -
 .../console/panels/SyncTasksPanel_it.properties |  29 -
 .../panels/SyncTasksPanel_pt_BR.properties      |  29 -
 .../client/console/panels/UserDetailsPanel.html |  71 --
 .../console/panels/UserDetailsPanel.properties  |  19 -
 .../panels/UserDetailsPanel_it.properties       |  19 -
 .../panels/UserDetailsPanel_pt_BR.properties    |  19 -
 .../client/console/panels/VirAttrsPanel.html    |  60 --
 .../console/panels/VirAttrsPanel.properties     |  19 -
 .../console/panels/VirAttrsPanel_it.properties  |  20 -
 .../panels/VirAttrsPanel_pt_BR.properties       |  19 -
 .../data/table/CheckBoxGroupSelectorPanel.html  |  21 -
 .../html/repeater/data/table/CheckBoxPanel.html |  23 -
 .../repeater/data/table/CollectionPanel.html    |  25 -
 .../markup/html/CrontabContainer.properties     |  22 -
 .../markup/html/CrontabContainer_it.properties  |  22 -
 .../html/CrontabContainer_pt_BR.properties      |  22 -
 .../markup/html/form/ActionLinksPanel.html      | 163 ----
 .../markup/html/form/AjaxCheckBoxPanel.html     |  21 -
 .../html/form/AjaxDropDownChoicePanel.html      |  24 -
 .../markup/html/form/AjaxNumberFieldPanel.html  |  22 -
 .../markup/html/form/AjaxPalettePanel.html      |  23 -
 .../html/form/AjaxPasswordFieldPanel.html       |  22 -
 .../markup/html/form/AjaxTextFieldPanel.html    |  23 -
 .../markup/html/form/BinaryFieldPanel.html      |  44 -
 .../form/CheckBoxMultipleChoiceFieldPanel.html  |  23 -
 .../markup/html/form/DateTextFieldPanel.html    |  22 -
 .../markup/html/form/DateTimeFieldPanel.html    |  21 -
 .../html/form/DateTimeFieldPanel.properties     |  17 -
 .../html/form/DateTimeFieldPanel_it.properties  |  17 -
 .../form/DateTimeFieldPanel_pt_BR.properties    |  17 -
 .../wicket/markup/html/form/FieldPanel.html     |  34 -
 .../wicket/markup/html/form/LinkPanel.html      |  23 -
 .../markup/html/form/MappingPurposePanel.html   |  31 -
 .../markup/html/form/MultiFieldPanel.html       |  35 -
 .../markup/html/form/MultiFieldPanel.properties |  22 -
 .../html/form/MultiFieldPanel_it.properties     |  22 -
 .../html/form/MultiFieldPanel_pt_BR.properties  |  22 -
 .../wicket/markup/html/form/NonI18nPalette.html |  69 --
 .../markup/html/form/SpinnerFieldPanel.html     |  29 -
 .../form/preview/AbstractBinaryPreviewer.html   |  24 -
 .../html/form/preview/BinaryCertPreviewer.html  |  24 -
 .../html/form/preview/BinaryImagePreviewer.html |  23 -
 .../wicket/markup/html/tree/TreeGroupPanel.html |  25 -
 client/old_console/pom.xml                      | 112 +++
 .../syncope/client/console/BinaryPreview.java   |  34 +
 .../syncope/client/console/ExtensionPanel.java  |  34 +
 .../client/console/SyncopeApplication.java      | 306 +++++++
 .../console/SyncopeRequestCycleListener.java    |  84 ++
 .../syncope/client/console/SyncopeSession.java  | 185 +++++
 .../console/commons/ActionTableCheckGroup.java  |  40 +
 .../client/console/commons/AttrLayoutType.java  | 105 +++
 .../commons/AttributableDataProvider.java       | 101 +++
 .../console/commons/CloseOnESCBehavior.java     |  55 ++
 .../commons/ConnIdSpecialAttributeName.java     |  34 +
 .../client/console/commons/Constants.java       | 110 +++
 .../console/commons/DateFormatROModel.java      |  50 ++
 .../console/commons/GroupTreeBuilder.java       | 128 +++
 .../console/commons/HttpResourceStream.java     | 101 +++
 .../client/console/commons/JexlHelpUtils.java   |  61 ++
 .../console/commons/MapChoiceRenderer.java      |  43 +
 .../syncope/client/console/commons/Mode.java    |  27 +
 .../console/commons/PreferenceManager.java      | 176 ++++
 .../client/console/commons/PreviewUtils.java    |  62 ++
 .../console/commons/SchemaModalPageFactory.java |  58 ++
 .../console/commons/SelectChoiceRenderer.java   |  40 +
 .../client/console/commons/SelectOption.java    |  72 ++
 .../SortableAttributableProviderComparator.java | 122 +++
 .../commons/SortableDataProviderComparator.java |  66 ++
 .../client/console/commons/XMLRolesReader.java  | 118 +++
 .../status/AbstractStatusBeanProvider.java      |  69 ++
 .../commons/status/ConnObjectWrapper.java       |  55 ++
 .../client/console/commons/status/Status.java   |  45 +
 .../console/commons/status/StatusBean.java      | 103 +++
 .../console/commons/status/StatusUtils.java     | 324 ++++++++
 .../client/console/init/ConsoleInitializer.java |  72 ++
 .../init/ImplementationClassNamesLoader.java    | 109 +++
 .../client/console/init/MIMETypesLoader.java    |  69 ++
 .../console/init/SyncopeConsoleLoader.java      |  35 +
 .../client/console/pages/AbstractBasePage.java  | 131 +++
 .../pages/AbstractSchedTaskModalPage.java       | 132 +++
 .../console/pages/AbstractSchemaModalPage.java  |  45 +
 .../console/pages/AbstractStatusModalPage.java  |  30 +
 .../pages/AbstractSyncTaskModalPage.java        | 209 +++++
 .../console/pages/ActivitiModelerPopupPage.java |  27 +
 .../client/console/pages/ApprovalModalPage.java | 286 +++++++
 .../client/console/pages/BaseModalPage.java     |  35 +
 .../syncope/client/console/pages/BasePage.java  | 111 +++
 .../client/console/pages/BasePopupPage.java     |  25 +
 .../console/pages/BulkActionModalPage.java      | 166 ++++
 .../pages/BulkActionResultModalPage.java        |  97 +++
 .../client/console/pages/ConfModalPage.java     | 112 +++
 .../client/console/pages/Configuration.java     | 814 +++++++++++++++++++
 .../pages/ConfirmPasswordResetModalPage.java    | 103 +++
 .../console/pages/ConnObjectModalPage.java      | 101 +++
 .../console/pages/ConnectorModalPage.java       | 479 +++++++++++
 .../console/pages/DerSchemaModalPage.java       | 140 ++++
 .../pages/DisplayAttributesModalPage.java       | 273 +++++++
 .../client/console/pages/EditUserModalPage.java | 105 +++
 .../syncope/client/console/pages/ErrorPage.java |  42 +
 .../console/pages/ExecMessageModalPage.java     |  32 +
 .../console/pages/FailureMessageModalPage.java  |  37 +
 .../client/console/pages/GroupModalPage.java    | 164 ++++
 .../console/pages/GroupSelectModalPage.java     | 105 +++
 .../console/pages/GroupTemplateModalPage.java   |  50 ++
 .../syncope/client/console/pages/Groups.java    | 186 +++++
 .../syncope/client/console/pages/HomePage.java  |  33 +
 .../client/console/pages/InfoModalPage.java     |  43 +
 .../syncope/client/console/pages/Login.java     | 365 +++++++++
 .../syncope/client/console/pages/Logout.java    |  38 +
 .../console/pages/MembershipModalPage.java      | 114 +++
 .../console/pages/NotificationModalPage.java    | 441 ++++++++++
 .../pages/NotificationTaskModalPage.java        |  69 ++
 .../console/pages/PlainSchemaModalPage.java     | 456 +++++++++++
 .../client/console/pages/PolicyModalPage.java   | 450 ++++++++++
 .../console/pages/PropagationTaskModalPage.java |  45 +
 .../console/pages/ProvisioningModalPage.java    | 249 ++++++
 .../client/console/pages/PushTaskModalPage.java | 135 +++
 .../ReportExecResultDownloadModalPage.java      |  73 ++
 .../client/console/pages/ReportModalPage.java   | 640 +++++++++++++++
 .../console/pages/ReportletConfModalPage.java   | 362 +++++++++
 .../syncope/client/console/pages/Reports.java   | 412 ++++++++++
 .../pages/RequestPasswordResetModalPage.java    | 153 ++++
 .../client/console/pages/ResourceModalPage.java | 214 +++++
 .../syncope/client/console/pages/Resources.java | 723 ++++++++++++++++
 .../console/pages/ResultStatusModalPage.java    | 424 ++++++++++
 .../console/pages/SchedTaskModalPage.java       |  68 ++
 .../syncope/client/console/pages/Schema.java    | 468 +++++++++++
 .../pages/SecurityQuestionModalPage.java        | 111 +++
 .../client/console/pages/StatusModalPage.java   | 641 +++++++++++++++
 .../client/console/pages/SyncTaskModalPage.java |  73 ++
 .../client/console/pages/TaskModalPage.java     | 253 ++++++
 .../syncope/client/console/pages/Tasks.java     | 230 ++++++
 .../syncope/client/console/pages/Todo.java      | 245 ++++++
 .../client/console/pages/UserModalPage.java     | 229 ++++++
 .../console/pages/UserOwnerSelectModalPage.java |  81 ++
 .../client/console/pages/UserSelfModalPage.java |  72 ++
 .../console/pages/UserTemplateModalPage.java    |  60 ++
 .../syncope/client/console/pages/Users.java     | 166 ++++
 .../client/console/pages/ViewUserModalPage.java |  49 ++
 .../console/pages/VirSchemaModalPage.java       | 126 +++
 .../client/console/pages/WelcomePage.java       |  55 ++
 .../console/pages/XMLEditorPopupPage.java       |  90 ++
 .../console/panels/AbstractExtensionPanel.java  |  39 +
 .../panels/AbstractProvisioningTasksPanel.java  | 160 ++++
 .../console/panels/AbstractSearchPanel.java     | 401 +++++++++
 .../panels/AbstractSearchResultPanel.java       | 353 ++++++++
 .../client/console/panels/AbstractTasks.java    |  55 ++
 .../console/panels/AccountInformationPanel.java |  73 ++
 .../console/panels/ActionDataTablePanel.java    | 149 ++++
 .../console/panels/AjaxDataTablePanel.java      | 142 ++++
 .../console/panels/AnnotatedBeanPanel.java      |  66 ++
 .../console/panels/AttrTemplatesPanel.java      | 167 ++++
 .../client/console/panels/DataTablePanel.java   | 113 +++
 .../client/console/panels/DerAttrsPanel.java    | 206 +++++
 .../console/panels/EventSelectionPanel.java     | 243 ++++++
 .../console/panels/GroupDetailsPanel.java       | 435 ++++++++++
 .../client/console/panels/GroupPanel.java       | 187 +++++
 .../client/console/panels/GroupSearchPanel.java | 101 +++
 .../console/panels/GroupSearchResultPanel.java  | 172 ++++
 .../console/panels/GroupSecurityPanel.java      | 198 +++++
 .../console/panels/GroupSummaryPanel.java       | 153 ++++
 .../client/console/panels/GroupTabPanel.java    | 195 +++++
 .../client/console/panels/ImagePanel.java       |  44 +
 .../console/panels/JQueryUITabbedPanel.java     |  45 +
 .../client/console/panels/LayoutsPanel.java     | 130 +++
 .../console/panels/LoggerCategoryPanel.java     | 461 +++++++++++
 .../client/console/panels/MembershipsPanel.java | 255 ++++++
 .../console/panels/NotificationPanel.java       | 119 +++
 .../console/panels/NotificationTasks.java       | 254 ++++++
 .../client/console/panels/PlainAttrsPanel.java  | 395 +++++++++
 .../client/console/panels/PoliciesPanel.java    | 343 ++++++++
 .../client/console/panels/PolicyBeanPanel.java  | 340 ++++++++
 .../client/console/panels/PropagationTasks.java | 264 ++++++
 .../client/console/panels/PushTasksPanel.java   | 184 +++++
 .../console/panels/ResourceConnConfPanel.java   | 187 +++++
 .../console/panels/ResourceDetailsPanel.java    | 306 +++++++
 .../console/panels/ResourceMappingPanel.java    | 644 +++++++++++++++
 .../console/panels/ResourceSecurityPanel.java   | 189 +++++
 .../client/console/panels/ResourcesPanel.java   | 177 ++++
 .../client/console/panels/SchedTasks.java       | 286 +++++++
 .../client/console/panels/SearchClause.java     | 129 +++
 .../client/console/panels/SearchView.java       | 461 +++++++++++
 .../console/panels/SecurityQuestionPanel.java   |  98 +++
 .../panels/SelectOnlyUserSearchResultPanel.java |  93 +++
 .../console/panels/SelectedEventsPanel.java     | 167 ++++
 .../client/console/panels/StatusPanel.java      | 262 ++++++
 .../client/console/panels/SyncTasksPanel.java   | 225 +++++
 .../client/console/panels/UserDetailsPanel.java | 122 +++
 .../client/console/panels/UserSearchPanel.java  | 113 +++
 .../console/panels/UserSearchResultPanel.java   | 297 +++++++
 .../client/console/panels/VirAttrsPanel.java    | 294 +++++++
 .../console/resources/FilesystemResource.java   |  83 ++
 .../resources/WorkflowDefGETResource.java       |  58 ++
 .../resources/WorkflowDefPUTResource.java       |  74 ++
 .../console/rest/AbstractSubjectRestClient.java |  46 ++
 .../client/console/rest/ApprovalRestClient.java |  45 +
 .../client/console/rest/AuthRestClient.java     |  44 +
 .../client/console/rest/BaseRestClient.java     |  70 ++
 .../console/rest/ConfigurationRestClient.java   |  97 +++
 .../console/rest/ConnectorRestClient.java       | 217 +++++
 .../console/rest/ExecutionRestClient.java       |  26 +
 .../client/console/rest/GroupRestClient.java    | 184 +++++
 .../client/console/rest/InvalidPolicyType.java  |  31 +
 .../client/console/rest/LoggerRestClient.java   |  92 +++
 .../console/rest/NotificationRestClient.java    |  50 ++
 .../client/console/rest/PolicyRestClient.java   | 104 +++
 .../client/console/rest/ReportRestClient.java   | 108 +++
 .../client/console/rest/ResourceRestClient.java |  94 +++
 .../client/console/rest/SchemaRestClient.java   | 250 ++++++
 .../rest/SecurityQuestionRestClient.java        |  51 ++
 .../client/console/rest/TaskRestClient.java     | 139 ++++
 .../client/console/rest/UserRestClient.java     | 228 ++++++
 .../client/console/rest/UserSelfRestClient.java |  96 +++
 .../client/console/rest/WorkflowRestClient.java |  69 ++
 .../ajax/form/AbstractAjaxDownloadBehavior.java |  48 ++
 .../markup/html/ClearIndicatingAjaxButton.java  |  76 ++
 .../markup/html/ClearIndicatingAjaxLink.java    |  61 ++
 .../html/IndicatingOnConfirmAjaxLink.java       |  58 ++
 .../html/repeater/data/table/ActionColumn.java  |  59 ++
 .../repeater/data/table/ActionResultColumn.java |  77 ++
 .../html/repeater/data/table/AttrColumn.java    |  85 ++
 .../data/table/CheckBoxGroupSelectorPanel.java  |  34 +
 .../html/repeater/data/table/CheckBoxPanel.java |  43 +
 .../repeater/data/table/CheckGroupColumn.java   |  54 ++
 .../repeater/data/table/CollectionPanel.java    |  47 ++
 .../data/table/CollectionPropertyColumn.java    |  54 ++
 .../repeater/data/table/DatePropertyColumn.java |  53 ++
 .../html/repeater/data/table/TokenColumn.java   |  51 ++
 .../wicket/markup/head/MetaHeaderItem.java      |  49 ++
 .../wicket/markup/html/CrontabContainer.java    | 184 +++++
 .../markup/html/form/AbstractFieldPanel.java    |  40 +
 .../wicket/markup/html/form/ActionLink.java     |  83 ++
 .../markup/html/form/ActionLinksPanel.java      | 586 +++++++++++++
 .../markup/html/form/AjaxCheckBoxPanel.java     | 130 +++
 .../markup/html/form/AjaxDecoratedCheckbox.java |  55 ++
 .../html/form/AjaxDropDownChoicePanel.java      |  87 ++
 .../markup/html/form/AjaxPalettePanel.java      |  70 ++
 .../html/form/AjaxPasswordFieldPanel.java       |  60 ++
 .../markup/html/form/AjaxTextFieldPanel.java    |  98 +++
 .../markup/html/form/BinaryFieldPanel.java      | 211 +++++
 .../form/CheckBoxMultipleChoiceFieldPanel.java  |  46 ++
 .../wicket/markup/html/form/DateFieldPanel.java | 132 +++
 .../markup/html/form/DateTextFieldPanel.java    |  88 ++
 .../markup/html/form/DateTimeFieldPanel.java    | 195 +++++
 .../wicket/markup/html/form/FieldPanel.java     | 199 +++++
 .../wicket/markup/html/form/LinkPanel.java      |  39 +
 .../markup/html/form/MappingPurposePanel.java   | 133 +++
 .../markup/html/form/MultiFieldPanel.java       | 172 ++++
 .../wicket/markup/html/form/NonI18nPalette.java |  44 +
 .../markup/html/form/SelectableRecorder.java    | 204 +++++
 .../markup/html/form/SpinnerFieldPanel.java     | 197 +++++
 .../form/preview/AbstractBinaryPreviewer.java   |  46 ++
 .../html/form/preview/BinaryCertPreviewer.java  |  70 ++
 .../html/form/preview/BinaryImagePreviewer.java |  51 ++
 .../markup/html/link/VeilPopupSettings.java     |  32 +
 .../wicket/markup/html/list/AltListView.java    |  59 ++
 .../html/list/ConnConfPropertyListView.java     | 152 ++++
 .../tree/DefaultMutableTreeNodeExpansion.java   | 160 ++++
 .../DefaultMutableTreeNodeExpansionModel.java   |  36 +
 .../wicket/markup/html/tree/TreeGroupPanel.java | 121 +++
 .../markup/html/tree/TreeGroupProvider.java     |  43 +
 .../resources/META-INF/resources/css/bulk.css   |  97 +++
 .../META-INF/resources/css/fieldstyle.css       | 191 +++++
 .../ui-bg_diagonals-thick_20_666666_40x40.png   | Bin 0 -> 251 bytes
 .../css/images/ui-bg_flat_0_aaaaaa_40x100.png   | Bin 0 -> 1310 bytes
 .../ui-bg_flat_0_aaaaaa_40x100_greennotused.png | Bin 0 -> 1312 bytes
 .../css/images/ui-bg_glass_55_fbf9ee_1x400.png  | Bin 0 -> 120 bytes
 .../css/images/ui-bg_glass_65_ffffff_1x400.png  | Bin 0 -> 105 bytes
 .../css/images/ui-bg_glass_75_dadada_1x400.png  | Bin 0 -> 111 bytes
 .../css/images/ui-bg_glass_75_e6e6e6_1x400.png  | Bin 0 -> 110 bytes
 .../css/images/ui-bg_glass_95_fef1ec_1x400.png  | Bin 0 -> 119 bytes
 .../ui-bg_highlight-soft_75_cccccc_1x100.png    | Bin 0 -> 1244 bytes
 ...ghlight-soft_75_cccccc_1x100_greynotused.png | Bin 0 -> 101 bytes
 ...ui-bg_highlight-soft_75_cccccc_1x100_red.png | Bin 0 -> 257 bytes
 .../css/images/ui-icons_222222_256x240.png      | Bin 0 -> 4369 bytes
 .../css/images/ui-icons_2e83ff_256x240.png      | Bin 0 -> 4369 bytes
 .../css/images/ui-icons_454545_256x240.png      | Bin 0 -> 4369 bytes
 .../css/images/ui-icons_888888_256x240.png      | Bin 0 -> 4369 bytes
 .../css/images/ui-icons_cd0a0a_256x240.png      | Bin 0 -> 4369 bytes
 .../resources/META-INF/resources/css/style.css  | 550 +++++++++++++
 .../resources/img/actions/assign-icon.png       | Bin 0 -> 566 bytes
 .../resources/img/actions/both-icon.png         | Bin 0 -> 611 bytes
 .../META-INF/resources/img/actions/bulk.png     | Bin 0 -> 1182 bytes
 .../META-INF/resources/img/actions/claim.png    | Bin 0 -> 509 bytes
 .../META-INF/resources/img/actions/create.png   | Bin 0 -> 360 bytes
 .../META-INF/resources/img/actions/delete.png   | Bin 0 -> 530 bytes
 .../resources/img/actions/deprovision-icon.png  | Bin 0 -> 210 bytes
 .../META-INF/resources/img/actions/dryrun.png   | Bin 0 -> 891 bytes
 .../META-INF/resources/img/actions/edit.png     | Bin 0 -> 455 bytes
 .../META-INF/resources/img/actions/enable.png   | Bin 0 -> 715 bytes
 .../META-INF/resources/img/actions/execute.png  | Bin 0 -> 695 bytes
 .../META-INF/resources/img/actions/export.png   | Bin 0 -> 474 bytes
 .../resources/img/actions/groups-icon.png       | Bin 0 -> 391 bytes
 .../resources/img/actions/link-icon.png         | Bin 0 -> 447 bytes
 .../resources/img/actions/manage-icon.png       | Bin 0 -> 611 bytes
 .../resources/img/actions/none-icon.png         | Bin 0 -> 521 bytes
 .../resources/img/actions/propagation-icon.png  | Bin 0 -> 362 bytes
 .../resources/img/actions/provision-icon.png    | Bin 0 -> 360 bytes
 .../resources/img/actions/reactivate.png        | Bin 0 -> 496 bytes
 .../META-INF/resources/img/actions/reload.png   | Bin 0 -> 491 bytes
 .../META-INF/resources/img/actions/reset.png    | Bin 0 -> 491 bytes
 .../resources/img/actions/resources-icon.png    | Bin 0 -> 634 bytes
 .../META-INF/resources/img/actions/search.png   | Bin 0 -> 763 bytes
 .../META-INF/resources/img/actions/select.png   | Bin 0 -> 279 bytes
 .../resources/img/actions/settings-icon.png     | Bin 0 -> 153 bytes
 .../META-INF/resources/img/actions/suspend.png  | Bin 0 -> 504 bytes
 .../img/actions/synchronization-icon.png        | Bin 0 -> 406 bytes
 .../resources/img/actions/unassign-icon.png     | Bin 0 -> 573 bytes
 .../resources/img/actions/unlink-icon.png       | Bin 0 -> 509 bytes
 .../resources/img/actions/user_template.png     | Bin 0 -> 597 bytes
 .../resources/img/actions/users-icon.png        | Bin 0 -> 754 bytes
 .../resources/META-INF/resources/img/add.png    | Bin 0 -> 814 bytes
 .../resources/META-INF/resources/img/addAll.png | Bin 0 -> 1037 bytes
 .../resources/META-INF/resources/img/busy.gif   | Bin 0 -> 2834 bytes
 .../META-INF/resources/img/db_export.png        | Bin 0 -> 16675 bytes
 .../META-INF/resources/img/disable.png          | Bin 0 -> 1001 bytes
 .../META-INF/resources/img/down-icon.png        | Bin 0 -> 418 bytes
 .../META-INF/resources/img/favicon.png          | Bin 0 -> 641 bytes
 .../META-INF/resources/img/file-download.png    | Bin 0 -> 967 bytes
 .../META-INF/resources/img/file-upload.png      | Bin 0 -> 949 bytes
 .../resources/META-INF/resources/img/help.png   | Bin 0 -> 808 bytes
 .../resources/META-INF/resources/img/info.png   | Bin 0 -> 575 bytes
 .../META-INF/resources/img/left-icon.png        | Bin 0 -> 451 bytes
 .../META-INF/resources/img/loading.gif          | Bin 0 -> 2530 bytes
 .../resources/META-INF/resources/img/logo.png   | Bin 0 -> 8913 bytes
 .../resources/img/menu/configuration.png        | Bin 0 -> 5670 bytes
 .../META-INF/resources/img/menu/connectors.png  | Bin 0 -> 5772 bytes
 .../META-INF/resources/img/menu/groups.png      | Bin 0 -> 5020 bytes
 .../META-INF/resources/img/menu/logout.png      | Bin 0 -> 5460 bytes
 .../resources/img/menu/notsel/configuration.png | Bin 0 -> 5518 bytes
 .../resources/img/menu/notsel/connectors.png    | Bin 0 -> 6401 bytes
 .../resources/img/menu/notsel/groups.png        | Bin 0 -> 5175 bytes
 .../resources/img/menu/notsel/logout.png        | Bin 0 -> 5720 bytes
 .../resources/img/menu/notsel/reports.png       | Bin 0 -> 6074 bytes
 .../resources/img/menu/notsel/resources.png     | Bin 0 -> 6401 bytes
 .../resources/img/menu/notsel/schema.png        | Bin 0 -> 5544 bytes
 .../resources/img/menu/notsel/sf_body.png       | Bin 0 -> 303 bytes
 .../resources/img/menu/notsel/tasks.png         | Bin 0 -> 7461 bytes
 .../META-INF/resources/img/menu/notsel/todo.png | Bin 0 -> 6996 bytes
 .../resources/img/menu/notsel/users.png         | Bin 0 -> 7637 bytes
 .../META-INF/resources/img/menu/reports.png     | Bin 0 -> 5553 bytes
 .../META-INF/resources/img/menu/resources.png   | Bin 0 -> 5772 bytes
 .../META-INF/resources/img/menu/schema.png      | Bin 0 -> 5217 bytes
 .../META-INF/resources/img/menu/tasks.png       | Bin 0 -> 5742 bytes
 .../META-INF/resources/img/menu/todo.png        | Bin 0 -> 5722 bytes
 .../META-INF/resources/img/menu/users.png       | Bin 0 -> 6006 bytes
 .../META-INF/resources/img/minus-icon.png       | Bin 0 -> 210 bytes
 .../META-INF/resources/img/modeler.png          | Bin 0 -> 3118 bytes
 .../META-INF/resources/img/moveDown.png         | Bin 0 -> 833 bytes
 .../resources/META-INF/resources/img/moveUp.png | Bin 0 -> 834 bytes
 .../resources/META-INF/resources/img/ok.png     | Bin 0 -> 497 bytes
 .../resources/META-INF/resources/img/ping.png   | Bin 0 -> 22945 bytes
 .../META-INF/resources/img/plus-icon.png        | Bin 0 -> 360 bytes
 .../META-INF/resources/img/reload_30.png        | Bin 0 -> 611 bytes
 .../resources/META-INF/resources/img/remove.png | Bin 0 -> 825 bytes
 .../META-INF/resources/img/removeAll.png        | Bin 0 -> 1034 bytes
 .../META-INF/resources/img/right-icon.png       | Bin 0 -> 411 bytes
 .../resources/META-INF/resources/img/search.png | Bin 0 -> 763 bytes
 .../META-INF/resources/img/sf_testa.png         | Bin 0 -> 293 bytes
 .../META-INF/resources/img/statuses/active.png  | Bin 0 -> 509 bytes
 .../resources/img/statuses/inactive.png         | Bin 0 -> 477 bytes
 .../resources/img/statuses/objectnotfound.png   | Bin 0 -> 668 bytes
 .../resources/img/statuses/undefined.png        | Bin 0 -> 758 bytes
 .../META-INF/resources/img/success.png          | Bin 0 -> 1696 bytes
 .../resources/META-INF/resources/img/tab ok.png | Bin 0 -> 2330 bytes
 .../META-INF/resources/img/tab old.png          | Bin 0 -> 734 bytes
 .../resources/META-INF/resources/img/tab.png    | Bin 0 -> 2098 bytes
 .../META-INF/resources/img/up-icon.png          | Bin 0 -> 421 bytes
 .../META-INF/resources/img/warning.png          | Bin 0 -> 1107 bytes
 .../resources/META-INF/resources/img/xml.png    | Bin 0 -> 2741 bytes
 client/old_console/src/main/resources/MIMETypes | 671 +++++++++++++++
 .../src/main/resources/authorizations.xml       | 333 ++++++++
 .../src/main/resources/console.properties       |  22 +
 .../src/main/resources/consoleContext.xml       |  77 ++
 .../console/SyncopeApplication.properties       |  55 ++
 .../console/SyncopeApplication_it.properties    |  54 ++
 .../console/SyncopeApplication_pt_BR.properties |  54 ++
 .../console/pages/AbstractStatusModalPage.html  | 122 +++
 .../pages/AbstractStatusModalPage.properties    |  19 +
 .../pages/AbstractStatusModalPage_it.properties |  19 +
 .../AbstractStatusModalPage_pt_BR.properties    |  19 +
 .../console/pages/ActivitiModelerPopupPage.html |  65 ++
 .../client/console/pages/ApprovalModalPage.html |  52 ++
 .../console/pages/ApprovalModalPage.properties  |  18 +
 .../pages/ApprovalModalPage_it.properties       |  18 +
 .../pages/ApprovalModalPage_pt_BR.properties    |  18 +
 .../client/console/pages/BaseModalPage.html     |  56 ++
 .../console/pages/BaseModalPage.properties      |  20 +
 .../console/pages/BaseModalPage_it.properties   |  20 +
 .../pages/BaseModalPage_pt_BR.properties        |  20 +
 .../syncope/client/console/pages/BasePage.html  | 145 ++++
 .../client/console/pages/BasePage.properties    |  19 +
 .../client/console/pages/BasePage_it.properties |  19 +
 .../console/pages/BasePage_pt_BR.properties     |  19 +
 .../client/console/pages/BasePopupPage.html     |  51 ++
 .../console/pages/BulkActionModalPage.html      |  45 +
 .../pages/BulkActionModalPage.properties        |  17 +
 .../pages/BulkActionModalPage_it.properties     |  17 +
 .../pages/BulkActionModalPage_pt_BR.properties  |  17 +
 .../pages/BulkActionResultModalPage.html        |  57 ++
 .../pages/BulkActionResultModalPage.properties  |  19 +
 .../BulkActionResultModalPage_it.properties     |  19 +
 .../BulkActionResultModalPage_pt_BR.properties  |  19 +
 .../client/console/pages/ConfModalPage.html     |  39 +
 .../console/pages/ConfModalPage.properties      |  17 +
 .../console/pages/ConfModalPage_it.properties   |  17 +
 .../pages/ConfModalPage_pt_BR.properties        |  17 +
 .../client/console/pages/Configuration.html     | 230 ++++++
 .../console/pages/Configuration.properties      |  48 ++
 .../console/pages/Configuration_it.properties   |  48 ++
 .../pages/Configuration_pt_BR.properties        |  48 ++
 .../pages/ConfirmPasswordResetModalPage.html    |  55 ++
 .../ConfirmPasswordResetModalPage.properties    |  20 +
 .../ConfirmPasswordResetModalPage_it.properties |  20 +
 ...nfirmPasswordResetModalPage_pt_BR.properties |  20 +
 .../console/pages/ConnObjectModalPage.html      |  39 +
 .../pages/ConnObjectModalPage.properties        |  17 +
 .../pages/ConnObjectModalPage_it.properties     |  17 +
 .../pages/ConnObjectModalPage_pt_BR.properties  |  17 +
 .../console/pages/ConnectorModalPage.html       | 161 ++++
 .../console/pages/ConnectorModalPage.properties |  43 +
 .../pages/ConnectorModalPage_it.properties      |  43 +
 .../pages/ConnectorModalPage_pt_BR.properties   |  43 +
 .../console/pages/DerSchemaModalPage.html       |  64 ++
 .../console/pages/DerSchemaModalPage.properties |  22 +
 .../pages/DerSchemaModalPage_it.properties      |  22 +
 .../pages/DerSchemaModalPage_pt_BR.properties   |  22 +
 .../pages/DisplayAttributesModalPage.html       | 132 +++
 .../pages/DisplayAttributesModalPage.properties |  33 +
 .../DisplayAttributesModalPage_it.properties    |  33 +
 .../DisplayAttributesModalPage_pt_BR.properties |  33 +
 .../syncope/client/console/pages/ErrorPage.html |  53 ++
 .../console/pages/ExecMessageModalPage.html     |  25 +
 .../console/pages/FailureMessageModalPage.html  |  36 +
 .../client/console/pages/GroupModalPage.html    |  52 ++
 .../console/pages/GroupModalPage.properties     |  48 ++
 .../console/pages/GroupModalPage_it.properties  |  50 ++
 .../pages/GroupModalPage_pt_BR.properties       |  48 ++
 .../console/pages/GroupSelectModalPage.html     |  24 +
 .../syncope/client/console/pages/Groups.html    |  80 ++
 .../client/console/pages/Groups.properties      |  26 +
 .../client/console/pages/Groups_it.properties   |  26 +
 .../console/pages/Groups_pt_BR.properties       |  26 +
 .../syncope/client/console/pages/HomePage.html  |  34 +
 .../client/console/pages/InfoModalPage.html     |  42 +
 .../console/pages/InfoModalPage.properties      |  19 +
 .../console/pages/InfoModalPage_it.properties   |  19 +
 .../pages/InfoModalPage_pt_BR.properties        |  19 +
 .../syncope/client/console/pages/Login.html     |  89 ++
 .../client/console/pages/Login.properties       |  22 +
 .../client/console/pages/Login_it.properties    |  22 +
 .../client/console/pages/Login_pt_BR.properties |  22 +
 .../console/pages/MembershipModalPage.html      |  55 ++
 .../pages/MembershipModalPage.properties        |  35 +
 .../pages/MembershipModalPage_it.properties     |  35 +
 .../pages/MembershipModalPage_pt_BR.properties  |  35 +
 .../console/pages/NotificationModalPage.html    | 234 ++++++
 .../pages/NotificationModalPage.properties      |  40 +
 .../pages/NotificationModalPage_it.properties   |  40 +
 .../NotificationModalPage_pt_BR.properties      |  40 +
 .../pages/NotificationTaskModalPage.html        | 111 +++
 .../pages/NotificationTaskModalPage.properties  |  32 +
 .../NotificationTaskModalPage_it.properties     |  32 +
 .../NotificationTaskModalPage_pt_BR.properties  |  32 +
 .../console/pages/PlainSchemaModalPage.html     | 172 ++++
 .../pages/PlainSchemaModalPage.properties       |  38 +
 .../pages/PlainSchemaModalPage_it.properties    |  38 +
 .../pages/PlainSchemaModalPage_pt_BR.properties |  38 +
 .../client/console/pages/PolicyModalPage.html   | 109 +++
 .../console/pages/PolicyModalPage.properties    |  88 ++
 .../console/pages/PolicyModalPage_it.properties |  88 ++
 .../pages/PolicyModalPage_pt_BR.properties      |  87 ++
 .../console/pages/PropagationTaskModalPage.html |  75 ++
 .../pages/PropagationTaskModalPage.properties   |  28 +
 .../PropagationTaskModalPage_it.properties      |  28 +
 .../PropagationTaskModalPage_pt_BR.properties   |  28 +
 .../client/console/pages/PushTaskModalPage.html | 228 ++++++
 .../console/pages/PushTaskModalPage.properties  |  45 +
 .../pages/PushTaskModalPage_it.properties       |  47 ++
 .../pages/PushTaskModalPage_pt_BR.properties    |  45 +
 .../client/console/pages/RecursivePanel.html    |  28 +
 .../ReportExecResultDownloadModalPage.html      |  23 +
 ...ReportExecResultDownloadModalPage.properties |  18 +
 ...ortExecResultDownloadModalPage_it.properties |  18 +
 ...ExecResultDownloadModalPage_pt_BR.properties |  18 +
 .../client/console/pages/ReportModalPage.html   | 146 ++++
 .../console/pages/ReportModalPage.properties    |  36 +
 .../console/pages/ReportModalPage_it.properties |  36 +
 .../pages/ReportModalPage_pt_BR.properties      |  36 +
 .../console/pages/ReportletConfModalPage.html   |  85 ++
 .../pages/ReportletConfModalPage.properties     |  22 +
 .../pages/ReportletConfModalPage_it.properties  |  22 +
 .../ReportletConfModalPage_pt_BR.properties     |  22 +
 .../syncope/client/console/pages/Reports.html   |  58 ++
 .../client/console/pages/Reports.properties     |  24 +
 .../client/console/pages/Reports_it.properties  |  24 +
 .../console/pages/Reports_pt_BR.properties      |  24 +
 .../pages/RequestPasswordResetModalPage.html    |  64 ++
 .../RequestPasswordResetModalPage.properties    |  21 +
 .../RequestPasswordResetModalPage_it.properties |  21 +
 ...questPasswordResetModalPage_pt_BR.properties |  21 +
 .../client/console/pages/ResourceModalPage.html |  64 ++
 .../console/pages/ResourceModalPage.properties  |  60 ++
 .../pages/ResourceModalPage_it.properties       |  60 ++
 .../pages/ResourceModalPage_pt_BR.properties    |  60 ++
 .../syncope/client/console/pages/Resources.html |  99 +++
 .../client/console/pages/Resources.properties   |  34 +
 .../console/pages/Resources_it.properties       |  34 +
 .../console/pages/Resources_pt_BR.properties    |  32 +
 .../console/pages/ResultStatusModalPage.html    | 226 +++++
 .../pages/ResultStatusModalPage.properties      |  26 +
 .../pages/ResultStatusModalPage_it.properties   |  26 +
 .../ResultStatusModalPage_pt_BR.properties      |  26 +
 .../client/console/pages/RouteModalPage.html    |  49 ++
 .../console/pages/RouteModalPage.properties     |  18 +
 .../console/pages/RouteModalPage_it.properties  |  18 +
 .../pages/RouteModalPage_pt_BR.properties       |  18 +
 .../console/pages/SchedTaskModalPage.html       | 136 ++++
 .../console/pages/SchedTaskModalPage.properties |  36 +
 .../pages/SchedTaskModalPage_it.properties      |  36 +
 .../pages/SchedTaskModalPage_pt_BR.properties   |  36 +
 .../console/pages/Schema$SchemaTypePanel.html   |  41 +
 .../syncope/client/console/pages/Schema.html    |  59 ++
 .../client/console/pages/Schema.properties      |  35 +
 .../client/console/pages/Schema_it.properties   |  35 +
 .../console/pages/Schema_pt_BR.properties       |  35 +
 .../pages/SecurityQuestionModalPage.html        |  46 ++
 .../pages/SecurityQuestionModalPage.properties  |  18 +
 .../SecurityQuestionModalPage_it.properties     |  18 +
 .../SecurityQuestionModalPage_pt_BR.properties  |  18 +
 .../client/console/pages/SyncTaskModalPage.html | 205 +++++
 .../console/pages/SyncTaskModalPage.properties  |  43 +
 .../pages/SyncTaskModalPage_it.properties       |  44 +
 .../pages/SyncTaskModalPage_pt_BR.properties    |  43 +
 .../syncope/client/console/pages/Tasks.html     |  46 ++
 .../client/console/pages/Tasks.properties       |  21 +
 .../client/console/pages/Tasks_it.properties    |  21 +
 .../client/console/pages/Tasks_pt_BR.properties |  21 +
 .../syncope/client/console/pages/Todo.html      |  45 +
 .../client/console/pages/Todo.properties        |  31 +
 .../client/console/pages/Todo_it.properties     |  31 +
 .../client/console/pages/Todo_pt_BR.properties  |  31 +
 .../client/console/pages/UserModalPage.html     |  97 +++
 .../console/pages/UserModalPage.properties      |  52 ++
 .../console/pages/UserModalPage_it.properties   |  53 ++
 .../pages/UserModalPage_pt_BR.properties        |  52 ++
 .../console/pages/UserOwnerSelectModalPage.html |  38 +
 .../pages/UserOwnerSelectModalPage.properties   |  23 +
 .../UserOwnerSelectModalPage_it.properties      |  23 +
 .../UserOwnerSelectModalPage_pt_BR.properties   |  23 +
 .../syncope/client/console/pages/Users.html     |  72 ++
 .../client/console/pages/Users.properties       |  26 +
 .../client/console/pages/Users_it.properties    |  26 +
 .../client/console/pages/Users_pt_BR.properties |  26 +
 .../console/pages/VirSchemaModalPage.html       |  53 ++
 .../console/pages/VirSchemaModalPage.properties |  22 +
 .../pages/VirSchemaModalPage_it.properties      |  22 +
 .../pages/VirSchemaModalPage_pt_BR.properties   |  22 +
 .../client/console/pages/WelcomePage.html       |  70 ++
 .../client/console/pages/WelcomePage.properties |  18 +
 .../console/pages/WelcomePage_it.properties     |  18 +
 .../console/pages/WelcomePage_pt_BR.properties  |  18 +
 .../console/pages/XMLEditorPopupPage.html       |  82 ++
 .../console/pages/XMLEditorPopupPage.properties |  19 +
 .../pages/XMLEditorPopupPage_it.properties      |  19 +
 .../pages/XMLEditorPopupPage_pt_BR.properties   |  19 +
 .../panels/AbstractProvisioningTasksPanel.html  |  41 +
 .../console/panels/AbstractSearchPanel.html     |  50 ++
 .../panels/AbstractSearchResultPanel.html       |  43 +
 .../panels/AbstractSearchResultPanel.properties |  30 +
 .../AbstractSearchResultPanel_it.properties     |  30 +
 .../AbstractSearchResultPanel_pt_BR.properties  |  30 +
 .../console/panels/AccountInformationPanel.html |  67 ++
 .../panels/AccountInformationPanel.properties   |  22 +
 .../AccountInformationPanel_it.properties       |  23 +
 .../AccountInformationPanel_pt_BR.properties    |  23 +
 .../console/panels/ActionDataTablePanel.html    |  45 +
 .../console/panels/AjaxDataTablePanel.html      |  47 ++
 .../console/panels/AnnotatedBeanPanel.html      |  98 +++
 .../panels/AnnotatedBeanPanel.properties        |  20 +
 .../panels/AnnotatedBeanPanel_it.properties     |  20 +
 .../panels/AnnotatedBeanPanel_pt_BR.properties  |  20 +
 .../console/panels/AttrTemplatesPanel.html      |  58 ++
 .../panels/AttrTemplatesPanel.properties        |  23 +
 .../panels/AttrTemplatesPanel_it.properties     |  23 +
 .../panels/AttrTemplatesPanel_pt_BR.properties  |  23 +
 .../client/console/panels/AuditEventsPanel.html | 122 +++
 .../client/console/panels/DerAttrsPanel.html    |  60 ++
 .../console/panels/DerAttrsPanel.properties     |  17 +
 .../console/panels/DerAttrsPanel_it.properties  |  18 +
 .../panels/DerAttrsPanel_pt_BR.properties       |  17 +
 .../console/panels/EventSelectionPanel.html     | 125 +++
 .../console/panels/GroupDetailsPanel.html       | 107 +++
 .../console/panels/GroupDetailsPanel.properties |  22 +
 .../panels/GroupDetailsPanel_it.properties      |  22 +
 .../panels/GroupDetailsPanel_pt_BR.properties   |  22 +
 .../client/console/panels/GroupPanel.html       |  88 ++
 .../client/console/panels/GroupPanel.properties |  51 ++
 .../console/panels/GroupPanel_it.properties     |  53 ++
 .../console/panels/GroupPanel_pt_BR.properties  |  40 +
 .../console/panels/GroupSecurityPanel.html      |  66 ++
 .../panels/GroupSecurityPanel.properties        |  20 +
 .../panels/GroupSecurityPanel_it.properties     |  20 +
 .../panels/GroupSecurityPanel_pt_BR.properties  |  20 +
 .../console/panels/GroupSummaryPanel.html       |  39 +
 .../client/console/panels/GroupTabPanel.html    |  64 ++
 .../console/panels/GroupTabPanel.properties     |  27 +
 .../console/panels/GroupTabPanel_it.properties  |  27 +
 .../panels/GroupTabPanel_pt_BR.properties       |  27 +
 .../client/console/panels/ImagePanel.html       |  23 +
 .../console/panels/JQueryUITabbedPanel.html     |  41 +
 .../client/console/panels/LayoutsPanel.html     |  41 +
 .../console/panels/LayoutsPanel.properties      |  18 +
 .../console/panels/LayoutsPanel_it.properties   |  18 +
 .../panels/LayoutsPanel_pt_BR.properties        |  18 +
 .../console/panels/LoggerCategoryPanel.html     | 106 +++
 .../client/console/panels/MembershipsPanel.html |  66 ++
 .../console/panels/MembershipsPanel.properties  |  23 +
 .../panels/MembershipsPanel_it.properties       |  24 +
 .../panels/MembershipsPanel_pt_BR.properties    |  23 +
 .../console/panels/NotificationTasks.html       |  38 +
 .../console/panels/NotificationTasks.properties |  26 +
 .../panels/NotificationTasks_it.properties      |  26 +
 .../panels/NotificationTasks_pt_BR.properties   |  26 +
 .../client/console/panels/PlainAttrsPanel.html  |  44 +
 .../client/console/panels/PoliciesPanel.html    |  42 +
 .../console/panels/PoliciesPanel.properties     |  34 +
 .../console/panels/PoliciesPanel_it.properties  |  34 +
 .../panels/PoliciesPanel_pt_BR.properties       |  34 +
 .../client/console/panels/PolicyBeanPanel.html  |  39 +
 .../client/console/panels/PropagationTasks.html |  37 +
 .../console/panels/PropagationTasks.properties  |  28 +
 .../panels/PropagationTasks_it.properties       |  28 +
 .../panels/PropagationTasks_pt_BR.properties    |  28 +
 .../console/panels/PushTasksPanel.properties    |  29 +
 .../console/panels/PushTasksPanel_it.properties |  29 +
 .../panels/PushTasksPanel_pt_BR.properties      |  29 +
 .../console/panels/ResourceConnConfPanel.html   |  41 +
 .../console/panels/ResourceDetailsPanel.html    | 137 ++++
 .../console/panels/ResourceMappingPanel.html    | 125 +++
 .../console/panels/ResourceSecurityPanel.html   |  56 ++
 .../panels/ResourceSecurityPanel.properties     |  19 +
 .../panels/ResourceSecurityPanel_it.properties  |  19 +
 .../ResourceSecurityPanel_pt_BR.properties      |  19 +
 .../client/console/panels/ResourcesPanel.html   |  23 +
 .../client/console/panels/SchedTasks.html       |  42 +
 .../client/console/panels/SchedTasks.properties |  28 +
 .../console/panels/SchedTasks_it.properties     |  28 +
 .../console/panels/SchedTasks_pt_BR.properties  |  28 +
 .../console/panels/SecurityQuestionPanel.html   |  41 +
 .../panels/SecurityQuestionPanel.properties     |  18 +
 .../panels/SecurityQuestionPanel_it.properties  |  18 +
 .../SecurityQuestionPanel_pt_BR.properties      |  18 +
 .../console/panels/SelectedEventsPanel.html     |  33 +
 .../client/console/panels/StatusPanel.html      | 130 +++
 .../console/panels/StatusPanel.properties       |  19 +
 .../console/panels/StatusPanel_it.properties    |  19 +
 .../console/panels/StatusPanel_pt_BR.properties |  19 +
 .../console/panels/SyncTasksPanel.properties    |  29 +
 .../console/panels/SyncTasksPanel_it.properties |  29 +
 .../panels/SyncTasksPanel_pt_BR.properties      |  29 +
 .../client/console/panels/UserDetailsPanel.html |  71 ++
 .../console/panels/UserDetailsPanel.properties  |  19 +
 .../panels/UserDetailsPanel_it.properties       |  19 +
 .../panels/UserDetailsPanel_pt_BR.properties    |  19 +
 .../client/console/panels/VirAttrsPanel.html    |  60 ++
 .../console/panels/VirAttrsPanel.properties     |  19 +
 .../console/panels/VirAttrsPanel_it.properties  |  20 +
 .../panels/VirAttrsPanel_pt_BR.properties       |  19 +
 .../data/table/CheckBoxGroupSelectorPanel.html  |  21 +
 .../html/repeater/data/table/CheckBoxPanel.html |  23 +
 .../repeater/data/table/CollectionPanel.html    |  25 +
 .../markup/html/CrontabContainer.properties     |  22 +
 .../markup/html/CrontabContainer_it.properties  |  22 +
 .../html/CrontabContainer_pt_BR.properties      |  22 +
 .../markup/html/form/ActionLinksPanel.html      | 163 ++++
 .../markup/html/form/AjaxCheckBoxPanel.html     |  21 +
 .../html/form/AjaxDropDownChoicePanel.html      |  24 +
 .../markup/html/form/AjaxNumberFieldPanel.html  |  22 +
 .../markup/html/form/AjaxPalettePanel.html      |  23 +
 .../html/form/AjaxPasswordFieldPanel.html       |  22 +
 .../markup/html/form/AjaxTextFieldPanel.html    |  23 +
 .../markup/html/form/BinaryFieldPanel.html      |  44 +
 .../form/CheckBoxMultipleChoiceFieldPanel.html  |  23 +
 .../markup/html/form/DateTextFieldPanel.html    |  22 +
 .../markup/html/form/DateTimeFieldPanel.html    |  21 +
 .../html/form/DateTimeFieldPanel.properties     |  17 +
 .../html/form/DateTimeFieldPanel_it.properties  |  17 +
 .../form/DateTimeFieldPanel_pt_BR.properties    |  17 +
 .../wicket/markup/html/form/FieldPanel.html     |  34 +
 .../wicket/markup/html/form/LinkPanel.html      |  23 +
 .../markup/html/form/MappingPurposePanel.html   |  31 +
 .../markup/html/form/MultiFieldPanel.html       |  35 +
 .../markup/html/form/MultiFieldPanel.properties |  22 +
 .../html/form/MultiFieldPanel_it.properties     |  22 +
 .../html/form/MultiFieldPanel_pt_BR.properties  |  22 +
 .../wicket/markup/html/form/NonI18nPalette.html |  69 ++
 .../markup/html/form/SpinnerFieldPanel.html     |  29 +
 .../form/preview/AbstractBinaryPreviewer.html   |  24 +
 .../html/form/preview/BinaryCertPreviewer.html  |  24 +
 .../html/form/preview/BinaryImagePreviewer.html |  23 +
 .../wicket/markup/html/tree/TreeGroupPanel.html |  25 +
 client/pom.xml                                  |   3 +-
 .../console/pages/CamelRouteModalPage.java      |  46 +-
 .../client/console/panels/CamelRoutePanel.java  |  16 +-
 .../console/rest/CamelRouteRestClient.java      |   6 +-
 pom.xml                                         |   2 +-
 1285 files changed, 49765 insertions(+), 41171 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/java/org/apache/syncope/client/console/BinaryPreview.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/BinaryPreview.java b/client/console/src/main/java/org/apache/syncope/client/console/BinaryPreview.java
deleted file mode 100644
index c499d60..0000000
--- a/client/console/src/main/java/org/apache/syncope/client/console/BinaryPreview.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;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-@Target({ ElementType.TYPE })
-@Retention(RetentionPolicy.RUNTIME)
-@Documented
-public @interface BinaryPreview {
-
-    public String[] mimeTypes() default {};
-
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/java/org/apache/syncope/client/console/ExtensionPanel.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/ExtensionPanel.java b/client/console/src/main/java/org/apache/syncope/client/console/ExtensionPanel.java
deleted file mode 100644
index 5574926..0000000
--- a/client/console/src/main/java/org/apache/syncope/client/console/ExtensionPanel.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;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-@Target({ ElementType.TYPE })
-@Retention(RetentionPolicy.RUNTIME)
-@Documented
-public @interface ExtensionPanel {
-
-    public String value();
-
-}

http://git-wip-us.apache.org/repos/asf/syncope/blob/39f8a069/client/console/src/main/java/org/apache/syncope/client/console/PreferenceManager.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/PreferenceManager.java b/client/console/src/main/java/org/apache/syncope/client/console/PreferenceManager.java
new file mode 100644
index 0000000..381fc65
--- /dev/null
+++ b/client/console/src/main/java/org/apache/syncope/client/console/PreferenceManager.java
@@ -0,0 +1,173 @@
+/*
+ * 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;
+
+import com.fasterxml.jackson.databind.ObjectMapper;
+import com.fasterxml.jackson.core.type.TypeReference;
+import java.io.IOException;
+import java.io.StringWriter;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import org.apache.commons.lang3.math.NumberUtils;
+import org.apache.wicket.request.Request;
+import org.apache.wicket.request.Response;
+import org.apache.wicket.util.cookies.CookieDefaults;
+import org.apache.wicket.util.cookies.CookieUtils;
+import org.apache.wicket.util.crypt.Base64;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.util.StringUtils;
+
+public class PreferenceManager {
+
+    private static final Logger LOG = LoggerFactory.getLogger(PreferenceManager.class);
+
+    private static final String PREFMAN_KEY = "prefMan";
+
+    private static final int ONE_YEAR_TIME = 60 * 60 * 24 * 365;
+
+    private static final TypeReference<Map<String, String>> MAP_TYPE_REF = new TypeReference<Map<String, String>>() {
+    };
+
+    private static final List<Integer> PAGINATOR_CHOICES = Arrays.asList(new Integer[] { 10, 25, 50 });
+
+    private final ObjectMapper mapper;
+
+    private final CookieUtils cookieUtils;
+
+    public PreferenceManager() {
+        this.mapper = new ObjectMapper();
+
+        CookieDefaults cookieDefaults = new CookieDefaults();
+        cookieDefaults.setMaxAge(ONE_YEAR_TIME);
+        this.cookieUtils = new CookieUtils(cookieDefaults);
+    }
+
+    public List<Integer> getPaginatorChoices() {
+        return PAGINATOR_CHOICES;
+    }
+
+    private Map<String, String> getPrefs(final String value) {
+        Map<String, String> prefs;
+        try {
+            if (StringUtils.hasText(value)) {
+                prefs = mapper.readValue(value, MAP_TYPE_REF);
+            } else {
+                throw new Exception("Invalid cookie value '" + value + "'");
+            }
+        } catch (Exception e) {
+            LOG.debug("No preferences found", e);
+            prefs = new HashMap<>();
+        }
+
+        return prefs;
+    }
+
+    private String setPrefs(final Map<String, String> prefs) throws IOException {
+        StringWriter writer = new StringWriter();
+        mapper.writeValue(writer, prefs);
+
+        return writer.toString();
+    }
+
+    public String get(final Request request, final String key) {
+        String result = null;
+
+        String prefString = cookieUtils.load(PREFMAN_KEY);
+        if (prefString != null) {
+            final Map<String, String> prefs = getPrefs(new String(Base64.decodeBase64(prefString.getBytes())));
+            result = prefs.get(key);
+        }
+
+        return result;
+    }
+
+    public Integer getPaginatorRows(final Request request, final String key) {
+        Integer result = getPaginatorChoices().get(0);
+
+        String value = get(request, key);
+        if (value != null) {
+            result = NumberUtils.toInt(value, 10);
+        }
+
+        return result;
+    }
+
+    public List<String> getList(final Request request, final String key) {
+        final List<String> result = new ArrayList<>();
+
+        final String compound = get(request, key);
+
+        if (StringUtils.hasText(compound)) {
+            String[] items = compound.split(";");
+            result.addAll(Arrays.asList(items));
+        }
+
+        return result;
+    }
+
+    public void set(final Request request, final Response response, final Map<String, List<String>> prefs) {
+        Map<String, String> current = new HashMap<>();
+
+        String prefString = cookieUtils.load(PREFMAN_KEY);
+        if (prefString != null) {
+            current.putAll(getPrefs(new String(Base64.decodeBase64(prefString.getBytes()))));
+        }
+
+        // after retrieved previous setting in order to overwrite the key ...
+        for (Map.Entry<String, List<String>> entry : prefs.entrySet()) {
+            current.put(entry.getKey(), StringUtils.collectionToDelimitedString(entry.getValue(), ";"));
+        }
+
+        try {
+            cookieUtils.save(PREFMAN_KEY, new String(Base64.encodeBase64(setPrefs(current).getBytes())));
+        } catch (IOException e) {
+            LOG.error("Could not save {} info: {}", getClass().getSimpleName(), current, e);
+        }
+    }
+
+    public void set(final Request request, final Response response, final String key, final String value) {
+        String prefString = cookieUtils.load(PREFMAN_KEY);
+
+        final Map<String, String> current = new HashMap<>();
+        if (prefString != null) {
+            current.putAll(getPrefs(new String(Base64.decodeBase64(prefString.getBytes()))));
+        }
+
+        // after retrieved previous setting in order to overwrite the key ...
+        current.put(key, value);
+
+        try {
+            cookieUtils.save(PREFMAN_KEY, new String(Base64.encodeBase64(setPrefs(current).getBytes())));
+        } catch (IOException e) {
+            LOG.error("Could not save {} info: {}", getClass().getSimpleName(), current, e);
+        }
+    }
+
+    public void setList(final Request request, final Response response, final String key, final List<String> values) {
+        set(request, response, key, StringUtils.collectionToDelimitedString(values, ";"));
+    }
+
+    public void setList(final Request request, final Response response, final Map<String, List<String>> prefs) {
+        set(request, response, prefs);
+    }
+}


Mime
View raw message