You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ak...@apache.org on 2015/07/02 10:26:57 UTC

[2/9] incubator-ignite git commit: # ignite-843 Cleanup module.

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8e792605/modules/webconfig/nodejs/views/includes/header.jade
----------------------------------------------------------------------
diff --git a/modules/webconfig/nodejs/views/includes/header.jade b/modules/webconfig/nodejs/views/includes/header.jade
deleted file mode 100644
index 9ffb687..0000000
--- a/modules/webconfig/nodejs/views/includes/header.jade
+++ /dev/null
@@ -1,36 +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.
-
-header.header(id='header')
-    .container
-        h1.navbar-brand
-            a(href='/') Apache Ignite Web Configurator
-        .navbar-collapse.collapse(ng-controller='auth')
-            ul.nav.navbar-nav(ng-controller='activeLink')
-                li
-                    a(ng-class="{active: isActive('/clusters')}" href='/clusters') Configuration
-                li
-                    a(ng-class="{active: isActive('/sql')}" href='/sql') SQL
-            ul.nav.navbar-nav.pull-right(ng-init='user = #{JSON.stringify(user)}')
-                li(ng-show='user')
-                    a.dropdown-toggle(data-toggle='dropdown' aria-expanded='true' bs-dropdown data-template='user-dropdown' data-placement='bottom-right') {{user.username}}
-                        span.caret
-                    script#user-dropdown(type='text/ng-template')
-                        ul.dropdown-menu
-                            li
-                                a(href='/rest/auth/logout') Log Out
-                li.nav-login(ng-show='!user')
-                    a(ng-click='login()' href='#') Log In
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8e792605/modules/webconfig/nodejs/views/index.jade
----------------------------------------------------------------------
diff --git a/modules/webconfig/nodejs/views/index.jade b/modules/webconfig/nodejs/views/index.jade
deleted file mode 100644
index b913fb0..0000000
--- a/modules/webconfig/nodejs/views/index.jade
+++ /dev/null
@@ -1,29 +0,0 @@
-//-
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    (the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-         http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-
-extends layout
-block container
-    .row
-        .docs-content
-            div
-                p
-                    | Apache Ignite<sup>tm</sup> In-Memory Data Fabric is a high-performance,
-                    | integrated and distributed in-memory platform for computing and transacting on large-scale data
-                    | sets in real-time, orders of magnitude faster than possible with traditional disk-based or flash technologies.
-        .block-image.block-display-image
-                img(ng-src='https://www.filepicker.io/api/file/lydEeGB6Rs9hwbpcQxiw' alt='Apache Ignite stack')
-        .text-center(ng-controller='auth')
-            button.btn.btn-primary(ng-click='login()' href='#') Configure Now

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8e792605/modules/webconfig/nodejs/views/layout-sidebar.jade
----------------------------------------------------------------------
diff --git a/modules/webconfig/nodejs/views/layout-sidebar.jade b/modules/webconfig/nodejs/views/layout-sidebar.jade
deleted file mode 100644
index f88bb7d..0000000
--- a/modules/webconfig/nodejs/views/layout-sidebar.jade
+++ /dev/null
@@ -1,37 +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.
-
-extends layout
-
-block container
-    .row
-        .col-sm-2.border-right.section-left.greedy
-            .sidebar-nav
-                ul.menu(ng-controller='activeLink')
-                    li
-                        a(ng-class="{active: isActive('/clusters')}" href='/clusters') Clusters
-                    li
-                        a(ng-class="{active: isActive('/caches')}" href='/caches') Caches
-                    li
-                        a(ng-class="{active: isActive('/persistence')}" href='/persistence') Persistence
-                    li
-                        a(ng-class="{active: isActive('/clients')}" href='/clients') Clients
-                    li
-                        p
-                        a(ng-class="{active: isActive('/summary')}" href='/summary') Summary
-        .col-sm-10.border-left.section-right
-            .docs-content
-                block content
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8e792605/modules/webconfig/nodejs/views/layout.jade
----------------------------------------------------------------------
diff --git a/modules/webconfig/nodejs/views/layout.jade b/modules/webconfig/nodejs/views/layout.jade
deleted file mode 100644
index d7a48be..0000000
--- a/modules/webconfig/nodejs/views/layout.jade
+++ /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.
-
-doctype html
-html(ng-app='ignite-web-configurator')
-    head
-        title= title
-
-        block css
-            // Bootstrap
-            link(rel='stylesheet', href='//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.4/css/bootstrap.css')
-
-            // Font Awesome Icons
-            link(rel='stylesheet', href='//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.css')
-
-            // Font
-            link(rel='stylesheet', href='//fonts.googleapis.com/css?family=Roboto+Slab:700:serif|Roboto+Slab:400:serif')
-
-            link(rel='stylesheet', href='/stylesheets/style.css')
-
-        block scripts
-            script(src='//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.js')
-
-            script(src='//cdnjs.cloudflare.com/ajax/libs/lodash.js/3.9.3/lodash.min.js')
-
-            script(src='//ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.js')
-            script(src='//cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.15/angular-sanitize.js')
-            script(src='//cdnjs.cloudflare.com/ajax/libs/angular-strap/2.2.2/angular-strap.js')
-            script(src='//cdnjs.cloudflare.com/ajax/libs/angular-strap/2.2.2/angular-strap.tpl.min.js')
-
-            script(src='https://cdnjs.cloudflare.com/ajax/libs/angular-smart-table/2.0.3/smart-table.js')
-
-            script(src='/javascripts/controllers/common.js')
-            script(src='/javascripts/dataStructures.js')
-
-            script(src='/javascripts/bundle.js')
-    body.theme-line.body-overlap
-        .wrapper
-            include includes/header
-
-            .container.body-container
-                .main-content
-                    .main-head
-                        block container
-
-            include includes/footer

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8e792605/modules/webconfig/nodejs/views/login.jade
----------------------------------------------------------------------
diff --git a/modules/webconfig/nodejs/views/login.jade b/modules/webconfig/nodejs/views/login.jade
deleted file mode 100644
index 8ad1109..0000000
--- a/modules/webconfig/nodejs/views/login.jade
+++ /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.
-
-.modal.center(role='dialog')
-    .modal-dialog
-        .modal-content
-            .modal-header.header
-                div(id='errors-container')
-                button.close(type='button', ng-click='$hide()', aria-hidden='true') &times;
-                h1.navbar-brand.pull-left
-                    a(href='/') Apache Ignite Web Configurator
-                h4.modal-title Authentication
-                p Log in or register in order to collaborate
-            form.form-horizontal(name='loginForm')
-                .modal-body.row
-                    .col-sm-9.login.col-sm-offset-1
-                        .form-group(ng-show='action == "register"')
-                            label.col-sm-3.control-label Full Name:
-                            .controls.col-sm-9
-                                input.form-control(type='text', ng-model='user_info.username', placeholder='John Smith', focus-me='action=="register"', ng-required='action=="register"')
-                        .form-group
-                            label.col-sm-3.control-label Email:
-                            .controls.col-sm-9
-                                input.form-control(type='email', ng-model='user_info.email', placeholder='you@domain.com', focus-me='action=="login"', required)
-                        .form-group
-                            label.col-sm-3.control-label Password:
-                            .controls.col-sm-9
-                                input.form-control(type='password', ng-model='user_info.password', placeholder='Password', required)
-            .modal-footer
-                a.show-signup.ng-hide(ng-show='action != "login"', ng-click='action = "login";') log in
-                a.show-signup(ng-show="action != 'register'", ng-click='action = "register";') sign up
-                | &nbsp;or&nbsp;
-                button.btn.btn-primary(ng-click='auth(action, user_info)' ng-show='action == "login"' ng-disabled='loginForm.$invalid') Log In
-                button.btn.btn-primary(ng-click='auth(action, user_info)' ng-show='action == "register"' ng-disabled='loginForm.$invalid') Sign Up

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8e792605/modules/webconfig/nodejs/views/persistence.jade
----------------------------------------------------------------------
diff --git a/modules/webconfig/nodejs/views/persistence.jade b/modules/webconfig/nodejs/views/persistence.jade
deleted file mode 100644
index 2d1ba6f..0000000
--- a/modules/webconfig/nodejs/views/persistence.jade
+++ /dev/null
@@ -1,115 +0,0 @@
-//-
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    (the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-         http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-
-extends layout-sidebar
-
-append scripts
-    script(src='/javascripts/controllers/persistences.js')
-
-include includes/controls
-
-mixin dbcheck(chk)
-    input(type='checkbox' style='margin-left: 5px' ng-checked=chk)
-
-block content
-    .docs-header
-        h1 Persistence
-        p Create and configure Ignite persistence.
-        hr
-    .docs-body(ng-controller='persistenceController')
-        .links(ng-hide='persistences.length == 0')
-            table.col-sm-12(st-table='persistences')
-                tbody
-                    tr(ng-repeat='row in persistences track by row._id')
-                        td.col-sm-6(ng-class='{active: row._id == selectedItem._id}')
-                            a(ng-click='selectItem(row)') {{$index + 1}}. {{row.name}}, {{row.database | displayValue:databases:'Database not set'}}
-        button.btn.btn-primary(ng-click='createItem()') Add
-        hr
-        form.form-horizontal(name='inputForm' ng-if='backupItem' novalidate)
-            div(bs-collapse data-start-collapsed='false')
-                .panel.panel-default
-                    .panel-heading
-                        h3
-                            a(bs-collapse-toggle) Connection
-                    .panel-collapse(bs-collapse-target)
-                        .panel-body
-                            .settings-row(ng-repeat='field in connection')
-                                +form-row
-            div(bs-collapse data-start-collapsed='true' ng-hide='data.tables.length == 0')
-                .panel.panel-default
-                    .panel-heading
-                        h3
-                            a(bs-collapse-toggle) Metadata
-                    .panel-collapse(bs-collapse-target)
-                        .panel-body
-                            div(ng-hide='data.tables.length == 0')
-                                table.table-bordered.table-condensed.links-edit-small-padding.col-sm-12(st-table='data.tables')
-                                    thead
-                                        tr
-                                            th.col-sm-3 Schema/Table
-                                            th Key class
-                                            th Value class
-                                    tbody
-                                        tr(ng-repeat='row in data.tables')
-                                            td(colspan='{{row.tableName ? 1 : 3}}')
-                                                div.checkbox(ng-if='!row.tableName')
-                                                    label(ng-click='selectSchema($index)')
-                                                        input(type='checkbox' ng-checked='row.use')
-                                                        | {{row.schemaName}}
-                                                div.checkbox(ng-if='row.tableName')
-                                                    label(style='padding-left: 30px' ng-click='selectTable($index)')
-                                                        input(type='checkbox' ng-checked = 'row.use')
-                                                        | {{row.tableName}}
-                                            td(ng-if='row.tableName')
-                                                a(ng-show='data.curTableIdx != $index' ng-click='selectTable($index)') {{row.keyClass}}
-                                                input.form-control(type='text' ng-show='data.curTableIdx == $index' ng-model='data.curKeyClass' placeholder='Key class full name')
-                                            td(ng-if='row.tableName')
-                                                a(ng-show='data.curTableIdx != $index' ng-click='selectTable($index)') {{row.valueClass}}
-                                                input.form-control(type='text' ng-show='data.curTableIdx == $index' ng-model='data.curValueClass' placeholder='Value class full name')
-                            div(ng-hide='data.curTableIdx < 0')
-                                table.table-bordered.table-condensed.links-edit-small-padding.col-sm-12(st-table='data.tables[data.curTableIdx].fields')
-                                    thead
-                                        tr
-                                            th(style='width:45px') Use
-                                            th(style='width:45px') Key
-                                            th(style='width:45px') Ak
-                                            th DB Name
-                                            th DB Type
-                                            th Java Name
-                                            th Java Type
-                                    tbody
-                                        tr(ng-repeat='row in data.tables[data.curTableIdx].fields')
-                                            td
-                                                +dbcheck('row.use')
-                                            td
-                                                +dbcheck('row.key')
-                                            td
-                                                +dbcheck('row.ak')
-                                            td
-                                                label {{row.dbName}}
-                                            td
-                                                label {{row.dbType}}
-                                            td
-                                                a(ng-show='data.curFieldIdx != $index' ng-click='selectField($index)') {{row.javaName}}
-                                                input.form-control(type='text' ng-show='data.curFieldIdx == $index' ng-model='data.curJavaName' placeholder='Field Java name')
-                                            td
-                                                a(ng-show='data.curFieldIdx != $index' ng-click='selectField($index)') {{row.javaType}}
-                                                input.form-control(type='text' ng-show='data.curFieldIdx == $index' ng-model='data.curJavaType' placeholder='Field Java type')
-        button.btn.btn-primary(ng-disabled='inputForm.$invalid' ng-click='saveItem()') Save
-        button.btn.btn-primary.btn-second(ng-show='backupItem._id' ng-click='removeItem()') Remove
-        button.btn.btn-primary.btn-second(ng-click='reloadMetadata()') Reload
-
-

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8e792605/modules/webconfig/nodejs/views/sql.jade
----------------------------------------------------------------------
diff --git a/modules/webconfig/nodejs/views/sql.jade b/modules/webconfig/nodejs/views/sql.jade
deleted file mode 100644
index a816251..0000000
--- a/modules/webconfig/nodejs/views/sql.jade
+++ /dev/null
@@ -1,23 +0,0 @@
-//-
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    (the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-         http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-
-extends layout
-
-block container
-    .docs-header
-        h1 SQL
-        p Connect to Zeppelin and execute SQL queries.
-        hr

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8e792605/modules/webconfig/nodejs/views/summary.jade
----------------------------------------------------------------------
diff --git a/modules/webconfig/nodejs/views/summary.jade b/modules/webconfig/nodejs/views/summary.jade
deleted file mode 100644
index afbdf4c..0000000
--- a/modules/webconfig/nodejs/views/summary.jade
+++ /dev/null
@@ -1,93 +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.
-
-extends layout-sidebar
-
-append scripts
-    script(src='/javascripts/controllers/summary.js')
-    script(src='//cdnjs.cloudflare.com/ajax/libs/SyntaxHighlighter/3.0.83/scripts/shCore.min.js')    
-    script(src='//cdnjs.cloudflare.com/ajax/libs/SyntaxHighlighter/3.0.83/scripts/shBrushXml.js')    
-    script(src='//cdnjs.cloudflare.com/ajax/libs/SyntaxHighlighter/3.0.83/scripts/shBrushJava.js')    
-    script(src='//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.2/js/bootstrap.min.js')
-        
-append css
-    link(rel='stylesheet', href='http://cdnjs.cloudflare.com/ajax/libs/SyntaxHighlighter/3.0.83/styles/shCore.css')
-    link(rel='stylesheet', href='http://cdnjs.cloudflare.com/ajax/libs/SyntaxHighlighter/3.0.83/styles/shThemeMidnight.css')
-        
-block content
-    .docs-header
-        h1 Summary
-        p Configurations summary.
-        hr
-    .docs-body(ng-controller='summaryController')
-        div(ng-hide='clusters.length > 0')
-            | No cluster configured. You can&nbsp;
-            a(href='clusters') configure
-            |  it.
-        div(ng-hide='clusters.length == 0')
-            p Following cluster configurations are created, you can download its as xml, java code or as docker file
-            .links
-                table.col-sm-12(st-table='clusters')
-                    tbody
-                        tr(ng-repeat='row in clusters track by row._id')
-                            td.col-sm-6(ng-class='{active: row._id == selectedItem._id}')
-                                a(ng-click='selectItem(row)') {{$index + 1}}. {{row.name}}
-            #cfgResult.configBox(ng-show='selectedItem && !generateError && !loading', style='margin-top: 20px')
-                ul.nav.nav-tabs
-                    li(ng-class='{active: cfgLang == "xml"}')
-                        a(href, ng-click='cfgLang = "xml"')
-                            img(src='images/xml.png', width='16px' height='16px')
-                            |  XML
-                    li(ng-class='{active: cfgLang=="java"}')
-                        a(href, ng-click='cfgLang = "java"')
-                            img(src='images/java.png', width='16px' height='16px')
-                            |  Java
-                    li(ng-class="{active: cfgLang=='docker'}")
-                        a(href, ng-click='cfgLang = "docker"')
-                            img(src='images/docker.png', width='16px' height='16px')
-                            |  Dockerfile
-
-                div(style='padding-top: 10px')        
-                    #xmlResult(ng-show="cfgLang == 'xml'")
-                        #xmlResultDiv
-                
-                    #javaResult(ng-show="cfgLang == 'java'")
-                        label
-                            input(type='checkbox', ng-model="generateJavaClass")
-                            | generate java class.
-
-                        #javaResultDiv
-                    
-                    #dockerResult(ng-show="cfgLang == 'docker'")
-                        p
-                            a(href='https://docs.docker.com/reference/builder') Dockerfile
-                            | is a text file with instructions to create Docker image. To build image you have to
-                            | store following Docker file with your xml ignite configurations to the same directory. 
-                        
-                        form.form-horizontal
-                            .form-group
-                                label.control-label.col-sm-3(for='os') Operation System
-                                .col-sm-6
-                                    input#os.form-control(type='text', ng-model='dockerArg.os', placeholder='debian:8')
-                                
-                            .form-group
-                                | Download as 
-                                a(href, ng-click='downloadDocker()') file
-                                
-                                textarea.form-control(rows=30, readonly=true)
-                                    | {{ dockerFile() }}
-
-                div(ng-show='generateError') {{generateError}}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8e792605/modules/webconfig/nodejs/views/templates/select.jade
----------------------------------------------------------------------
diff --git a/modules/webconfig/nodejs/views/templates/select.jade b/modules/webconfig/nodejs/views/templates/select.jade
deleted file mode 100644
index 4a39795..0000000
--- a/modules/webconfig/nodejs/views/templates/select.jade
+++ /dev/null
@@ -1,26 +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.
-
-ul.select.dropdown-menu(tabindex='-1', ng-show='$isVisible()', role='select')
-    li(role='presentation', ng-repeat='match in $matches')
-        hr(ng-if='!match.value' style='margin: 5px 0')
-        a(style='cursor: default;', role='menuitem', tabindex='-1', ng-class='{active: $isActive($index)}' ng-click='$select($index, $event)')
-            i.pull-right(class='{{$iconCheckmark}}', ng-if='$isMultiple && $isActive($index)' ng-class='{active: $isActive($index)}' style='margin-left: 15px')
-            span(ng-bind='match.label')
-    li(ng-if='$showAllNoneButtons || ($isMultiple && $matches.length > 5)')
-        hr(style='margin: 5px 0')
-        a(ng-click='$selectAll()') {{$allText}}
-        a(ng-click='$selectNone()') {{$noneText}}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8e792605/modules/webconfig/pom.xml
----------------------------------------------------------------------
diff --git a/modules/webconfig/pom.xml b/modules/webconfig/pom.xml
deleted file mode 100644
index 668733a..0000000
--- a/modules/webconfig/pom.xml
+++ /dev/null
@@ -1,172 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-
-<!--
-    POM file.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-
-    <parent>
-        <groupId>org.apache.ignite</groupId>
-        <artifactId>ignite-parent</artifactId>
-        <version>1</version>
-        <relativePath>../../parent</relativePath>
-    </parent>
-
-    <artifactId>ignite-webconfig</artifactId>
-    <version>1.1.0-SNAPSHOT</version>
-    <packaging>war</packaging>
-
-    <properties>
-        <jetty.version>8.1.16.v20140903</jetty.version>
-    </properties>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.ignite</groupId>
-            <artifactId>ignite-core</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.mongodb</groupId>
-            <artifactId>mongo-java-driver</artifactId>
-            <version>2.12.2</version>
-        </dependency>
-        <!--<dependency>-->
-            <!--<groupId>javax.servlet</groupId>-->
-            <!--<artifactId>servlet-api</artifactId>-->
-            <!--<version>2.5</version>-->
-        <!--</dependency>-->
-        <dependency>
-            <groupId>org.springframework</groupId>
-            <artifactId>spring-web</artifactId>
-            <version>3.2.1.RELEASE</version>
-        </dependency>
-        <dependency>
-            <groupId>org.springframework</groupId>
-            <artifactId>spring-webmvc</artifactId>
-            <version>3.2.1.RELEASE</version>
-        </dependency>
-        <dependency>
-            <groupId>org.springframework.security</groupId>
-            <artifactId>spring-security-core</artifactId>
-            <version>3.2.1.RELEASE</version>
-        </dependency>
-        <dependency>
-            <groupId>org.springframework.security</groupId>
-            <artifactId>spring-security-web</artifactId>
-            <version>3.2.1.RELEASE</version>
-        </dependency>
-        <dependency>
-            <groupId>org.springframework.security</groupId>
-            <artifactId>spring-security-config</artifactId>
-            <version>3.2.1.RELEASE</version>
-        </dependency>
-        <dependency>
-            <groupId>org.eclipse.jetty</groupId>
-            <artifactId>jetty-server</artifactId>
-            <version>${jetty.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.eclipse.jetty</groupId>
-            <artifactId>jetty-webapp</artifactId>
-            <version>${jetty.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.eclipse.jetty</groupId>
-            <artifactId>jetty-jsp</artifactId>
-            <version>${jetty.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.codehaus.jackson</groupId>
-            <artifactId>jackson-mapper-asl</artifactId>
-            <version>1.8.9</version>
-        </dependency>
-        <dependency>
-            <groupId>org.mongodb.morphia</groupId>
-            <artifactId>morphia</artifactId>
-            <version>0.108</version>
-        </dependency>
-        <dependency>
-            <groupId>commons-logging</groupId>
-            <artifactId>commons-logging</artifactId>
-            <version>1.1.3</version>
-            <scope>runtime</scope>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <resources>
-            <resource>
-                <directory>src/main/java</directory>
-                <excludes>
-                    <exclude>**/*.java</exclude>
-                </excludes>
-            </resource>
-        </resources>
-
-        <testResources>
-            <testResource>
-                <directory>src/test/java</directory>
-                <excludes>
-                    <exclude>**/*.java</exclude>
-                </excludes>
-            </testResource>
-        </testResources>
-
-        <plugins>
-            <plugin>
-                <groupId>org.apache.tomcat.maven</groupId>
-                <artifactId>tomcat6-maven-plugin</artifactId>
-                <version>2.2</version>
-                <configuration>
-                    <!--<tomcatUsers>tomcat/conf/tomcat-users.xml</tomcatUsers>-->
-                    <!--<contextFile>tomcat/conf/context.xml</contextFile>-->
-                </configuration>
-                <executions>
-                    <execution>
-                        <id>tomcat-run</id>
-                        <goals>
-                            <goal>run-war-only</goal>
-                        </goals>
-                        <phase>pre-integration-test</phase>
-                        <configuration>
-                            <fork>true</fork>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>tomcat-shutdown</id>
-                        <goals>
-                            <goal>shutdown</goal>
-                        </goals>
-                        <phase>post-integration-test</phase>
-                    </execution>
-                </executions>
-                <dependencies>
-                    <dependency>
-                        <groupId>javax.servlet</groupId>
-                        <artifactId>javax.servlet-api</artifactId>
-                        <version>3.0.1</version>
-                    </dependency>
-                </dependencies>
-            </plugin>
-        </plugins>
-    </build>
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8e792605/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/auth/AjaxAuthenticationHandler.java
----------------------------------------------------------------------
diff --git a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/auth/AjaxAuthenticationHandler.java b/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/auth/AjaxAuthenticationHandler.java
deleted file mode 100644
index 55d9648..0000000
--- a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/auth/AjaxAuthenticationHandler.java
+++ /dev/null
@@ -1,80 +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.ignite.webconfig.server.auth;
-
-import org.springframework.security.core.*;
-import org.springframework.security.web.authentication.*;
-
-import javax.servlet.*;
-import javax.servlet.http.*;
-import java.io.*;
-
-/**
- *
- */
-public class AjaxAuthenticationHandler implements AuthenticationSuccessHandler, AuthenticationFailureHandler {
-    /** {@inheritDoc} */
-    @Override public void onAuthenticationFailure(
-        HttpServletRequest req,
-        HttpServletResponse res,
-        AuthenticationException e
-    ) throws IOException, ServletException {
-        res.setStatus(HttpServletResponse.SC_OK);
-        res.setContentType("application/json");
-        writeResponse(res.getOutputStream(), null, e);
-    }
-
-    /** {@inheritDoc} */
-    @Override public void onAuthenticationSuccess(
-        HttpServletRequest req,
-        HttpServletResponse res,
-        Authentication authentication
-    ) throws IOException, ServletException {
-        res.setStatus(HttpServletResponse.SC_OK);
-        res.setContentType("application/json");
-        writeResponse(res.getOutputStream(), authentication, null);
-    }
-
-    /**
-     * @param out Output stream.
-     * @param auth Authentication.
-     * @param e Error, if any.
-     * @throws IOException If failed to write response.
-     */
-    private void writeResponse(OutputStream out, Authentication auth, AuthenticationException e) throws IOException {
-        try {
-            PrintWriter pw = new PrintWriter(new OutputStreamWriter(out));
-
-            pw.write("{\"success\": ");
-            pw.write(auth == null ? "false" : "true");
-
-            if (e != null) {
-                pw.write(", \"err\": \"");
-                pw.write(e.getMessage());
-                pw.write("\"");
-            }
-
-            pw.write("}");
-
-            pw.flush();
-        }
-        finally {
-            out.close();
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8e792605/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/auth/AuthenticationProviderImpl.java
----------------------------------------------------------------------
diff --git a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/auth/AuthenticationProviderImpl.java b/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/auth/AuthenticationProviderImpl.java
deleted file mode 100644
index 0a44220..0000000
--- a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/auth/AuthenticationProviderImpl.java
+++ /dev/null
@@ -1,62 +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.ignite.webconfig.server.auth;
-
-import org.apache.ignite.webconfig.server.dao.*;
-import org.apache.ignite.webconfig.server.model.*;
-import org.springframework.security.authentication.*;
-import org.springframework.security.core.*;
-
-/**
- *
- */
-public class AuthenticationProviderImpl implements AuthenticationProvider {
-    /** */
-    private UserDao userDao;
-
-    /**
-     * @param userDao User DAO.
-     */
-    public void setUserDao(UserDao userDao) {
-        this.userDao = userDao;
-    }
-
-    /** {@inheritDoc} */
-    @Override public Authentication authenticate(Authentication authentication) throws AuthenticationException {
-        String username = (String) authentication.getPrincipal();
-        String password = (String) authentication.getCredentials();
-
-        User user = userDao.findUser(username, password);
-
-        if (user == null)
-            throw new BadCredentialsException("Invalid username or password: " + username);
-
-        UserAuthentication customAuthentication = new UserAuthentication("ROLE_USER", authentication);
-
-        customAuthentication.user(user);
-
-        customAuthentication.setAuthenticated(true);
-
-        return customAuthentication;
-    }
-
-    /** {@inheritDoc} */
-    @Override public boolean supports(Class<?> authentication) {
-        return UsernamePasswordAuthenticationToken.class.isAssignableFrom(authentication);
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8e792605/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/auth/UserAuthentication.java
----------------------------------------------------------------------
diff --git a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/auth/UserAuthentication.java b/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/auth/UserAuthentication.java
deleted file mode 100644
index 8310447..0000000
--- a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/auth/UserAuthentication.java
+++ /dev/null
@@ -1,103 +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.ignite.webconfig.server.auth;
-
-import java.util.*;
-
-import org.apache.ignite.webconfig.server.model.*;
-import org.springframework.security.core.Authentication;
-import org.springframework.security.core.GrantedAuthority;
-import org.springframework.security.core.authority.*;
-
-/**
- *
- */
-public class UserAuthentication implements Authentication {
-    /** */
-    private static final long serialVersionUID = 0L;
-
-    /** */
-    private boolean authenticated;
-
-    /** */
-    private Collection<GrantedAuthority> grantedAuthorities;
-
-    /** */
-    private Authentication authentication;
-
-    /** User. */
-    private User user;
-
-    /**
-     * @param role Role.
-     * @param authentication Authentication.
-     */
-    public UserAuthentication(String role, Authentication authentication) {
-        this.grantedAuthorities = Collections.<GrantedAuthority>singletonList(new SimpleGrantedAuthority(role));
-        this.authentication = authentication;
-    }
-
-    /** {@inheritDoc} */
-    @Override public Collection<GrantedAuthority> getAuthorities() {
-        return grantedAuthorities;
-    }
-
-    /** {@inheritDoc} */
-    @Override public Object getCredentials() {
-        return authentication.getCredentials();
-    }
-
-    /** {@inheritDoc} */
-    @Override public Object getDetails() {
-        return authentication.getDetails();
-    }
-
-    /** {@inheritDoc} */
-    @Override public Object getPrincipal() {
-        return authentication.getPrincipal();
-    }
-
-    /** {@inheritDoc} */
-    @Override public boolean isAuthenticated() {
-        return authenticated;
-    }
-
-    /** {@inheritDoc} */
-    @Override public void setAuthenticated(boolean authenticated) throws IllegalArgumentException {
-        this.authenticated = authenticated;
-    }
-
-    /** {@inheritDoc} */
-    @Override public String getName() {
-        return this.getClass().getSimpleName();
-    }
-
-    /**
-     * @return Authenticated user.
-     */
-    public User user() {
-        return user;
-    }
-
-    /**
-     * @param user User.
-     */
-    public void user(User user) {
-        this.user = user;
-    }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8e792605/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/controller/ClusterConfigurationController.java
----------------------------------------------------------------------
diff --git a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/controller/ClusterConfigurationController.java b/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/controller/ClusterConfigurationController.java
deleted file mode 100644
index 008b152..0000000
--- a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/controller/ClusterConfigurationController.java
+++ /dev/null
@@ -1,57 +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.ignite.webconfig.server.controller;
-
-import org.apache.ignite.webconfig.server.dao.*;
-import org.apache.ignite.webconfig.server.model.*;
-import org.springframework.beans.factory.annotation.*;
-import org.springframework.stereotype.*;
-import org.springframework.web.bind.annotation.*;
-
-/**
- *
- */
-@Controller
-@RequestMapping("/configuration")
-public class ClusterConfigurationController {
-    /** Configuration DAO. */
-    @Autowired
-    private ClusterConfigurationDao cfgDao;
-
-    /**
-     * @param cfgDao Configuration DAO.
-     */
-    public void setCfgDao(ClusterConfigurationDao cfgDao) {
-        this.cfgDao = cfgDao;
-    }
-
-    /**
-     * @param cfg Configuration to save.
-     * @return Response body.
-     */
-    @ResponseBody
-    @RequestMapping(value = "save.do", method = RequestMethod.POST)
-    public JsonResponseBean saveConfiguration(@RequestBody ClusterConfiguration cfg) {
-        cfg = cfgDao.saveConfiguration(cfg);
-
-        JsonResponseBean res = new JsonResponseBean(true, null);
-
-        res.addField("cfg", cfg);
-
-        return res;
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8e792605/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/controller/JsonResponseBean.java
----------------------------------------------------------------------
diff --git a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/controller/JsonResponseBean.java b/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/controller/JsonResponseBean.java
deleted file mode 100644
index 36eb993..0000000
--- a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/controller/JsonResponseBean.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.ignite.webconfig.server.controller;
-
-import org.codehaus.jackson.annotate.*;
-
-import java.util.*;
-
-/**
- *
- */
-public class JsonResponseBean {
-    /** */
-    @JsonProperty("success")
-    private boolean success;
-
-    /** */
-    @JsonProperty("err")
-    private String err;
-
-    /** */
-    @JsonProperty("data")
-    private Map<String, Object> fields;
-
-    /**
-     * @param success Success flag.
-     * @param err Error message.
-     */
-    public JsonResponseBean(boolean success, String err) {
-        this.success = success;
-        this.err = err;
-    }
-
-    /**
-     * @param key Key.
-     * @param val Value.
-     */
-    public void addField(String key, Object val) {
-        if (fields == null)
-            fields = new HashMap<>();
-
-        fields.put(key, val);
-    }
-
-    /**
-     * @return JSON string.
-     */
-    public String toJson() {
-        StringBuilder sb = new StringBuilder("{\"success\":").append(success)
-                .append(", \"err\":\"").append(err).append("\"");
-
-        if (fields != null) {
-            for (Map.Entry<String, Object> entry : fields.entrySet())
-                sb.append(", \"").append(entry.getKey()).append("\":").append(entry.getValue());
-        }
-
-        sb.append("}");
-
-        return sb.toString();
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8e792605/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/controller/UsersController.java
----------------------------------------------------------------------
diff --git a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/controller/UsersController.java b/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/controller/UsersController.java
deleted file mode 100644
index 71444d7..0000000
--- a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/controller/UsersController.java
+++ /dev/null
@@ -1,128 +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.ignite.webconfig.server.controller;
-
-import org.apache.ignite.webconfig.server.auth.*;
-import org.apache.ignite.webconfig.server.dao.*;
-import org.apache.ignite.webconfig.server.model.*;
-import org.springframework.beans.factory.annotation.*;
-import org.springframework.http.*;
-import org.springframework.security.authentication.*;
-import org.springframework.security.core.*;
-import org.springframework.security.core.context.*;
-import org.springframework.security.web.authentication.*;
-import org.springframework.stereotype.*;
-import org.springframework.web.bind.annotation.*;
-
-import javax.servlet.http.*;
-
-/**
- *
- */
-@Controller
-@RequestMapping("/users")
-public class UsersController {
-    /** */
-    @Autowired
-    private UserDao userDao;
-
-    /** */
-    @Autowired
-    private AuthenticationManager authenticationManager;
-
-    /**
-     * @param userDao User DAO.
-     */
-    public void setUserDao(UserDao userDao) {
-        this.userDao = userDao;
-    }
-
-    /**
-     * @param authenticationManager Authentication manager.
-     */
-    public void setAuthenticationManager(AuthenticationManager authenticationManager) {
-        this.authenticationManager = authenticationManager;
-    }
-
-    /**
-     * @param login User name.
-     * @param password User password.
-     * @param confirmPassword Confirmed user password.
-     * @return Response body.
-     */
-    @ResponseBody
-    @RequestMapping(value = "register.do", method = RequestMethod.POST)
-    public ResponseEntity<String> registerUser(
-        @RequestParam("login") String login,
-        @RequestParam("password") String password,
-        @RequestParam("confirmPassword") String confirmPassword,
-        HttpServletRequest request,
-        HttpServletResponse response) {
-        if (!password.equals(confirmPassword))
-            return new ResponseEntity<>("Passwords do not match.", HttpStatus.BAD_REQUEST);
-
-        User user = new User(login);
-
-        user = userDao.createUser(user, password);
-
-        JsonResponseBean res = new JsonResponseBean(user != null, user == null ? "User with the given login already exists" : "");
-
-        if (user != null) {
-            String username = user.login();
-
-            UsernamePasswordAuthenticationToken token = new UsernamePasswordAuthenticationToken(username, password);
-
-            // generate session if one doesn't exist
-            request.getSession();
-
-            token.setDetails(new WebAuthenticationDetails(request));
-
-            Authentication authenticatedUser = authenticationManager.authenticate(token);
-
-            SecurityContextHolder.getContext().setAuthentication(authenticatedUser);
-
-            res.addField("user", user.toJson());
-        }
-
-        HttpHeaders hdrs = new HttpHeaders();
-
-        hdrs.setContentType(MediaType.APPLICATION_JSON);
-
-        return new ResponseEntity<>(res.toJson(), hdrs, HttpStatus.OK);
-    }
-
-    /**
-     * @return Response body.
-     */
-    @ResponseBody
-    @RequestMapping(value = "current.do", method = RequestMethod.POST)
-    public ResponseEntity<String> currentUser() {
-        UserAuthentication auth = (UserAuthentication) SecurityContextHolder.getContext().getAuthentication();
-
-        JsonResponseBean res = new JsonResponseBean(auth != null, auth == null ? "Not authenticated" : "");
-
-        if (auth != null)
-            res.addField("user", auth.user().toJson());
-
-        HttpHeaders hdrs = new HttpHeaders();
-
-        hdrs.setContentType(MediaType.APPLICATION_JSON);
-
-        return new ResponseEntity<>(res.toJson(), hdrs, HttpStatus.OK);
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8e792605/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/dao/ClusterConfigurationDao.java
----------------------------------------------------------------------
diff --git a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/dao/ClusterConfigurationDao.java b/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/dao/ClusterConfigurationDao.java
deleted file mode 100644
index 7ad029e..0000000
--- a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/dao/ClusterConfigurationDao.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.ignite.webconfig.server.dao;
-
-import org.apache.ignite.webconfig.server.model.*;
-
-import java.util.*;
-
-/**
- *
- */
-public interface ClusterConfigurationDao {
-    /**
-     * @return Gets collection of all saved configurations.
-     */
-    public Collection<ClusterConfiguration> allConfigurations();
-
-    /**
-     * @param cfg Cluster configuration to save.
-     */
-    public ClusterConfiguration saveConfiguration(ClusterConfiguration cfg);
-
-    /**
-     * @param cfg Cluster configuration to remove.
-     */
-    public void deleteConfiguration(ClusterConfiguration cfg);
-}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8e792605/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/dao/UserDao.java
----------------------------------------------------------------------
diff --git a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/dao/UserDao.java b/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/dao/UserDao.java
deleted file mode 100644
index b5a5c43..0000000
--- a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/dao/UserDao.java
+++ /dev/null
@@ -1,45 +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.ignite.webconfig.server.dao;
-
-import org.apache.ignite.webconfig.server.model.*;
-
-import java.util.*;
-
-/**
- *
- */
-public interface UserDao {
-    /**
-     * @param username Username.
-     * @param password Password.
-     * @return Found user or {@code null}.
-     */
-    public User findUser(String username, String password);
-
-    /**
-     * @param user User to create.
-     * @return Created user.
-     */
-    public User createUser(User user, String password);
-
-    /**
-     * @return Collection of all users.
-     */
-    public Collection<User> allUsers();
-}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8e792605/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/dao/impl/MongoClusterConfigurationDaoImpl.java
----------------------------------------------------------------------
diff --git a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/dao/impl/MongoClusterConfigurationDaoImpl.java b/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/dao/impl/MongoClusterConfigurationDaoImpl.java
deleted file mode 100644
index dd4f92e..0000000
--- a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/dao/impl/MongoClusterConfigurationDaoImpl.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.ignite.webconfig.server.dao.impl;
-
-import org.apache.ignite.webconfig.server.dao.*;
-import org.apache.ignite.webconfig.server.model.*;
-
-import java.util.*;
-
-/**
- *
- */
-public class MongoClusterConfigurationDaoImpl implements ClusterConfigurationDao {
-    /** Morphia spring bean. */
-    private MorphiaSpringBean morphiaSpringBean;
-
-    /**
-     * @param morphiaSpringBean Morphia spring bean.
-     */
-    public void setMorphiaSpringBean(MorphiaSpringBean morphiaSpringBean) {
-        this.morphiaSpringBean = morphiaSpringBean;
-    }
-
-    /** {@inheritDoc} */
-    @Override public Collection<ClusterConfiguration> allConfigurations() {
-        return morphiaSpringBean.datastore().find(ClusterConfiguration.class).asList();
-    }
-
-    /** {@inheritDoc} */
-    @Override public ClusterConfiguration saveConfiguration(ClusterConfiguration cfg) {
-        morphiaSpringBean.datastore().save(cfg);
-
-        return cfg;
-    }
-
-    /** {@inheritDoc} */
-    @Override public void deleteConfiguration(ClusterConfiguration cfg) {
-        morphiaSpringBean.datastore().delete(cfg);
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8e792605/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/dao/impl/MongoSpringBean.java
----------------------------------------------------------------------
diff --git a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/dao/impl/MongoSpringBean.java b/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/dao/impl/MongoSpringBean.java
deleted file mode 100644
index 8c7d8cf..0000000
--- a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/dao/impl/MongoSpringBean.java
+++ /dev/null
@@ -1,103 +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.ignite.webconfig.server.dao.impl;
-
-import com.mongodb.*;
-import org.springframework.beans.factory.*;
-
-/**
- * Utility class providing connection to mongo DB.
- */
-public class MongoSpringBean implements InitializingBean {
-    /** */
-    private String host;
-
-    /** */
-    private int port;
-
-    /** */
-    private String dbName;
-
-    /** Mongo client. */
-    private MongoClient client;
-
-    /** DB instance. */
-    private DB db;
-
-    /** {@inheritDoc} */
-    @Override public void afterPropertiesSet() throws Exception {
-        client = port == 0 ? new MongoClient(host) : new MongoClient(host, port);
-
-        db = client.getDB(dbName);
-    }
-
-    /**
-     * @return Host.
-     */
-    public String getHost() {
-        return host;
-    }
-
-    /**
-     * @param host Host.
-     */
-    public void setHost(String host) {
-        this.host = host;
-    }
-
-    /**
-     * @return Port.
-     */
-    public int getPort() {
-        return port;
-    }
-
-    /**
-     * @param port Port.
-     */
-    public void setPort(int port) {
-        this.port = port;
-    }
-
-    /**
-     * @return DB name.
-     */
-    public String getDbName() {
-        return dbName;
-    }
-
-    /**
-     * @param dbName DB name.
-     */
-    public void setDbName(String dbName) {
-        this.dbName = dbName;
-    }
-
-    /**
-     * @return Mongo client.
-     */
-    public MongoClient client() {
-        return client;
-    }
-
-    /**
-     * @return Database instance.
-     */
-    public DB db() {
-        return db;
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8e792605/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/dao/impl/MongoUserDaoImpl.java
----------------------------------------------------------------------
diff --git a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/dao/impl/MongoUserDaoImpl.java b/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/dao/impl/MongoUserDaoImpl.java
deleted file mode 100644
index 0a9a701..0000000
--- a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/dao/impl/MongoUserDaoImpl.java
+++ /dev/null
@@ -1,135 +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.ignite.webconfig.server.dao.impl;
-
-import com.mongodb.*;
-import org.apache.ignite.webconfig.server.dao.*;
-import org.apache.ignite.webconfig.server.model.*;
-import org.bson.types.*;
-import org.springframework.beans.factory.*;
-
-import java.util.*;
-
-/**
- *
- */
-public class MongoUserDaoImpl implements UserDao, InitializingBean {
-    /** */
-    private MongoSpringBean mongo;
-
-    /**
-     * @param mongo Mongo spring bean.
-     */
-    public void setMongo(MongoSpringBean mongo) {
-        this.mongo = mongo;
-    }
-
-    /** {@inheritDoc} */
-    @Override public void afterPropertiesSet() throws Exception {
-        try {
-            mongo.db().getCollection("users").createIndex(new BasicDBObject("login", 1), new BasicDBObject("unique", true));
-        }
-        catch (Exception ignored) {
-            // No-op.
-        }
-    }
-
-    /** {@inheritDoc} */
-    @Override public User findUser(String login, String password) {
-        DBCollection users = db().getCollection("users");
-
-        DBObject search = new BasicDBObject("login", login).append("pass", password);
-
-        try (DBCursor cur = users.find(search)) {
-            if (cur.hasNext()) {
-                DBObject user = cur.next();
-
-                return userFromDbObject(user);
-            }
-        }
-
-        return null;
-    }
-
-    /** {@inheritDoc} */
-    @Override public User createUser(User user, String password) {
-        try {
-            BasicDBObject usr = new BasicDBObject("login", user.login()).append("pass", password);
-
-            db().getCollection("users").insert(usr);
-
-            ObjectId id = (ObjectId)usr.get("_id");
-
-            if (id != null)
-                user.id(id.toHexString());
-
-            return user;
-        }
-        catch (DuplicateKeyException e) {
-            return null;
-        }
-    }
-
-    /** {@inheritDoc} */
-    @Override public Collection<User> allUsers() {
-        Collection<User> res = new ArrayList<>();
-
-        try (DBCursor cur = db().getCollection("users").find()) {
-            while (cur.hasNext()) {
-                DBObject usrObj = cur.next();
-
-                res.add(userFromDbObject(usrObj));
-            }
-        }
-
-        return res;
-    }
-
-    /**
-     * @return Mongo database.
-     */
-    private DB db() {
-        return mongo.db();
-    }
-
-    /**
-     * @param obj Object to build user from.
-     * @return User.
-     */
-    private User userFromDbObject(DBObject obj) {
-        User usr = new User((String)obj.get("login"));
-
-        ObjectId id = (ObjectId)obj.get("_id");
-
-        if (id != null)
-            usr.id(id.toHexString());
-
-        return usr;
-    }
-
-    public static void main(String[] args) throws Exception {
-        MongoSpringBean bean = new MongoSpringBean();
-
-        bean.setHost("localhost");
-        bean.setDbName("igniteweb");
-
-        bean.afterPropertiesSet();
-
-//        bean.db().getCollection("users").dropIndexes();
-        bean.db().getCollection("users").remove(new BasicDBObject());
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8e792605/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/dao/impl/MorphiaSpringBean.java
----------------------------------------------------------------------
diff --git a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/dao/impl/MorphiaSpringBean.java b/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/dao/impl/MorphiaSpringBean.java
deleted file mode 100644
index a341339..0000000
--- a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/dao/impl/MorphiaSpringBean.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.ignite.webconfig.server.dao.impl;
-
-import org.apache.ignite.webconfig.server.model.*;
-import org.mongodb.morphia.*;
-import org.springframework.beans.factory.*;
-
-/**
- *
- */
-public class MorphiaSpringBean implements InitializingBean {
-    /** Morphia instance. */
-    private Morphia morphia;
-
-    /** Mongo spring bean. */
-    private MongoSpringBean mongo;
-
-    /** Datastore instance. */
-    private Datastore datastore;
-
-    /**
-     * @param mongo Mongo bean.
-     */
-    public void setMongo(MongoSpringBean mongo) {
-        this.mongo = mongo;
-    }
-
-    /** {@inheritDoc} */
-    @Override public void afterPropertiesSet() throws Exception {
-        morphia = new Morphia();
-
-        morphia.mapPackage(User.class.getPackage().getName());
-
-        datastore = morphia.createDatastore(mongo.client(), mongo.getDbName());
-    }
-
-    /**
-     * @return Datastore.
-     */
-    public Datastore datastore() {
-        return datastore;
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8e792605/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/launcher/Launcher.java
----------------------------------------------------------------------
diff --git a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/launcher/Launcher.java b/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/launcher/Launcher.java
deleted file mode 100644
index 6b8a085..0000000
--- a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/launcher/Launcher.java
+++ /dev/null
@@ -1,44 +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.ignite.webconfig.server.launcher;
-
-import org.eclipse.jetty.server.*;
-import org.eclipse.jetty.server.nio.*;
-import org.eclipse.jetty.webapp.*;
-
-/**
- *
- */
-public class Launcher {
-    public static void main(String[] args) throws Exception {
-        Server srv = new Server();
-
-        SelectChannelConnector connector = new SelectChannelConnector();
-
-        connector.setPort(9999);
-
-        srv.addConnector(connector);
-
-        WebAppContext ctx = new WebAppContext("src/main/webapp", "/");
-
-        srv.setHandler(ctx);
-
-        srv.start();
-        srv.join();
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8e792605/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/model/ClusterConfiguration.java
----------------------------------------------------------------------
diff --git a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/model/ClusterConfiguration.java b/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/model/ClusterConfiguration.java
deleted file mode 100644
index 94c57e3..0000000
--- a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/model/ClusterConfiguration.java
+++ /dev/null
@@ -1,117 +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.ignite.webconfig.server.model;
-
-import org.bson.types.*;
-import org.codehaus.jackson.annotate.*;
-import org.mongodb.morphia.annotations.*;
-
-/**
- *
- */
-@Entity("clusterConfiguration")
-public class ClusterConfiguration {
-    /** Object ID. */
-    @Id private ObjectId id;
-
-    /** */
-    @JsonProperty("idStr")
-    @Transient private String idStr;
-
-    /** Cluster name. */
-    @JsonProperty("name")
-    private String name;
-
-    /** Max memory. */
-    @JsonProperty("maxMemory")
-    private long maxMemory;
-
-    /**
-     * @return Object ID.
-     */
-    public String id() {
-        return idStr;
-    }
-
-    /**
-     * @param idStr ID string.
-     */
-    public void id(String idStr) {
-        this.idStr = idStr;
-    }
-
-    /**
-     * @return Name.
-     */
-    public String name() {
-        return name;
-    }
-
-    /**
-     * @param name Name.
-     */
-    public void name(String name) {
-        this.name = name;
-    }
-
-    /**
-     * @return Max memory.
-     */
-    public long maxMemory() {
-        return maxMemory;
-    }
-
-    /**
-     * @param maxMemory Max memory.
-     */
-    public void maxMemory(long maxMemory) {
-        this.maxMemory = maxMemory;
-    }
-
-    /**
-     * Pre-persist callback.
-     */
-    @PrePersist
-    public void prePersist() {
-        if (id == null && idStr != null)
-            id = new ObjectId(idStr);
-    }
-
-    /**
-     * Post persist callback.
-     */
-    @PostPersist
-    public void postPersist() {
-        initIdStr();
-    }
-
-    /**
-     * Post-load callback.
-     */
-    @PostLoad
-    public void postLoad() {
-        initIdStr();
-    }
-
-    /**
-     *
-     */
-    private void initIdStr() {
-        if (idStr == null && id != null)
-            idStr = id.toHexString();
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8e792605/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/model/User.java
----------------------------------------------------------------------
diff --git a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/model/User.java b/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/model/User.java
deleted file mode 100644
index 806575c..0000000
--- a/modules/webconfig/src/main/java/org/apache/ignite/webconfig/server/model/User.java
+++ /dev/null
@@ -1,104 +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.ignite.webconfig.server.model;
-
-/**
- *
- */
-public class User {
-    /** */
-    private String id;
-
-    /** */
-    private String login;
-
-    /** */
-    private String name;
-
-    /**
-     *
-     */
-    public User() {
-        // No-op.
-    }
-
-    /**
-     * @param login Login.
-     */
-    public User(String login) {
-        this.login = login;
-    }
-
-    /**
-     * @return ID.
-     */
-    public String id() {
-        return id;
-    }
-
-    /**
-     * @param id ID.
-     */
-    public void id(String id) {
-        this.id = id;
-    }
-
-    /**
-     * @return User login.
-     */
-    public String login() {
-        return login;
-    }
-
-    /**
-     * @param login Login.
-     */
-    public void login(String login) {
-        this.login = login;
-    }
-
-    /**
-     * @return User name.
-     */
-    public String name() {
-        return name;
-    }
-
-    /**
-     * @param name User name.
-     */
-    public void name(String name) {
-        this.name = name;
-    }
-
-    /**
-     * @return JSON user representation.
-     */
-    public String toJson() {
-        StringBuilder sb = new StringBuilder("{\"id\":\"").append(id)
-            .append("\", \"login\":\"").append(login)
-            .append("\", \"name\":");
-        if (name == null)
-            sb.append("null");
-        else
-            sb.append("\"").append(name).append("\"");
-
-        sb.append("}");
-
-        return sb.toString();
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8e792605/modules/webconfig/src/main/webapp/WEB-INF/applicationContext.xml
----------------------------------------------------------------------
diff --git a/modules/webconfig/src/main/webapp/WEB-INF/applicationContext.xml b/modules/webconfig/src/main/webapp/WEB-INF/applicationContext.xml
deleted file mode 100644
index 9434915..0000000
--- a/modules/webconfig/src/main/webapp/WEB-INF/applicationContext.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<beans:beans xmlns="http://www.springframework.org/schema/security"
-             xmlns:beans="http://www.springframework.org/schema/beans"
-             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mvc="http://www.springframework.org/schema/mvc"
-             xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
-                                 http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.2.xsd http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd">
-    <http auto-config="true">
-        <intercept-url pattern="/login.html" access="IS_AUTHENTICATED_ANONYMOUSLY"/>
-        <intercept-url pattern="/users/*.do" access="IS_AUTHENTICATED_ANONYMOUSLY"/>
-
-        <intercept-url pattern="/**/*.html" access="ROLE_USER"/>
-
-        <intercept-url pattern="/**" access="IS_AUTHENTICATED_ANONYMOUSLY"/>
-
-        <form-login
-            login-page="/login.html"
-            default-target-url="/home.html"
-            login-processing-url="/login.do"
-
-            username-parameter="login"
-            password-parameter="password"
-            authentication-success-handler-ref="authHandler"
-            authentication-failure-handler-ref="authHandler"/>
-        <logout logout-success-url="/login.html" logout-url="/logout.do"/>
-    </http>
-
-    <beans:bean id="authHandler" class="org.apache.ignite.webconfig.server.auth.AjaxAuthenticationHandler"/>
-
-    <beans:bean id="customAuthenticationProvider" class="org.apache.ignite.webconfig.server.auth.AuthenticationProviderImpl">
-        <beans:property name="userDao" ref="userDao"/>
-    </beans:bean>
-
-    <beans:bean id="userDao" class="org.apache.ignite.webconfig.server.dao.impl.MongoUserDaoImpl">
-        <beans:property name="mongo" ref="mongo"/>
-    </beans:bean>
-
-    <beans:bean id="cfgDao" class="org.apache.ignite.webconfig.server.dao.impl.MongoClusterConfigurationDaoImpl">
-        <beans:property name="morphiaSpringBean" ref="morphia"/>
-    </beans:bean>
-
-    <beans:bean id="mongo" class="org.apache.ignite.webconfig.server.dao.impl.MongoSpringBean">
-        <beans:property name="host" value="localhost"/>
-        <beans:property name="dbName" value="igniteweb"/>
-    </beans:bean>
-
-    <beans:bean id="morphia" class="org.apache.ignite.webconfig.server.dao.impl.MorphiaSpringBean">
-        <beans:property name="mongo" ref="mongo"/>
-    </beans:bean>
-
-    <authentication-manager alias="authenticationManager">
-        <authentication-provider ref="customAuthenticationProvider"/>
-    </authentication-manager>
-</beans:beans>

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8e792605/modules/webconfig/src/main/webapp/WEB-INF/main-servlet.xml
----------------------------------------------------------------------
diff --git a/modules/webconfig/src/main/webapp/WEB-INF/main-servlet.xml b/modules/webconfig/src/main/webapp/WEB-INF/main-servlet.xml
deleted file mode 100644
index 468f8d3..0000000
--- a/modules/webconfig/src/main/webapp/WEB-INF/main-servlet.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<beans:beans xmlns="http://www.springframework.org/schema/security"
-             xmlns:beans="http://www.springframework.org/schema/beans"
-             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mvc="http://www.springframework.org/schema/mvc"
-             xmlns:context="http://www.springframework.org/schema/context"
-             xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
-                                 http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.2.xsd http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
-    <mvc:annotation-driven/>
-    <context:component-scan base-package="org.apache.ignite.webconfig.server.controller" />
-</beans:beans>

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8e792605/modules/webconfig/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/modules/webconfig/src/main/webapp/WEB-INF/web.xml b/modules/webconfig/src/main/webapp/WEB-INF/web.xml
deleted file mode 100644
index 2e16219..0000000
--- a/modules/webconfig/src/main/webapp/WEB-INF/web.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE web-app
-        PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
-        "http://java.sun.com/dtd/web-app_2_3.dtd">
-
-<web-app>
-    <filter>
-        <filter-name>springSecurityFilterChain</filter-name>
-        <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
-    </filter>
-
-    <filter-mapping>
-        <filter-name>springSecurityFilterChain</filter-name>
-        <url-pattern>/*</url-pattern>
-    </filter-mapping>
-
-    <listener>
-        <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
-    </listener>
-
-    <!-- Servlets -->
-    <servlet>
-        <servlet-name>main</servlet-name>
-        <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
-        <init-param>
-            <param-name>serviceURLMapper</param-name>
-            <param-value>serviceURLMapper</param-value>
-        </init-param>
-    </servlet>
-
-    <servlet-mapping>
-        <servlet-name>main</servlet-name>
-        <url-pattern>*.do</url-pattern>
-    </servlet-mapping>
-
-    <!-- Default page to serve -->
-    <welcome-file-list>
-        <welcome-file>login.html</welcome-file>
-    </welcome-file-list>
-</web-app>

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8e792605/modules/webconfig/src/main/webapp/css/home.css
----------------------------------------------------------------------
diff --git a/modules/webconfig/src/main/webapp/css/home.css b/modules/webconfig/src/main/webapp/css/home.css
deleted file mode 100644
index 785f121..0000000
--- a/modules/webconfig/src/main/webapp/css/home.css
+++ /dev/null
@@ -1,34 +0,0 @@
-body {
-    background: rgb(40, 40, 40);
-    color: #ffffff;
-}
-
-#menu {
-    float: left;
-    width: 185px;
-}
-
-#menu ul {
-    margin: 0;
-    padding: 0;
-    list-style-type: none;
-}
-
-#menu ul li a {
-    text-decoration: none;
-    color: white;
-    padding: 10px 11px;
-    display: block;
-}
-
-#menu ul li a:visited {
-    color: white;
-}
-
-#menu ul li a:hover, #menu ul li .current {
-    color: rgb(248, 0, 0);
-}
-
-#container {
-
-}
\ No newline at end of file