You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by pr...@apache.org on 2014/04/17 04:43:31 UTC
[51/52] [partial] git commit: forking carbon ui bundle in to stratos
code base and removing license incompatible JS and packing the new module to
carbon runtime, through dropins
forking carbon ui bundle in to stratos code base and removing license incompatible JS and packing the new module to carbon runtime, through dropins
Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/6b1dba58
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/6b1dba58
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/6b1dba58
Branch: refs/heads/master
Commit: 6b1dba5881ee99ed583e8d81332980d5358c66e9
Parents: fcdc799
Author: Pradeep Fernando <pr...@gmail.com>
Authored: Thu Apr 17 08:11:35 2014 +0530
Committer: Pradeep Fernando <pr...@gmail.com>
Committed: Thu Apr 17 08:11:35 2014 +0530
----------------------------------------------------------------------
dependencies/org.wso2.carbon.ui/pom.xml | 245 +
.../ui/AbstractCarbonUIAuthenticator.java | 516 +
.../carbon/ui/BasicAuthUIAuthenticator.java | 164 +
.../org/wso2/carbon/ui/BreadCrumbGenerator.java | 343 +
.../ui/BundleBasedUIResourceProvider.java | 124 +
.../wso2/carbon/ui/BundleProxyClassLoader.java | 65 +
.../carbon/ui/BundleResourcePathRegistry.java | 38 +
.../org/wso2/carbon/ui/CarbonConnection.java | 127 +
.../java/org/wso2/carbon/ui/CarbonProtocol.java | 49 +
.../wso2/carbon/ui/CarbonSSOSessionManager.java | 213 +
.../carbon/ui/CarbonSecuredHttpContext.java | 497 +
.../wso2/carbon/ui/CarbonUIAuthenticator.java | 123 +
.../org/wso2/carbon/ui/CarbonUILoginUtil.java | 596 ++
.../org/wso2/carbon/ui/CarbonUIMessage.java | 148 +
.../java/org/wso2/carbon/ui/CarbonUIUtil.java | 469 +
.../org/wso2/carbon/ui/ComponentDeployer.java | 189 +
.../ui/DefaultAuthenticatorCredentials.java | 22 +
.../carbon/ui/DefaultCarbonAuthenticator.java | 186 +
.../ui/DefaultComponentEntryHttpContext.java | 79 +
.../org/wso2/carbon/ui/DeploymentEngine.java | 98 +
.../org/wso2/carbon/ui/JSPContextFinder.java | 193 +
.../java/org/wso2/carbon/ui/JspClassLoader.java | 119 +
.../java/org/wso2/carbon/ui/JspServlet.java | 458 +
.../org/wso2/carbon/ui/MenuAdminClient.java | 735 ++
.../ui/SecuredComponentEntryHttpContext.java | 91 +
.../wso2/carbon/ui/TextJavascriptHandler.java | 22 +
.../org/wso2/carbon/ui/TextPlainHandler.java | 41 +
.../org/wso2/carbon/ui/TilesJspServlet.java | 107 +
.../java/org/wso2/carbon/ui/UIAnnouncement.java | 26 +
.../carbon/ui/UIAuthenticationExtender.java | 40 +
.../java/org/wso2/carbon/ui/UIExtender.java | 22 +
.../org/wso2/carbon/ui/UIResourceRegistry.java | 107 +
.../src/main/java/org/wso2/carbon/ui/Utils.java | 214 +
.../org/wso2/carbon/ui/action/ActionHelper.java | 62 +
.../wso2/carbon/ui/action/ComponentAction.java | 35 +
.../wso2/carbon/ui/action/ServiceAction.java | 31 +
.../ui/clients/FileDownloadServiceClient.java | 62 +
.../ui/clients/FileUploadServiceClient.java | 66 +
.../carbon/ui/clients/LoggedUserInfoClient.java | 66 +
.../ui/clients/RegistryAdminServiceClient.java | 94 +
.../carbon/ui/deployment/ComponentBuilder.java | 693 ++
.../carbon/ui/deployment/UIBundleDeployer.java | 515 +
.../ui/deployment/beans/BreadCrumbItem.java | 70 +
.../deployment/beans/CarbonUIDefinitions.java | 358 +
.../carbon/ui/deployment/beans/Component.java | 159 +
.../carbon/ui/deployment/beans/Context.java | 63 +
.../deployment/beans/CustomUIDefenitions.java | 48 +
.../beans/FileUploadExecutorConfig.java | 46 +
.../wso2/carbon/ui/deployment/beans/Menu.java | 247 +
.../carbon/ui/deployment/beans/Servlet.java | 71 +
.../ui/internal/CarbonUIServiceComponent.java | 548 +
.../org/wso2/carbon/ui/taglibs/Breadcrumb.java | 278 +
.../carbon/ui/taglibs/ItemGroupSelector.java | 157 +
.../java/org/wso2/carbon/ui/taglibs/JSi18n.java | 162 +
.../org/wso2/carbon/ui/taglibs/Paginator.java | 260 +
.../java/org/wso2/carbon/ui/taglibs/Report.java | 131 +
.../carbon/ui/taglibs/ResourcePaginator.java | 202 +
.../ui/taglibs/SimpleItemGroupSelector.java | 113 +
.../carbon/ui/taglibs/TooltipsGenerator.java | 214 +
.../ui/tracker/AuthenticatorComparator.java | 32 +
.../ui/tracker/AuthenticatorRegistry.java | 89 +
.../ui/transports/FileDownloadServlet.java | 74 +
.../carbon/ui/transports/FileUploadServlet.java | 86 +
.../fileupload/AbstractFileUploadExecutor.java | 552 +
.../fileupload/AnyFileUploadExecutor.java | 41 +
.../fileupload/DBSFileUploadExecutor.java | 117 +
.../FileSizeLimitExceededException.java | 24 +
.../fileupload/FileUploadExecutorManager.java | 401 +
.../fileupload/FileUploadFailedException.java | 22 +
.../fileupload/JarZipUploadExecutor.java | 127 +
.../fileupload/KeyStoreFileUploadExecutor.java | 95 +
.../fileupload/ToolsAnyFileUploadExecutor.java | 90 +
.../fileupload/ToolsFileUploadExecutor.java | 79 +
.../ui/util/CarbonUIAuthenticationUtil.java | 48 +
.../wso2/carbon/ui/util/CharacterEncoder.java | 38 +
.../wso2/carbon/ui/util/FileDownloadUtil.java | 145 +
.../carbon/ui/util/UIAnnouncementDeployer.java | 54 +
.../wso2/carbon/ui/util/UIResourceProvider.java | 59 +
.../src/main/resources/FileDownloadService.wsdl | 138 +
.../src/main/resources/FileUploadService.wsdl | 141 +
.../src/main/resources/LoggedUserInfoAdmin.wsdl | 120 +
.../RegistryAdminService.wsdl | 173 +
.../resources/web/WEB-INF/tiles/main_defs.xml | 31 +
.../resources/web/WEB-INF/tlds/ajaxtags.tld | 1791 ++++
.../resources/web/WEB-INF/tlds/c-1_0-rt.tld | 393 +
.../main/resources/web/WEB-INF/tlds/c-1_0.tld | 416 +
.../src/main/resources/web/WEB-INF/tlds/c.tld | 572 ++
.../resources/web/WEB-INF/tlds/carbontags.tld | 366 +
.../resources/web/WEB-INF/tlds/fmt-1_0-rt.tld | 403 +
.../main/resources/web/WEB-INF/tlds/fmt-1_0.tld | 442 +
.../src/main/resources/web/WEB-INF/tlds/fmt.tld | 671 ++
.../src/main/resources/web/WEB-INF/tlds/fn.tld | 207 +
.../main/resources/web/WEB-INF/tlds/json.tld | 150 +
.../web/WEB-INF/tlds/permittedTaglibs.tld | 34 +
.../resources/web/WEB-INF/tlds/scriptfree.tld | 51 +
.../resources/web/WEB-INF/tlds/sql-1_0-rt.tld | 188 +
.../main/resources/web/WEB-INF/tlds/sql-1_0.tld | 213 +
.../src/main/resources/web/WEB-INF/tlds/sql.tld | 289 +
.../resources/web/WEB-INF/tlds/tiles-jsp.tld | 801 ++
.../resources/web/WEB-INF/tlds/x-1_0-rt.tld | 256 +
.../main/resources/web/WEB-INF/tlds/x-1_0.tld | 273 +
.../src/main/resources/web/WEB-INF/tlds/x.tld | 448 +
.../src/main/resources/web/WEB-INF/web.xml | 47 +
.../web/admin/css/carbonFormStyles.css | 274 +
.../resources/web/admin/css/documentation.css | 95 +
.../src/main/resources/web/admin/css/global.css | 1445 +++
.../images/ui-bg_flat_0_aaaaaa_40x100.png | Bin 0 -> 180 bytes
.../images/ui-bg_flat_75_ffffff_40x100.png | Bin 0 -> 178 bytes
.../images/ui-bg_glass_55_fbf9ee_1x400.png | Bin 0 -> 120 bytes
.../images/ui-bg_glass_65_ffffff_1x400.png | Bin 0 -> 105 bytes
.../images/ui-bg_glass_75_dadada_1x400.png | Bin 0 -> 111 bytes
.../images/ui-bg_glass_75_e6e6e6_1x400.png | Bin 0 -> 110 bytes
.../images/ui-bg_glass_95_fef1ec_1x400.png | Bin 0 -> 119 bytes
.../ui-bg_highlight-soft_75_cccccc_1x100.png | Bin 0 -> 101 bytes
.../images/ui-icons_222222_256x240.png | Bin 0 -> 4369 bytes
.../images/ui-icons_2e83ff_256x240.png | Bin 0 -> 4369 bytes
.../images/ui-icons_454545_256x240.png | Bin 0 -> 4369 bytes
.../images/ui-icons_888888_256x240.png | Bin 0 -> 4369 bytes
.../images/ui-icons_cd0a0a_256x240.png | Bin 0 -> 4369 bytes
.../css/smoothness/jquery-ui-1.8.11.custom.css | 573 ++
.../resources/web/admin/docs/userguide.html | 232 +
.../src/main/resources/web/admin/error.jsp | 182 +
.../src/main/resources/web/admin/images/1px.gif | Bin 0 -> 43 bytes
.../web/admin/images/add-collection.gif | Bin 0 -> 628 bytes
.../resources/web/admin/images/add-link.gif | Bin 0 -> 1027 bytes
.../resources/web/admin/images/add-resource.gif | Bin 0 -> 616 bytes
.../web/admin/images/add-small-icon.gif | Bin 0 -> 938 bytes
.../src/main/resources/web/admin/images/add.gif | Bin 0 -> 407 bytes
.../resources/web/admin/images/addNewTab.gif | Bin 0 -> 219 bytes
.../resources/web/admin/images/am_logo_h23.gif | Bin 0 -> 1536 bytes
.../web/admin/images/application_edit.gif | Bin 0 -> 1047 bytes
.../web/admin/images/appserver_logo_h23.gif | Bin 0 -> 1574 bytes
.../resources/web/admin/images/arrow-down.png | Bin 0 -> 284 bytes
.../resources/web/admin/images/arrow-up.png | Bin 0 -> 319 bytes
.../main/resources/web/admin/images/atom.gif | Bin 0 -> 204 bytes
.../web/admin/images/axis2-powered.gif | Bin 0 -> 1813 bytes
.../resources/web/admin/images/bam_logo_h23.gif | Bin 0 -> 1808 bytes
.../resources/web/admin/images/basket_put.gif | Bin 0 -> 599 bytes
.../web/admin/images/basket_remove.gif | Bin 0 -> 599 bytes
.../resources/web/admin/images/book_add.gif | Bin 0 -> 1086 bytes
.../resources/web/admin/images/bps_logo_h23.gif | Bin 0 -> 1725 bytes
.../resources/web/admin/images/brick_edit.gif | Bin 0 -> 649 bytes
.../resources/web/admin/images/brs_logo_h23.gif | Bin 0 -> 2864 bytes
.../web/admin/images/button-bg-focus.gif | Bin 0 -> 111 bytes
.../web/admin/images/button-bg-hover.gif | Bin 0 -> 243 bytes
.../resources/web/admin/images/button-bg.gif | Bin 0 -> 243 bytes
.../resources/web/admin/images/buttonRow-bg.gif | Bin 0 -> 130 bytes
.../resources/web/admin/images/calculator.gif | Bin 0 -> 623 bytes
.../resources/web/admin/images/calendar.gif | Bin 0 -> 610 bytes
.../main/resources/web/admin/images/cancel.gif | Bin 0 -> 411 bytes
.../resources/web/admin/images/cep_logo_h23.gif | Bin 0 -> 1998 bytes
.../resources/web/admin/images/cloneTab.gif | Bin 0 -> 170 bytes
.../web/admin/images/control_play_blue.gif | Bin 0 -> 632 bytes
.../main/resources/web/admin/images/copy.gif | Bin 0 -> 1036 bytes
.../web/admin/images/create-checkpoint.gif | Bin 0 -> 384 bytes
.../web/admin/images/default-menu-icon.gif | Bin 0 -> 86 bytes
.../main/resources/web/admin/images/delete.gif | Bin 0 -> 555 bytes
.../resources/web/admin/images/down-arrow.gif | Bin 0 -> 610 bytes
.../resources/web/admin/images/down-arrow.png | Bin 0 -> 791 bytes
.../resources/web/admin/images/ds_logo_h23.gif | Bin 0 -> 1686 bytes
.../main/resources/web/admin/images/edit.gif | Bin 0 -> 1041 bytes
.../resources/web/admin/images/elb_logo_h23.gif | Bin 0 -> 1710 bytes
.../resources/web/admin/images/esb_logo_h23.gif | Bin 0 -> 1714 bytes
.../resources/web/admin/images/excelicon.gif | Bin 0 -> 1080 bytes
.../main/resources/web/admin/images/exlink.gif | Bin 0 -> 292 bytes
.../main/resources/web/admin/images/favicon.ico | Bin 0 -> 17542 bytes
.../main/resources/web/admin/images/forum.gif | Bin 0 -> 1977 bytes
.../web/admin/images/gadgetserver_logo_h23.gif | Bin 0 -> 1556 bytes
.../resources/web/admin/images/header-bg.gif | Bin 0 -> 495 bytes
.../resources/web/admin/images/header-logo.gif | Bin 0 -> 1506 bytes
.../web/admin/images/header-region-bg.gif | Bin 0 -> 369 bytes
.../main/resources/web/admin/images/help-bg.gif | Bin 0 -> 465 bytes
.../resources/web/admin/images/help-footer.gif | Bin 0 -> 1708 bytes
.../resources/web/admin/images/help-header.gif | Bin 0 -> 9996 bytes
.../web/admin/images/help-small-icon.png | Bin 0 -> 631 bytes
.../main/resources/web/admin/images/help.gif | Bin 0 -> 411 bytes
.../main/resources/web/admin/images/home-bg.gif | Bin 0 -> 145 bytes
.../resources/web/admin/images/htmlicon.gif | Bin 0 -> 1017 bytes
.../web/admin/images/icon-feed-small-res.gif | Bin 0 -> 1022 bytes
.../web/admin/images/identity_logo_h23.gif | Bin 0 -> 1499 bytes
.../resources/web/admin/images/information.gif | Bin 0 -> 1025 bytes
.../resources/web/admin/images/invisible.gif | Bin 0 -> 51 bytes
.../web/admin/images/issue-tracker.gif | Bin 0 -> 1821 bytes
.../web/admin/images/leftRightSlider-dark.png | Bin 0 -> 1421 bytes
.../web/admin/images/leftRightSlider.png | Bin 0 -> 448 bytes
.../web/admin/images/loading-small.gif | Bin 0 -> 673 bytes
.../main/resources/web/admin/images/loading.gif | Bin 0 -> 14367 bytes
.../resources/web/admin/images/mailing-list.gif | Bin 0 -> 2064 bytes
.../resources/web/admin/images/mainIcons.png | Bin 0 -> 1891 bytes
.../web/admin/images/mashup_logo_h23.gif | Bin 0 -> 1508 bytes
.../resources/web/admin/images/mb_logo_h23.gif | Bin 0 -> 1603 bytes
.../resources/web/admin/images/menu-header.gif | Bin 0 -> 237 bytes
.../resources/web/admin/images/mgt-logo.gif | Bin 0 -> 2095 bytes
.../resources/web/admin/images/minus-plus.png | Bin 0 -> 1113 bytes
.../main/resources/web/admin/images/move.gif | Bin 0 -> 166 bytes
.../web/admin/images/nseditor-icon.gif | Bin 0 -> 1065 bytes
.../main/resources/web/admin/images/oops.gif | Bin 0 -> 678 bytes
.../main/resources/web/admin/images/overlay.png | Bin 0 -> 289 bytes
.../resources/web/admin/images/panelImage.png | Bin 0 -> 144 bytes
.../main/resources/web/admin/images/pdficon.gif | Bin 0 -> 361 bytes
.../resources/web/admin/images/plugin_add.gif | Bin 0 -> 1030 bytes
.../web/admin/images/plugin_delete.gif | Bin 0 -> 1031 bytes
.../resources/web/admin/images/policies.gif | Bin 0 -> 387 bytes
.../web/admin/images/registry_logo_h23.gif | Bin 0 -> 1657 bytes
.../web/admin/images/registry_picker.gif | Bin 0 -> 1053 bytes
.../src/main/resources/web/admin/images/rss.gif | Bin 0 -> 207 bytes
.../main/resources/web/admin/images/spacer.gif | Bin 0 -> 43 bytes
.../resources/web/admin/images/ss_logo_h23.png | Bin 0 -> 4097 bytes
.../main/resources/web/admin/images/star.gif | Bin 0 -> 588 bytes
.../web/admin/images/static-icon-disabled.gif | Bin 0 -> 935 bytes
.../resources/web/admin/images/static-icon.gif | Bin 0 -> 935 bytes
.../resources/web/admin/images/table-header.gif | Bin 0 -> 873 bytes
.../web/admin/images/trace-icon-disabled.gif | Bin 0 -> 950 bytes
.../resources/web/admin/images/trace-icon.gif | Bin 0 -> 961 bytes
.../resources/web/admin/images/up-arrow.gif | Bin 0 -> 615 bytes
.../resources/web/admin/images/up-arrow.png | Bin 0 -> 822 bytes
.../resources/web/admin/images/user-guide.gif | Bin 0 -> 2161 bytes
.../main/resources/web/admin/images/user.gif | Bin 0 -> 604 bytes
.../web/admin/images/view-disabled.gif | Bin 0 -> 998 bytes
.../main/resources/web/admin/images/view.gif | Bin 0 -> 596 bytes
.../main/resources/web/admin/images/zoom_in.gif | Bin 0 -> 575 bytes
.../resources/web/admin/images/zoom_out.gif | Bin 0 -> 563 bytes
.../src/main/resources/web/admin/index.jsp | 127 +
.../main/resources/web/admin/js/WSRequest.js | 1446 +++
.../main/resources/web/admin/js/breadcrumbs.js | 187 +
.../src/main/resources/web/admin/js/cookies.js | 84 +
.../resources/web/admin/js/customControls.js | 148 +
.../main/resources/web/admin/js/dhtmlHistory.js | 925 ++
.../src/main/resources/web/admin/js/excanvas.js | 1 +
.../resources/web/admin/js/jquery-1.5.2.min.js | 16 +
.../web/admin/js/jquery-ui-1.8.11.custom.min.js | 783 ++
.../resources/web/admin/js/jquery.cookie.js | 96 +
.../main/resources/web/admin/js/jquery.flot.js | 6 +
.../main/resources/web/admin/js/jquery.form.js | 601 ++
.../src/main/resources/web/admin/js/jquery.js | 3549 +++++++
.../web/admin/js/jquery.ui.core.min.js | 17 +
.../web/admin/js/jquery.ui.tabs.min.js | 35 +
.../web/admin/js/jquery.ui.widget.min.js | 15 +
.../resources/web/admin/js/jquery.validate.js | 1188 +++
.../src/main/resources/web/admin/js/main.js | 1818 ++++
.../resources/web/admin/js/prototype-1.6.js | 4184 ++++++++
.../src/main/resources/web/admin/js/template.js | 462 +
.../src/main/resources/web/admin/js/widgets.js | 88 +
.../jsp/WSRequestXSSproxy_ajaxprocessor.jsp | 253 +
.../resources/web/admin/jsp/browser_checker.jsp | 12 +
.../admin/jsp/registry_styles_ajaxprocessor.jsp | 44 +
.../web/admin/jsp/session-validate.jsp | 17 +
.../resources/web/admin/layout/ajaxheader.jsp | 30 +
.../web/admin/layout/announcements.jsp | 25 +
.../resources/web/admin/layout/breadcrumb.jsp | 54 +
.../resources/web/admin/layout/defaultBody.jsp | 126 +
.../main/resources/web/admin/layout/footer.jsp | 28 +
.../main/resources/web/admin/layout/header.jsp | 166 +
.../main/resources/web/admin/layout/region1.jsp | 39 +
.../main/resources/web/admin/layout/region2.jsp | 29 +
.../main/resources/web/admin/layout/region3.jsp | 29 +
.../main/resources/web/admin/layout/region4.jsp | 29 +
.../main/resources/web/admin/layout/region5.jsp | 29 +
.../resources/web/admin/layout/template.jsp | 222 +
.../src/main/resources/web/admin/login.jsp | 272 +
.../main/resources/web/ajax/js/ajax/ajaxtags.js | 1285 +++
.../web/ajax/js/ajax/ajaxtags_controls.js | 307 +
.../web/ajax/js/ajax/ajaxtags_parser.js | 305 +
.../src/main/resources/web/ajax/js/all.js | 4474 ++++++++
.../src/main/resources/web/ajax/js/prototype.js | 2520 +++++
.../src/main/resources/web/ajax/js/readme.txt | 20 +
.../web/ajax/js/scriptaculous/builder.js | 131 +
.../web/ajax/js/scriptaculous/controls.js | 835 ++
.../web/ajax/js/scriptaculous/dragdrop.js | 944 ++
.../web/ajax/js/scriptaculous/effects.js | 1090 ++
.../web/ajax/js/scriptaculous/scriptaculous.js | 51 +
.../web/ajax/js/scriptaculous/slider.js | 278 +
.../web/ajax/js/scriptaculous/unittest.js | 564 +
.../main/resources/web/codepress/codepress.css | 21 +
.../main/resources/web/codepress/codepress.html | 51 +
.../main/resources/web/codepress/codepress.js | 138 +
.../resources/web/codepress/engines/gecko.js | 293 +
.../resources/web/codepress/engines/khtml.js | 0
.../resources/web/codepress/engines/msie.js | 304 +
.../resources/web/codepress/engines/older.js | 0
.../resources/web/codepress/engines/opera.js | 260 +
.../resources/web/codepress/engines/webkit.js | 297 +
.../web/codepress/images/line-numbers.png | Bin 0 -> 16556 bytes
.../resources/web/codepress/languages/asp.css | 71 +
.../resources/web/codepress/languages/asp.js | 117 +
.../web/codepress/languages/autoit.css | 13 +
.../resources/web/codepress/languages/autoit.js | 32 +
.../web/codepress/languages/csharp.css | 9 +
.../resources/web/codepress/languages/csharp.js | 25 +
.../resources/web/codepress/languages/css.css | 10 +
.../resources/web/codepress/languages/css.js | 23 +
.../web/codepress/languages/generic.css | 9 +
.../web/codepress/languages/generic.js | 25 +
.../resources/web/codepress/languages/html.css | 13 +
.../resources/web/codepress/languages/html.js | 59 +
.../resources/web/codepress/languages/java.css | 7 +
.../resources/web/codepress/languages/java.js | 24 +
.../web/codepress/languages/javascript.css | 8 +
.../web/codepress/languages/javascript.js | 30 +
.../resources/web/codepress/languages/perl.css | 11 +
.../resources/web/codepress/languages/perl.js | 27 +
.../resources/web/codepress/languages/php.css | 12 +
.../resources/web/codepress/languages/php.js | 61 +
.../resources/web/codepress/languages/ruby.css | 10 +
.../resources/web/codepress/languages/ruby.js | 26 +
.../resources/web/codepress/languages/sql.css | 10 +
.../resources/web/codepress/languages/sql.js | 30 +
.../resources/web/codepress/languages/text.css | 5 +
.../resources/web/codepress/languages/text.js | 9 +
.../web/codepress/languages/vbscript.css | 71 +
.../web/codepress/languages/vbscript.js | 117 +
.../resources/web/codepress/languages/xsl.css | 15 +
.../resources/web/codepress/languages/xsl.js | 103 +
.../main/resources/web/codepress/license.txt | 458 +
.../resources/web/dialog/css/dialog-ie8.css | 4 +
.../main/resources/web/dialog/css/dialog.css | 129 +
.../jqueryui/images/222222_11x11_icon_close.gif | Bin 0 -> 62 bytes
.../images/222222_11x11_icon_resize_se.gif | Bin 0 -> 61 bytes
.../jqueryui/images/222222_7x7_arrow_left.gif | Bin 0 -> 53 bytes
.../jqueryui/images/222222_7x7_arrow_right.gif | Bin 0 -> 53 bytes
.../jqueryui/images/454545_11x11_icon_close.gif | Bin 0 -> 62 bytes
.../jqueryui/images/454545_7x7_arrow_left.gif | Bin 0 -> 53 bytes
.../jqueryui/images/454545_7x7_arrow_right.gif | Bin 0 -> 53 bytes
.../jqueryui/images/888888_11x11_icon_close.gif | Bin 0 -> 62 bytes
.../jqueryui/images/888888_7x7_arrow_left.gif | Bin 0 -> 53 bytes
.../jqueryui/images/888888_7x7_arrow_right.gif | Bin 0 -> 53 bytes
.../dadada_40x100_textures_02_glass_75.png | Bin 0 -> 214 bytes
.../e6e6e6_40x100_textures_02_glass_75.png | Bin 0 -> 211 bytes
.../images/ffffff_40x100_textures_01_flat_0.png | Bin 0 -> 178 bytes
.../ffffff_40x100_textures_02_glass_65.png | Bin 0 -> 207 bytes
.../css/jqueryui/jqueryui-themeroller.css | 856 ++
.../resources/web/dialog/display_messages.jsp | 90 +
.../main/resources/web/dialog/img/confirm.gif | Bin 0 -> 2324 bytes
.../src/main/resources/web/dialog/img/error.gif | Bin 0 -> 2258 bytes
.../src/main/resources/web/dialog/img/info.gif | Bin 0 -> 2349 bytes
.../main/resources/web/dialog/img/overlay.png | Bin 0 -> 144 bytes
.../main/resources/web/dialog/img/warning.gif | Bin 0 -> 2345 bytes
.../src/main/resources/web/dialog/js/dialog.js | 369 +
.../web/dialog/js/jqueryui/jquery-ui.min.js | 331 +
.../222222_11x11_icon_arrows_leftright.gif | Bin 0 -> 58 bytes
.../images/222222_11x11_icon_arrows_updown.gif | Bin 0 -> 56 bytes
.../tabs/images/222222_11x11_icon_doc.gif | Bin 0 -> 64 bytes
.../tabs/images/222222_11x11_icon_minus.gif | Bin 0 -> 56 bytes
.../tabs/images/222222_11x11_icon_plus.gif | Bin 0 -> 61 bytes
.../tabs/images/222222_11x11_icon_resize_se.gif | Bin 0 -> 61 bytes
.../tabs/images/222222_7x7_arrow_down.gif | Bin 0 -> 52 bytes
.../tabs/images/222222_7x7_arrow_left.gif | Bin 0 -> 53 bytes
.../tabs/images/222222_7x7_arrow_right.gif | Bin 0 -> 53 bytes
.../tabs/images/222222_7x7_arrow_up.gif | Bin 0 -> 52 bytes
.../454545_11x11_icon_arrows_leftright.gif | Bin 0 -> 58 bytes
.../images/454545_11x11_icon_arrows_updown.gif | Bin 0 -> 56 bytes
.../tabs/images/454545_11x11_icon_close.gif | Bin 0 -> 62 bytes
.../tabs/images/454545_11x11_icon_doc.gif | Bin 0 -> 64 bytes
.../images/454545_11x11_icon_folder_closed.gif | Bin 0 -> 61 bytes
.../images/454545_11x11_icon_folder_open.gif | Bin 0 -> 61 bytes
.../tabs/images/454545_11x11_icon_minus.gif | Bin 0 -> 56 bytes
.../tabs/images/454545_11x11_icon_plus.gif | Bin 0 -> 61 bytes
.../tabs/images/454545_7x7_arrow_down.gif | Bin 0 -> 52 bytes
.../tabs/images/454545_7x7_arrow_left.gif | Bin 0 -> 53 bytes
.../tabs/images/454545_7x7_arrow_right.gif | Bin 0 -> 53 bytes
.../tabs/images/454545_7x7_arrow_up.gif | Bin 0 -> 52 bytes
.../888888_11x11_icon_arrows_leftright.gif | Bin 0 -> 58 bytes
.../images/888888_11x11_icon_arrows_updown.gif | Bin 0 -> 56 bytes
.../tabs/images/888888_11x11_icon_close.gif | Bin 0 -> 62 bytes
.../tabs/images/888888_11x11_icon_doc.gif | Bin 0 -> 64 bytes
.../images/888888_11x11_icon_folder_closed.gif | Bin 0 -> 61 bytes
.../images/888888_11x11_icon_folder_open.gif | Bin 0 -> 61 bytes
.../tabs/images/888888_11x11_icon_minus.gif | Bin 0 -> 56 bytes
.../tabs/images/888888_11x11_icon_plus.gif | Bin 0 -> 61 bytes
.../tabs/images/888888_7x7_arrow_down.gif | Bin 0 -> 52 bytes
.../tabs/images/888888_7x7_arrow_left.gif | Bin 0 -> 53 bytes
.../tabs/images/888888_7x7_arrow_right.gif | Bin 0 -> 53 bytes
.../tabs/images/888888_7x7_arrow_up.gif | Bin 0 -> 52 bytes
.../dadada_40x100_textures_02_glass_75.png | Bin 0 -> 214 bytes
.../e6e6e6_40x100_textures_02_glass_75.png | Bin 0 -> 211 bytes
.../ffffff_40x100_textures_01_flat_75.png | Bin 0 -> 178 bytes
.../ffffff_40x100_textures_02_glass_65.png | Bin 0 -> 207 bytes
.../dialog/js/jqueryui/tabs/jquery-1.2.6.min.js | 32 +
.../jqueryui/tabs/jquery-ui-1.6.custom.min.js | 1 +
.../dialog/js/jqueryui/tabs/jquery.cookie.js | 96 +
.../web/dialog/js/jqueryui/tabs/ui.all.css | 609 ++
.../js/jqueryui/ui/i18n/jquery.ui.i18n.all.js | 856 ++
.../js/jqueryui/ui/i18n/ui.datepicker-ar.js | 26 +
.../js/jqueryui/ui/i18n/ui.datepicker-bg.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-ca.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-cs.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-da.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-de.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-eo.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-es.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-fi.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-fr.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-he.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-hr.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-hu.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-hy.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-id.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-is.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-it.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-ja.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-ko.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-lt.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-lv.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-nl.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-no.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-pl.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-pt-BR.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-ro.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-ru.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-sk.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-sl.js | 23 +
.../js/jqueryui/ui/i18n/ui.datepicker-sv.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-th.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-tr.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-uk.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-zh-CN.js | 25 +
.../js/jqueryui/ui/i18n/ui.datepicker-zh-TW.js | 25 +
.../src/main/resources/web/docs/about.html | 132 +
.../main/resources/web/docs/images/login.png | Bin 0 -> 5995 bytes
.../resources/web/docs/signin_userguide.html | 70 +
.../resources/web/editarea/autocompletion.js | 491 +
.../main/resources/web/editarea/edit_area.css | 530 +
.../main/resources/web/editarea/edit_area.js | 529 +
.../web/editarea/edit_area_compressor.php | 428 +
.../resources/web/editarea/edit_area_full.gz | Bin 0 -> 30126 bytes
.../resources/web/editarea/edit_area_full.js | 38 +
.../web/editarea/edit_area_functions.js | 1209 +++
.../resources/web/editarea/edit_area_loader.js | 1081 ++
.../web/editarea/elements_functions.js | 336 +
.../main/resources/web/editarea/highlight.js | 407 +
.../web/editarea/images/autocompletion.gif | Bin 0 -> 359 bytes
.../resources/web/editarea/images/close.gif | Bin 0 -> 102 bytes
.../web/editarea/images/fullscreen.gif | Bin 0 -> 198 bytes
.../web/editarea/images/go_to_line.gif | Bin 0 -> 1053 bytes
.../main/resources/web/editarea/images/help.gif | Bin 0 -> 295 bytes
.../resources/web/editarea/images/highlight.gif | Bin 0 -> 256 bytes
.../main/resources/web/editarea/images/load.gif | Bin 0 -> 1041 bytes
.../main/resources/web/editarea/images/move.gif | Bin 0 -> 257 bytes
.../web/editarea/images/newdocument.gif | Bin 0 -> 170 bytes
.../resources/web/editarea/images/opacity.png | Bin 0 -> 147 bytes
.../web/editarea/images/processing.gif | Bin 0 -> 825 bytes
.../main/resources/web/editarea/images/redo.gif | Bin 0 -> 169 bytes
.../web/editarea/images/reset_highlight.gif | Bin 0 -> 168 bytes
.../main/resources/web/editarea/images/save.gif | Bin 0 -> 285 bytes
.../resources/web/editarea/images/search.gif | Bin 0 -> 191 bytes
.../web/editarea/images/smooth_selection.gif | Bin 0 -> 174 bytes
.../resources/web/editarea/images/spacer.gif | Bin 0 -> 43 bytes
.../web/editarea/images/statusbar_resize.gif | Bin 0 -> 79 bytes
.../main/resources/web/editarea/images/undo.gif | Bin 0 -> 175 bytes
.../resources/web/editarea/images/word_wrap.gif | Bin 0 -> 951 bytes
.../src/main/resources/web/editarea/keyboard.js | 145 +
.../src/main/resources/web/editarea/langs/bg.js | 54 +
.../src/main/resources/web/editarea/langs/cs.js | 48 +
.../src/main/resources/web/editarea/langs/de.js | 48 +
.../src/main/resources/web/editarea/langs/dk.js | 48 +
.../src/main/resources/web/editarea/langs/en.js | 48 +
.../src/main/resources/web/editarea/langs/eo.js | 48 +
.../src/main/resources/web/editarea/langs/es.js | 48 +
.../src/main/resources/web/editarea/langs/fi.js | 48 +
.../src/main/resources/web/editarea/langs/fr.js | 48 +
.../src/main/resources/web/editarea/langs/hr.js | 48 +
.../src/main/resources/web/editarea/langs/it.js | 48 +
.../src/main/resources/web/editarea/langs/ja.js | 48 +
.../src/main/resources/web/editarea/langs/mk.js | 48 +
.../src/main/resources/web/editarea/langs/nl.js | 48 +
.../src/main/resources/web/editarea/langs/pl.js | 48 +
.../src/main/resources/web/editarea/langs/pt.js | 48 +
.../src/main/resources/web/editarea/langs/ru.js | 48 +
.../src/main/resources/web/editarea/langs/sk.js | 48 +
.../src/main/resources/web/editarea/langs/zh.js | 48 +
.../resources/web/editarea/license_apache.txt | 7 +
.../main/resources/web/editarea/license_bsd.txt | 10 +
.../resources/web/editarea/license_lgpl.txt | 458 +
.../main/resources/web/editarea/manage_area.js | 623 ++
.../web/editarea/plugins/charmap/charmap.js | 90 +
.../editarea/plugins/charmap/css/charmap.css | 64 +
.../editarea/plugins/charmap/images/charmap.gif | Bin 0 -> 245 bytes
.../editarea/plugins/charmap/jscripts/map.js | 373 +
.../web/editarea/plugins/charmap/langs/bg.js | 12 +
.../web/editarea/plugins/charmap/langs/cs.js | 6 +
.../web/editarea/plugins/charmap/langs/de.js | 6 +
.../web/editarea/plugins/charmap/langs/dk.js | 6 +
.../web/editarea/plugins/charmap/langs/en.js | 6 +
.../web/editarea/plugins/charmap/langs/eo.js | 6 +
.../web/editarea/plugins/charmap/langs/es.js | 6 +
.../web/editarea/plugins/charmap/langs/fr.js | 6 +
.../web/editarea/plugins/charmap/langs/hr.js | 6 +
.../web/editarea/plugins/charmap/langs/it.js | 6 +
.../web/editarea/plugins/charmap/langs/ja.js | 6 +
.../web/editarea/plugins/charmap/langs/mk.js | 6 +
.../web/editarea/plugins/charmap/langs/nl.js | 6 +
.../web/editarea/plugins/charmap/langs/pl.js | 6 +
.../web/editarea/plugins/charmap/langs/pt.js | 6 +
.../web/editarea/plugins/charmap/langs/ru.js | 6 +
.../web/editarea/plugins/charmap/langs/sk.js | 6 +
.../web/editarea/plugins/charmap/langs/zh.js | 6 +
.../web/editarea/plugins/charmap/popup.html | 24 +
.../web/editarea/plugins/test/css/test.css | 3 +
.../web/editarea/plugins/test/images/Thumbs.db | Bin 0 -> 3584 bytes
.../web/editarea/plugins/test/images/test.gif | Bin 0 -> 87 bytes
.../web/editarea/plugins/test/langs/bg.js | 10 +
.../web/editarea/plugins/test/langs/cs.js | 4 +
.../web/editarea/plugins/test/langs/de.js | 4 +
.../web/editarea/plugins/test/langs/dk.js | 4 +
.../web/editarea/plugins/test/langs/en.js | 4 +
.../web/editarea/plugins/test/langs/eo.js | 4 +
.../web/editarea/plugins/test/langs/es.js | 4 +
.../web/editarea/plugins/test/langs/fr.js | 4 +
.../web/editarea/plugins/test/langs/hr.js | 4 +
.../web/editarea/plugins/test/langs/it.js | 4 +
.../web/editarea/plugins/test/langs/ja.js | 4 +
.../web/editarea/plugins/test/langs/mk.js | 4 +
.../web/editarea/plugins/test/langs/nl.js | 4 +
.../web/editarea/plugins/test/langs/pl.js | 4 +
.../web/editarea/plugins/test/langs/pt.js | 4 +
.../web/editarea/plugins/test/langs/ru.js | 4 +
.../web/editarea/plugins/test/langs/sk.js | 4 +
.../web/editarea/plugins/test/langs/zh.js | 4 +
.../resources/web/editarea/plugins/test/test.js | 110 +
.../web/editarea/plugins/test/test2.js | 1 +
.../main/resources/web/editarea/reg_syntax.js | 166 +
.../resources/web/editarea/reg_syntax/basic.js | 70 +
.../web/editarea/reg_syntax/brainfuck.js | 45 +
.../main/resources/web/editarea/reg_syntax/c.js | 63 +
.../web/editarea/reg_syntax/coldfusion.js | 120 +
.../resources/web/editarea/reg_syntax/cpp.js | 66 +
.../resources/web/editarea/reg_syntax/css.js | 85 +
.../resources/web/editarea/reg_syntax/html.js | 51 +
.../resources/web/editarea/reg_syntax/java.js | 57 +
.../resources/web/editarea/reg_syntax/js.js | 94 +
.../resources/web/editarea/reg_syntax/pas.js | 83 +
.../resources/web/editarea/reg_syntax/perl.js | 88 +
.../resources/web/editarea/reg_syntax/php.js | 157 +
.../resources/web/editarea/reg_syntax/python.js | 145 +
.../web/editarea/reg_syntax/robotstxt.js | 25 +
.../resources/web/editarea/reg_syntax/ruby.js | 68 +
.../resources/web/editarea/reg_syntax/sql.js | 56 +
.../resources/web/editarea/reg_syntax/tsql.js | 88 +
.../resources/web/editarea/reg_syntax/vb.js | 53 +
.../resources/web/editarea/reg_syntax/xml.js | 57 +
.../src/main/resources/web/editarea/regexp.js | 139 +
.../main/resources/web/editarea/resize_area.js | 73 +
.../resources/web/editarea/search_replace.js | 174 +
.../main/resources/web/editarea/template.html | 100 +
.../web/highlighter/css/SyntaxHighlighter.css | 185 +
.../main/resources/web/highlighter/header.jsp | 22 +
.../resources/web/highlighter/js/clipboard.swf | Bin 0 -> 109 bytes
.../web/highlighter/js/shBrushCSharp.js | 10 +
.../resources/web/highlighter/js/shBrushCpp.js | 10 +
.../resources/web/highlighter/js/shBrushCss.js | 14 +
.../web/highlighter/js/shBrushDelphi.js | 10 +
.../web/highlighter/js/shBrushJScript.js | 10 +
.../resources/web/highlighter/js/shBrushJava.js | 10 +
.../resources/web/highlighter/js/shBrushPhp.js | 10 +
.../web/highlighter/js/shBrushPython.js | 11 +
.../resources/web/highlighter/js/shBrushRuby.js | 11 +
.../resources/web/highlighter/js/shBrushSql.js | 10 +
.../resources/web/highlighter/js/shBrushVb.js | 10 +
.../resources/web/highlighter/js/shBrushXml.js | 19 +
.../main/resources/web/highlighter/js/shCore.js | 161 +
.../src/main/resources/web/index.html | 89 +
.../resources/web/yui/build/animation/README | 71 +
.../web/yui/build/animation/animation-debug.js | 1385 +++
.../web/yui/build/animation/animation-min.js | 23 +
.../web/yui/build/animation/animation.js | 1381 +++
.../yui/build/assets/skins/sam/autocomplete.css | 7 +
.../yui/build/assets/skins/sam/blankimage.png | Bin 0 -> 2314 bytes
.../web/yui/build/assets/skins/sam/button.css | 7 +
.../web/yui/build/assets/skins/sam/calendar.css | 7 +
.../yui/build/assets/skins/sam/colorpicker.css | 7 +
.../yui/build/assets/skins/sam/container.css | 7 +
.../yui/build/assets/skins/sam/datatable.css | 7 +
.../yui/build/assets/skins/sam/dt-arrow-dn.png | Bin 0 -> 116 bytes
.../yui/build/assets/skins/sam/dt-arrow-up.png | Bin 0 -> 116 bytes
.../yui/build/assets/skins/sam/editor-knob.gif | Bin 0 -> 138 bytes
.../assets/skins/sam/editor-sprite-active.gif | Bin 0 -> 5614 bytes
.../build/assets/skins/sam/editor-sprite.gif | Bin 0 -> 5690 bytes
.../web/yui/build/assets/skins/sam/editor.css | 7 +
.../web/yui/build/assets/skins/sam/hue_bg.png | Bin 0 -> 1120 bytes
.../web/yui/build/assets/skins/sam/logger.css | 7 +
.../skins/sam/menu-button-arrow-disabled.png | Bin 0 -> 173 bytes
.../assets/skins/sam/menu-button-arrow.png | Bin 0 -> 173 bytes
.../web/yui/build/assets/skins/sam/menu.css | 7 +
.../yui/build/assets/skins/sam/picker_mask.png | Bin 0 -> 12174 bytes
.../web/yui/build/assets/skins/sam/skin.css | 26 +
.../skins/sam/split-button-arrow-active.png | Bin 0 -> 280 bytes
.../skins/sam/split-button-arrow-disabled.png | Bin 0 -> 185 bytes
.../skins/sam/split-button-arrow-focus.png | Bin 0 -> 185 bytes
.../skins/sam/split-button-arrow-hover.png | Bin 0 -> 185 bytes
.../assets/skins/sam/split-button-arrow.png | Bin 0 -> 185 bytes
.../web/yui/build/assets/skins/sam/sprite.png | Bin 0 -> 3745 bytes
.../web/yui/build/assets/skins/sam/tabview.css | 7 +
.../build/assets/skins/sam/treeview-loading.gif | Bin 0 -> 2673 bytes
.../build/assets/skins/sam/treeview-sprite.gif | Bin 0 -> 4326 bytes
.../web/yui/build/assets/skins/sam/treeview.css | 7 +
.../web/yui/build/assets/skins/sam/yuitest.css | 7 +
.../resources/web/yui/build/autocomplete/README | 212 +
.../autocomplete/assets/autocomplete-core.css | 7 +
.../assets/skins/sam/autocomplete-skin.css | 57 +
.../assets/skins/sam/autocomplete.css | 7 +
.../build/autocomplete/autocomplete-debug.js | 2917 ++++++
.../yui/build/autocomplete/autocomplete-min.js | 12 +
.../web/yui/build/autocomplete/autocomplete.js | 2873 ++++++
.../main/resources/web/yui/build/base/README | 29 +
.../resources/web/yui/build/base/base-min.css | 7 +
.../main/resources/web/yui/build/base/base.css | 82 +
.../main/resources/web/yui/build/button/README | 436 +
.../web/yui/build/button/assets/button-core.css | 44 +
.../button/assets/skins/sam/button-skin.css | 240 +
.../build/button/assets/skins/sam/button.css | 7 +
.../skins/sam/menu-button-arrow-disabled.png | Bin 0 -> 173 bytes
.../assets/skins/sam/menu-button-arrow.png | Bin 0 -> 173 bytes
.../skins/sam/split-button-arrow-active.png | Bin 0 -> 280 bytes
.../skins/sam/split-button-arrow-disabled.png | Bin 0 -> 185 bytes
.../skins/sam/split-button-arrow-focus.png | Bin 0 -> 185 bytes
.../skins/sam/split-button-arrow-hover.png | Bin 0 -> 185 bytes
.../assets/skins/sam/split-button-arrow.png | Bin 0 -> 185 bytes
.../web/yui/build/button/button-beta-debug.js | 4612 +++++++++
.../web/yui/build/button/button-beta-min.js | 11 +
.../web/yui/build/button/button-beta.js | 4534 ++++++++
.../resources/web/yui/build/calendar/README | 421 +
.../yui/build/calendar/assets/calendar-core.css | 132 +
.../web/yui/build/calendar/assets/calendar.css | 320 +
.../web/yui/build/calendar/assets/callt.gif | Bin 0 -> 93 bytes
.../web/yui/build/calendar/assets/calrt.gif | Bin 0 -> 94 bytes
.../web/yui/build/calendar/assets/calx.gif | Bin 0 -> 88 bytes
.../calendar/assets/skins/sam/calendar-skin.css | 361 +
.../calendar/assets/skins/sam/calendar.css | 7 +
.../web/yui/build/calendar/calendar-debug.js | 7168 +++++++++++++
.../web/yui/build/calendar/calendar-min.js | 18 +
.../web/yui/build/calendar/calendar.js | 7138 +++++++++++++
.../resources/web/yui/build/colorpicker/README | 21 +
.../colorpicker/assets/colorpicker_core.css | 6 +
.../yui/build/colorpicker/assets/hue_thumb.png | Bin 0 -> 195 bytes
.../build/colorpicker/assets/picker_mask.png | Bin 0 -> 12174 bytes
.../build/colorpicker/assets/picker_thumb.png | Bin 0 -> 192 bytes
.../assets/skins/sam/colorpicker-skin.css | 105 +
.../assets/skins/sam/colorpicker.css | 7 +
.../colorpicker/assets/skins/sam/hue_bg.png | Bin 0 -> 1120 bytes
.../assets/skins/sam/picker_mask.png | Bin 0 -> 12174 bytes
.../build/colorpicker/colorpicker-beta-debug.js | 1751 ++++
.../build/colorpicker/colorpicker-beta-min.js | 9 +
.../yui/build/colorpicker/colorpicker-beta.js | 1731 ++++
.../resources/web/yui/build/connection/README | 302 +
.../yui/build/connection/connection-debug.js | 1409 +++
.../web/yui/build/connection/connection-min.js | 8 +
.../web/yui/build/connection/connection.js | 1379 +++
.../resources/web/yui/build/container/README | 1129 ++
.../web/yui/build/container/assets/alrt16_1.gif | Bin 0 -> 971 bytes
.../web/yui/build/container/assets/blck16_1.gif | Bin 0 -> 591 bytes
.../yui/build/container/assets/close12_1.gif | Bin 0 -> 85 bytes
.../build/container/assets/container-core.css | 168 +
.../yui/build/container/assets/container.css | 325 +
.../web/yui/build/container/assets/hlp16_1.gif | Bin 0 -> 928 bytes
.../web/yui/build/container/assets/info16_1.gif | Bin 0 -> 601 bytes
.../assets/skins/sam/container-skin.css | 242 +
.../container/assets/skins/sam/container.css | 7 +
.../web/yui/build/container/assets/tip16_1.gif | Bin 0 -> 552 bytes
.../web/yui/build/container/assets/warn16_1.gif | Bin 0 -> 580 bytes
.../web/yui/build/container/container-debug.js | 8861 ++++++++++++++++
.../web/yui/build/container/container-min.js | 19 +
.../web/yui/build/container/container.js | 8837 ++++++++++++++++
.../yui/build/container/container_core-debug.js | 5059 +++++++++
.../yui/build/container/container_core-min.js | 13 +
.../web/yui/build/container/container_core.js | 5049 +++++++++
.../resources/web/yui/build/datasource/README | 140 +
.../build/datasource/datasource-beta-debug.js | 1430 +++
.../yui/build/datasource/datasource-beta-min.js | 8 +
.../web/yui/build/datasource/datasource-beta.js | 1365 +++
.../web/yui/build/datasource/datasource-min.js | 12 +
.../resources/web/yui/build/datatable/README | 446 +
.../build/datatable/assets/datatable-core.css | 86 +
.../yui/build/datatable/assets/datatable.css | 49 +
.../assets/skins/sam/datatable-skin.css | 243 +
.../datatable/assets/skins/sam/datatable.css | 7 +
.../datatable/assets/skins/sam/dt-arrow-dn.png | Bin 0 -> 116 bytes
.../datatable/assets/skins/sam/dt-arrow-up.png | Bin 0 -> 116 bytes
.../yui/build/datatable/datatable-beta-debug.js | 9538 +++++++++++++++++
.../yui/build/datatable/datatable-beta-min.js | 21 +
.../web/yui/build/datatable/datatable-beta.js | 9362 +++++++++++++++++
.../src/main/resources/web/yui/build/dom/README | 135 +
.../resources/web/yui/build/dom/dom-debug.js | 1277 +++
.../main/resources/web/yui/build/dom/dom-min.js | 8 +
.../src/main/resources/web/yui/build/dom/dom.js | 1241 +++
.../resources/web/yui/build/dragdrop/README | 180 +
.../web/yui/build/dragdrop/dragdrop-debug.js | 3731 +++++++
.../web/yui/build/dragdrop/dragdrop-min.js | 10 +
.../web/yui/build/dragdrop/dragdrop.js | 3622 +++++++
.../main/resources/web/yui/build/editor/README | 270 +
.../web/yui/build/editor/assets/editor-core.css | 573 ++
.../build/editor/assets/simpleeditor-core.css | 573 ++
.../editor/assets/skins/sam/blankimage.png | Bin 0 -> 2314 bytes
.../editor/assets/skins/sam/editor-knob.gif | Bin 0 -> 138 bytes
.../editor/assets/skins/sam/editor-skin.css | 707 ++
.../assets/skins/sam/editor-sprite-active.gif | Bin 0 -> 5614 bytes
.../editor/assets/skins/sam/editor-sprite.gif | Bin 0 -> 5690 bytes
.../build/editor/assets/skins/sam/editor.css | 7 +
.../assets/skins/sam/simpleeditor-skin.css | 707 ++
.../editor/assets/skins/sam/simpleeditor.css | 7 +
.../web/yui/build/editor/editor-beta-debug.js | 6133 +++++++++++
.../web/yui/build/editor/editor-beta-min.js | 22 +
.../web/yui/build/editor/editor-beta.js | 6082 +++++++++++
.../web/yui/build/editor/editor-debug.js | 8994 ++++++++++++++++
.../web/yui/build/editor/editor-min.js | 28 +
.../resources/web/yui/build/editor/editor.js | 8891 ++++++++++++++++
.../web/yui/build/editor/simpleeditor-debug.js | 6971 +++++++++++++
.../web/yui/build/editor/simpleeditor-min.js | 23 +
.../web/yui/build/editor/simpleeditor.js | 6890 +++++++++++++
.../main/resources/web/yui/build/element/README | 34 +
.../web/yui/build/element/element-beta-debug.js | 1017 ++
.../web/yui/build/element/element-beta-min.js | 8 +
.../web/yui/build/element/element-beta.js | 1003 ++
.../web/yui/build/element/element-min.js | 8 +
.../build/event-delegate/event-delegate-min.js | 7 +
.../main/resources/web/yui/build/event/README | 252 +
.../web/yui/build/event/event-debug.js | 2587 +++++
.../resources/web/yui/build/event/event-min.js | 11 +
.../main/resources/web/yui/build/event/event.js | 2562 +++++
.../main/resources/web/yui/build/fonts/README | 50 +
.../resources/web/yui/build/fonts/fonts-min.css | 7 +
.../resources/web/yui/build/fonts/fonts.css | 46 +
.../main/resources/web/yui/build/grids/README | 86 +
.../resources/web/yui/build/grids/grids-min.css | 7 +
.../resources/web/yui/build/grids/grids.css | 285 +
.../main/resources/web/yui/build/history/README | 62 +
.../web/yui/build/history/assets/blank.html | 18 +
.../web/yui/build/history/history-beta-debug.js | 768 ++
.../web/yui/build/history/history-beta-min.js | 7 +
.../web/yui/build/history/history-beta.js | 768 ++
.../resources/web/yui/build/imageloader/README | 23 +
.../imageloader-experimental-debug.js | 442 +
.../imageloader/imageloader-experimental-min.js | 7 +
.../imageloader/imageloader-experimental.js | 436 +
.../main/resources/web/yui/build/json/README | 22 +
.../resources/web/yui/build/json/json-debug.js | 396 +
.../resources/web/yui/build/json/json-min.js | 7 +
.../main/resources/web/yui/build/json/json.js | 396 +
.../main/resources/web/yui/build/logger/README | 116 +
.../web/yui/build/logger/assets/logger-core.css | 7 +
.../web/yui/build/logger/assets/logger.css | 57 +
.../logger/assets/skins/sam/logger-skin.css | 55 +
.../build/logger/assets/skins/sam/logger.css | 7 +
.../web/yui/build/logger/logger-debug.js | 2044 ++++
.../web/yui/build/logger/logger-min.js | 9 +
.../resources/web/yui/build/logger/logger.js | 2044 ++++
.../main/resources/web/yui/build/menu/README | 1130 ++
.../resources/web/yui/build/menu/assets/map.gif | Bin 0 -> 236 bytes
.../web/yui/build/menu/assets/menu-core.css | 238 +
.../web/yui/build/menu/assets/menu.css | 497 +
.../build/menu/assets/skins/sam/menu-skin.css | 325 +
.../yui/build/menu/assets/skins/sam/menu.css | 7 +
.../resources/web/yui/build/menu/menu-debug.js | 9666 ++++++++++++++++++
.../resources/web/yui/build/menu/menu-min.js | 15 +
.../main/resources/web/yui/build/menu/menu.js | 9619 +++++++++++++++++
.../web/yui/build/reset-fonts-grids/README | 32 +
.../reset-fonts-grids/reset-fonts-grids.css | 7 +
.../main/resources/web/yui/build/reset/README | 64 +
.../resources/web/yui/build/reset/reset-min.css | 7 +
.../resources/web/yui/build/reset/reset.css | 25 +
.../web/yui/build/resize/assets/resize-core.css | 173 +
.../resize/assets/skins/sam/layout_sprite.png | Bin 0 -> 1409 bytes
.../resize/assets/skins/sam/resize-skin.css | 142 +
.../build/resize/assets/skins/sam/resize.css | 7 +
.../web/yui/build/resize/resize-min.js | 10 +
.../web/yui/build/selector/selector-min.js | 8 +
.../main/resources/web/yui/build/slider/README | 114 +
.../web/yui/build/slider/slider-debug.js | 1976 ++++
.../web/yui/build/slider/slider-min.js | 9 +
.../resources/web/yui/build/slider/slider.js | 1935 ++++
.../main/resources/web/yui/build/tabview/README | 51 +
.../yui/build/tabview/assets/border_tabs.css | 58 +
.../web/yui/build/tabview/assets/loading.gif | Bin 0 -> 729 bytes
.../web/yui/build/tabview/assets/skin-sam.css | 77 +
.../tabview/assets/skins/sam/tabview-skin.css | 187 +
.../build/tabview/assets/skins/sam/tabview.css | 7 +
.../yui/build/tabview/assets/tabview-core.css | 122 +
.../web/yui/build/tabview/assets/tabview.css | 113 +
.../web/yui/build/tabview/tabview-debug.js | 949 ++
.../web/yui/build/tabview/tabview-min.js | 8 +
.../resources/web/yui/build/tabview/tabview.js | 941 ++
.../resources/web/yui/build/treeview/README | 211 +
.../yui/build/treeview/assets/folder-styles.css | 66 +
.../web/yui/build/treeview/assets/images/lm.gif | Bin 0 -> 666 bytes
.../yui/build/treeview/assets/images/lmh.gif | Bin 0 -> 677 bytes
.../web/yui/build/treeview/assets/images/ln.gif | Bin 0 -> 142 bytes
.../build/treeview/assets/images/loading.gif | Bin 0 -> 2673 bytes
.../web/yui/build/treeview/assets/images/lp.gif | Bin 0 -> 641 bytes
.../yui/build/treeview/assets/images/lph.gif | Bin 0 -> 651 bytes
.../web/yui/build/treeview/assets/images/tm.gif | Bin 0 -> 1281 bytes
.../yui/build/treeview/assets/images/tmh.gif | Bin 0 -> 1295 bytes
.../web/yui/build/treeview/assets/images/tn.gif | Bin 0 -> 504 bytes
.../web/yui/build/treeview/assets/images/tp.gif | Bin 0 -> 1243 bytes
.../yui/build/treeview/assets/images/tph.gif | Bin 0 -> 1263 bytes
.../yui/build/treeview/assets/images/vline.gif | Bin 0 -> 503 bytes
.../assets/skins/sam/treeview-loading.gif | Bin 0 -> 2673 bytes
.../treeview/assets/skins/sam/treeview-skin.css | 198 +
.../assets/skins/sam/treeview-sprite.gif | Bin 0 -> 4326 bytes
.../treeview/assets/skins/sam/treeview.css | 7 +
.../yui/build/treeview/assets/sprite-menu.gif | Bin 0 -> 452 bytes
.../yui/build/treeview/assets/sprite-orig.gif | Bin 0 -> 3289 bytes
.../build/treeview/assets/treeview-2.8.1.css | 7 +
.../yui/build/treeview/assets/treeview-core.css | 6 +
.../build/treeview/assets/treeview-loading.gif | Bin 0 -> 2673 bytes
.../yui/build/treeview/assets/treeview-menu.css | 65 +
.../web/yui/build/treeview/assets/treeview.css | 7 +
.../web/yui/build/treeview/treeview-2.8.1.js | 3989 ++++++++
.../web/yui/build/treeview/treeview-debug.js | 3435 +++++++
.../web/yui/build/treeview/treeview-min.js | 11 +
.../web/yui/build/treeview/treeview.js | 3366 ++++++
.../resources/web/yui/build/utilities/README | 40 +
.../web/yui/build/utilities/utilities.js | 36 +
.../web/yui/build/yahoo-dom-event/README | 35 +
.../build/yahoo-dom-event/yahoo-dom-event.js | 12 +
.../main/resources/web/yui/build/yahoo/README | 106 +
.../web/yui/build/yahoo/yahoo-debug.js | 986 ++
.../resources/web/yui/build/yahoo/yahoo-min.js | 7 +
.../main/resources/web/yui/build/yahoo/yahoo.js | 986 ++
.../resources/web/yui/build/yuiloader/README | 83 +
.../yui/build/yuiloader/yuiloader-beta-debug.js | 1409 +++
.../yui/build/yuiloader/yuiloader-beta-min.js | 8 +
.../web/yui/build/yuiloader/yuiloader-beta.js | 1409 +++
.../main/resources/web/yui/build/yuitest/README | 34 +
.../yuitest/assets/skins/sam/yuitest-skin.css | 7 +
.../build/yuitest/assets/skins/sam/yuitest.css | 7 +
.../web/yui/build/yuitest/assets/testlogger.css | 33 +
.../yui/build/yuitest/assets/yuitest-core.css | 7 +
.../web/yui/build/yuitest/yuitest-beta-debug.js | 2669 +++++
.../web/yui/build/yuitest/yuitest-beta-min.js | 10 +
.../web/yui/build/yuitest/yuitest-beta.js | 2669 +++++
dependencies/pom.xml | 1 +
products/stratos/modules/distribution/pom.xml | 7 +-
.../modules/distribution/src/assembly/bin.xml | 13 +-
832 files changed, 289792 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6b1dba58/dependencies/org.wso2.carbon.ui/pom.xml
----------------------------------------------------------------------
diff --git a/dependencies/org.wso2.carbon.ui/pom.xml b/dependencies/org.wso2.carbon.ui/pom.xml
new file mode 100644
index 0000000..8b147d4
--- /dev/null
+++ b/dependencies/org.wso2.carbon.ui/pom.xml
@@ -0,0 +1,245 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (c) WSO2 Inc. (http://wso2.com) All Rights Reserved.
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (the "License");
+ ~ you may not use this file except in compliance with the License.
+ ~ You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <parent>
+ <groupId>org.wso2.carbon</groupId>
+ <artifactId>carbon-kernel</artifactId>
+ <version>4.2.0</version>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.stratos</groupId>
+ <artifactId>org.wso2.carbon.ui</artifactId>
+ <packaging>bundle</packaging>
+ <name>WSO2 Carbon - UI</name>
+ <description>org.wso2.carbon.ui patch version for apache stratos</description>
+ <version>4.2.0-stratos</version>
+ <url>http://wso2.org</url>
+
+ <repositories>
+ <repository>
+ <id>wso2-nexus</id>
+ <name>WSO2 internal Repository</name>
+ <url>http://maven.wso2.org/nexus/content/groups/wso2-public/</url>
+ <releases>
+ <enabled>true</enabled>
+ <updatePolicy>daily</updatePolicy>
+ <checksumPolicy>ignore</checksumPolicy>
+ </releases>
+ </repository>
+ </repositories>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <id>wso2-maven2-repository-1</id>
+ <url>http://dist.wso2.org/maven2</url>
+ </pluginRepository>
+ <pluginRepository>
+ <id>wso2-maven2-repository-2</id>
+ <url>http://dist.wso2.org/snapshots/maven2</url>
+ </pluginRepository>
+ </pluginRepositories>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.eclipse.osgi</groupId>
+ <artifactId>org.eclipse.osgi</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.osgi</groupId>
+ <artifactId>org.eclipse.osgi.services</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ws.commons.axiom.wso2</groupId>
+ <artifactId>axiom</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.tiles.wso2</groupId>
+ <artifactId>tiles-jsp</artifactId>
+ <version>2.0.5.wso2v2</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.tiles</groupId>
+ <artifactId>tiles-jsp</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>commons-digester</groupId>
+ <artifactId>commons-digester</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>commons-beanutils</groupId>
+ <artifactId>commons-beanutils</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.wso2.carbon</groupId>
+ <artifactId>org.wso2.carbon.core</artifactId>
+ <version>4.2.0</version>
+ <!--<exclusions>
+ <exclusion>
+ <groupId>org.wso2.carbon</groupId>
+ <artifactId>org.wso2.carbon.tomcat</artifactId>
+ </exclusion>
+ </exclusions>-->
+ </dependency>
+ <dependency>
+ <groupId>org.wso2.carbon</groupId>
+ <artifactId>org.wso2.carbon.authenticator.proxy</artifactId>
+ <version>4.2.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.wso2.carbon</groupId>
+ <artifactId>org.wso2.carbon.core.common</artifactId>
+ <version>4.2.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.wso2.carbon</groupId>
+ <artifactId>org.wso2.carbon.logging</artifactId>
+ <version>4.2.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.wso2.carbon</groupId>
+ <artifactId>org.wso2.carbon.utils</artifactId>
+ <version>4.2.0</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-stax-api_1.0_spec</artifactId>
+ </exclusion>
+ <!--exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </exclusion-->
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.wso2.carbon</groupId>
+ <artifactId>org.wso2.carbon.registry.core</artifactId>
+ <version>4.2.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.axis2.wso2</groupId>
+ <artifactId>axis2</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.equinox</groupId>
+ <artifactId>org.eclipse.equinox.http.servlet</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.equinox</groupId>
+ <artifactId>org.apache.jasper.glassfish</artifactId>
+ <version>${version.equinox.jasper}</version>
+ </dependency>
+ <!--dependency>
+ <groupId>org.eclipse.equinox</groupId>
+ <artifactId>org.apache.jasper</artifactId>
+ </dependency-->
+ <dependency>
+ <groupId>org.eclipse.equinox</groupId>
+ <artifactId>javax.servlet.jsp</artifactId>
+ <version>${version.equinox.javax.servlet.jsp}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.wso2.carbon</groupId>
+ <artifactId>org.wso2.carbon.core.commons.stub</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet.jsp.jstl.wso2</groupId>
+ <artifactId>jstl</artifactId>
+ <version>${orbit.version.jstl}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.servlet.jsp.jstl</groupId>
+ <artifactId>jstl-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.servlet.jsp.jstl</groupId>
+ <artifactId>jstl-api</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.equinox</groupId>
+ <artifactId>javax.servlet</artifactId>
+ <version>${version.equinox.javax.servlet}</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-scr-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
+ <Bundle-Name>${project.artifactId}</Bundle-Name>
+ <Private-Package>
+ org.wso2.carbon.ui.internal
+ </Private-Package>
+ <Export-Package>
+ !org.wso2.carbon.ui.internal,
+ org.wso2.carbon.ui.*
+ </Export-Package>
+ <Import-Package>
+ !org.wso2.carbon.ui.*,
+ org.wso2.carbon.core.commons.stub.*;version="${carbon.platform.package.import.version.range}",
+ org.wso2.carbon.core.common;version="0.0.0",
+ org.apache.axis2.*; version="${imp.pkg.version.axis2}",
+ org.apache.axiom.*; version="${imp.pkg.version.axiom}",
+ org.wso2.carbon.core.*,
+ javax.xml.stream.*; version="1.0.1",
+ javax.servlet; version="${imp.pkg.version.javax.servlet}",
+ javax.servlet.http; version="${imp.pkg.version.javax.servlet}",
+ javax.servlet.jsp; version="${imp.pkg.version.javax.servlet.jsp}"
+ javax.servlet.jsp.tagext; version="${imp.pkg.version.javax.servlet.jsp}",
+ org.eclipse.equinox.http.helper,
+ org.apache.tiles.*;version="2.0.5",
+ org.wso2.carbon.registry.core.service,
+ *;resolution:=optional
+ </Import-Package>
+ <DynamicImport-Package>*</DynamicImport-Package>
+ <Bundle-ClassPath>.</Bundle-ClassPath>
+ <Carbon-Component>UIBundle</Carbon-Component>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6b1dba58/dependencies/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/AbstractCarbonUIAuthenticator.java
----------------------------------------------------------------------
diff --git a/dependencies/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/AbstractCarbonUIAuthenticator.java b/dependencies/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/AbstractCarbonUIAuthenticator.java
new file mode 100644
index 0000000..f7a0489
--- /dev/null
+++ b/dependencies/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/AbstractCarbonUIAuthenticator.java
@@ -0,0 +1,516 @@
+/*
+ * Copyright (c) WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
+ *
+ * WSO2 Inc. 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.wso2.carbon.ui;
+
+import java.rmi.RemoteException;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.Enumeration;
+import java.util.List;
+import java.util.Map;
+import java.util.Properties;
+
+import javax.servlet.ServletContext;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpSession;
+
+import org.apache.axis2.AxisFault;
+import org.apache.axis2.client.Options;
+import org.apache.axis2.client.ServiceClient;
+import org.apache.axis2.context.ConfigurationContext;
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.context.OperationContext;
+import org.apache.axis2.description.WSDL2Constants;
+import org.apache.axis2.transport.http.HTTPConstants;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.wso2.carbon.CarbonConstants;
+import org.wso2.carbon.core.common.AuthenticationException;
+import org.wso2.carbon.core.commons.stub.loggeduserinfo.ExceptionException;
+import org.wso2.carbon.core.commons.stub.loggeduserinfo.LoggedUserInfo;
+import org.wso2.carbon.core.commons.stub.loggeduserinfo.LoggedUserInfoAdminStub;
+import org.wso2.carbon.core.security.AuthenticatorsConfiguration;
+import org.wso2.carbon.registry.core.utils.UUIDGenerator;
+import org.wso2.carbon.ui.internal.CarbonUIServiceComponent;
+import org.wso2.carbon.utils.CarbonUtils;
+import org.wso2.carbon.utils.ServerConstants;
+import org.wso2.carbon.utils.multitenancy.MultitenantConstants;
+import org.wso2.carbon.utils.multitenancy.MultitenantUtils;
+
+/**
+ * An abstract implementation if CarbonUIAuthenticator.
+ */
+public abstract class AbstractCarbonUIAuthenticator implements CarbonUIAuthenticator {
+
+ private static final int DEFAULT_PRIORITY_LEVEL = 5;
+
+ public static final String USERNAME = "username";
+ public static final String PASSWORD = "password";
+ public static final String REMEMBER_ME = "rememberMe";
+
+ protected static final Log log = LogFactory.getLog(AbstractCarbonUIAuthenticator.class);
+ private static Log audit = CarbonConstants.AUDIT_LOG;
+
+ /**
+ * In default implementation this will read the authenticator configuration and will return true
+ * if authenticator is disabled in the configuration.
+ *
+ * @return <code>true</code> if authenticator is disabled, else <code>false</code>.
+ */
+ public boolean isDisabled() {
+ AuthenticatorsConfiguration.AuthenticatorConfig authenticatorConfig = getAuthenticatorConfig();
+ return authenticatorConfig != null && authenticatorConfig.isDisabled();
+ }
+
+ /**
+ * In default implementation this will read the priority from authenticator configuration.
+ *
+ * @return The priority value.
+ */
+ public int getPriority() {
+ AuthenticatorsConfiguration.AuthenticatorConfig authenticatorConfig = getAuthenticatorConfig();
+ if (authenticatorConfig != null && authenticatorConfig.getPriority() > 0) {
+ return authenticatorConfig.getPriority();
+ }
+
+ return DEFAULT_PRIORITY_LEVEL;
+ }
+
+ /**
+ * In default implementation this will return some SSO links to be skipped. TODO : check whether
+ * we can move this t SSO authenticators.
+ *
+ * @return A list with following urls.
+ */
+ public List<String> getSessionValidationSkippingUrls() {
+ List<String> skippingUrls = new ArrayList<String>(Arrays.asList("/samlsso",
+ "sso-saml/login.jsp", "stratos-sso/login_ajaxprocessor.jsp",
+ "sso-saml/redirect_ajaxprocessor.jsp", "stratos-sso/redirect_ajaxprocessor.jsp",
+ "sso-acs/redirect_ajaxprocessor.jsp", "stratos-auth/redirect_ajaxprocessor.jsp"));
+
+ AuthenticatorsConfiguration.AuthenticatorConfig authenticatorConfig = getAuthenticatorConfig();
+ if (authenticatorConfig != null && authenticatorConfig.getPriority() > 0) {
+ skippingUrls.addAll(authenticatorConfig.getSessionValidationSkippingUrls());
+ }
+
+ return skippingUrls;
+ }
+
+ /**
+ * In default implementation this will return an empty list.
+ *
+ * @return An empty list.
+ */
+ public List<String> getAuthenticationSkippingUrls() {
+
+ AuthenticatorsConfiguration.AuthenticatorConfig authenticatorConfig = getAuthenticatorConfig();
+
+ if (authenticatorConfig != null) {
+ return authenticatorConfig.getAuthenticationSkippingUrls();
+ } else {
+ return new ArrayList<String>(0);
+ }
+ }
+
+ /**
+ *
+ * @param credentials
+ * @param rememberMe
+ * @param client
+ * @param request
+ * @throws AuthenticationException
+ */
+ public abstract String doAuthentication(Object credentials, boolean isRememberMe,
+ ServiceClient client, HttpServletRequest request) throws AuthenticationException;
+
+ /**
+ *
+ * @param serviceClient
+ * @param httpServletRequest
+ * @throws AxisFault
+ */
+ @SuppressWarnings("rawtypes")
+ public abstract void handleRememberMe(Map transportHeaders,
+ HttpServletRequest httpServletRequest) throws AuthenticationException;
+
+ /**
+ *
+ */
+ protected boolean isAdminCookieSet() {
+ return false;
+ }
+
+
+ /**
+ * Regenerates session id after each login attempt.
+ * @param request
+ */
+ private void regenrateSession(HttpServletRequest request) {
+
+ HttpSession oldSession = request.getSession();
+
+ Enumeration attrNames = oldSession.getAttributeNames();
+ Properties props = new Properties();
+
+ while (attrNames != null && attrNames.hasMoreElements()) {
+ String key = (String) attrNames.nextElement();
+ props.put(key, oldSession.getAttribute(key));
+ }
+
+ oldSession.invalidate();
+ HttpSession newSession = request.getSession(true);
+ attrNames = props.keys();
+
+ while (attrNames != null && attrNames.hasMoreElements()) {
+ String key = (String) attrNames.nextElement();
+ newSession.setAttribute(key, props.get(key));
+ }
+ }
+
+ /**
+ *
+ * @param credentials
+ * @param rememberMe
+ * @param request
+ * @throws AxisFault
+ */
+ @SuppressWarnings("rawtypes")
+ public void handleSecurity(Object credentials, boolean rememberMe, HttpServletRequest request)
+ throws AuthenticationException {
+
+ regenrateSession(request);
+
+ String backendServerURL = getBackendUrl(request);
+ HttpSession session = request.getSession();
+ LoggedUserInfoAdminStub stub;
+ String loggedinUser = null;
+
+ if (backendServerURL == null) {
+ throw new AuthenticationException("Server not initialized properly.");
+ }
+
+ try {
+
+ stub = getLoggedUserInfoAdminStub(backendServerURL, session);
+ ServiceClient client = stub._getServiceClient();
+
+ // In side this method - Authenticators should complete the authentication with the
+ // back-end service Or - it should set the required authentication headers, there are
+ // required in future service calls. Also each Authenticator should know how to handle
+ // the Remember Me logic.
+ loggedinUser = doAuthentication(credentials, rememberMe, client, request);
+
+ if (isAdminCookieSet()) {
+ // If the UI Authenticator takes the responsibility of setting the Admin Cookie,it
+ // has to set the value in the session with the key
+ // ServerConstants.ADMIN_SERVICE_AUTH_TOKEN.
+ client.getServiceContext().setProperty(HTTPConstants.COOKIE_STRING,
+ session.getAttribute(ServerConstants.ADMIN_SERVICE_AUTH_TOKEN));
+ }
+
+ // By now, user is authenticated or proper authentication headers been set. This call
+ // set retrieve user authorization information from the back-end.
+ setUserAuthorizationInfo(stub, session);
+
+ if (!isAdminCookieSet()) {
+ // If authentication successful set the cookie.
+ // Authenticators them selves have not set the cookie.
+ setAdminCookie(session, client, null);
+ }
+
+ // Process remember me data in reply
+ if (rememberMe) {
+ OperationContext operationContext = client.getLastOperationContext();
+ MessageContext inMessageContext;
+ Map transportHeaders;
+ inMessageContext = operationContext
+ .getMessageContext(WSDL2Constants.MESSAGE_LABEL_IN);
+ transportHeaders = (Map) inMessageContext
+ .getProperty(MessageContext.TRANSPORT_HEADERS);
+ handleRememberMe(transportHeaders, request);
+ }
+
+ onSuccessAdminLogin(request, loggedinUser);
+
+ } catch (RemoteException e) {
+ throw new AuthenticationException(e.getMessage(), e);
+ } catch (Exception e) {
+ throw new AuthenticationException(
+ "Exception occurred while accessing user authorization info", e);
+ }
+ }
+
+ /**
+ *
+ */
+ public boolean skipLoginPage() {
+ return false;
+ }
+
+ /**
+ *
+ * @param request
+ * @param userName
+ * @throws Exception
+ */
+ public void onSuccessAdminLogin(HttpServletRequest request, String userName) throws Exception {
+
+ HttpSession session = request.getSession();
+
+ String tenantDomain = MultitenantUtils.getTenantDomain(userName);
+ if (tenantDomain != null && tenantDomain.trim().length() > 0) {
+ session.setAttribute(MultitenantConstants.TENANT_DOMAIN, tenantDomain);
+ // we will make it an attribute on request as well
+ if (request.getAttribute(MultitenantConstants.TENANT_DOMAIN) == null) {
+ request.setAttribute(MultitenantConstants.TENANT_DOMAIN, tenantDomain);
+ }
+ } else {
+ audit.info("User with null domain tried to login.");
+ return;
+ }
+
+ if (session.getAttribute(CarbonConstants.LOGGED_USER) != null) {
+ userName = (String) session
+ .getAttribute(CarbonConstants.LOGGED_USER);
+ }
+ request.setAttribute(AbstractCarbonUIAuthenticator.USERNAME, userName);
+
+ String serverURL = getBackendUrl(request);
+ if (serverURL == null) {
+ throw new AuthenticationException("Server not initialized properly.");
+ }
+
+ String cookie = (String) session.getAttribute(ServerConstants.ADMIN_SERVICE_COOKIE);
+
+ // For local transport, cookie might be null.
+ if ((serverURL == null || cookie == null) && (!CarbonUtils.isRunningOnLocalTransportMode())) {
+ throw new Exception("Cannot proceed logging in. The server URL and/or Cookie is null");
+ }
+
+ if (tenantDomain != null
+ && MultitenantConstants.SUPER_TENANT_DOMAIN_NAME.equals(tenantDomain.trim())) {
+ request.getSession().setAttribute(MultitenantConstants.IS_SUPER_TENANT, "true");
+ } else if (tenantDomain != null && tenantDomain.trim().length() > 0) {
+ session.setAttribute(MultitenantConstants.TENANT_DOMAIN, tenantDomain);
+ // we will make it an attribute on request as well
+ if (request.getAttribute(MultitenantConstants.TENANT_DOMAIN) == null) {
+ request.setAttribute(MultitenantConstants.TENANT_DOMAIN, tenantDomain);
+ }
+ } else {
+ audit.info("User with null domain tried to login.");
+ return;
+ }
+
+ String tenantAwareUserName = MultitenantUtils.getTenantAwareUsername(userName);
+
+ setUserInformation(cookie, serverURL, session);
+
+ session.setAttribute(CarbonConstants.LOGGED_USER, tenantAwareUserName);
+ session.getServletContext().setAttribute(CarbonConstants.LOGGED_USER, tenantAwareUserName);
+ session.setAttribute("authenticated", Boolean.parseBoolean("true"));
+
+ UIAuthenticationExtender[] uiAuthenticationExtenders = CarbonUIServiceComponent
+ .getUIAuthenticationExtenders();
+ for (UIAuthenticationExtender uiAuthenticationExtender : uiAuthenticationExtenders) {
+ uiAuthenticationExtender.onSuccessAdminLogin(request, tenantAwareUserName,
+ tenantDomain, serverURL);
+ }
+ }
+
+ /**
+ *
+ * @param cookie
+ * @param backendServerURL
+ * @param session
+ * @throws RemoteException
+ */
+ protected void setUserInformation(String cookie, String backendServerURL, HttpSession session)
+ throws RemoteException {
+ try {
+
+ if (session.getAttribute(ServerConstants.USER_PERMISSIONS) != null) {
+ return;
+ }
+
+ ServletContext servletContext = session.getServletContext();
+ ConfigurationContext configContext = (ConfigurationContext) servletContext
+ .getAttribute(CarbonConstants.CONFIGURATION_CONTEXT);
+
+ LoggedUserInfoAdminStub stub = new LoggedUserInfoAdminStub(configContext,
+ backendServerURL + "LoggedUserInfoAdmin");
+ ServiceClient client = stub._getServiceClient();
+ Options options = client.getOptions();
+ options.setManageSession(true);
+ options.setProperty(HTTPConstants.COOKIE_STRING, cookie);
+ org.wso2.carbon.core.commons.stub.loggeduserinfo.LoggedUserInfo userInfo = stub
+ .getUserInfo();
+
+ String[] permissionArray = userInfo.getUIPermissionOfUser();
+ ArrayList<String> list = new ArrayList<String>();
+ for (String permission : permissionArray) {
+ list.add(permission);
+ }
+
+ session.setAttribute(ServerConstants.USER_PERMISSIONS, list);
+ if (userInfo.getPasswordExpiration() != null) {
+ session.setAttribute(ServerConstants.PASSWORD_EXPIRATION,
+ userInfo.getPasswordExpiration());
+ }
+ } catch (AxisFault e) {
+ throw e;
+ } catch (RemoteException e) {
+ throw e;
+ } catch (Exception e) {
+ throw new AxisFault("Exception occured", e);
+ }
+ }
+
+ /**
+ *
+ * @param cookieValue
+ * @return
+ */
+ protected static String getUserNameFromCookie(String cookieValue) {
+ int index = cookieValue.indexOf('-');
+ return cookieValue.substring(0, index);
+ }
+
+ /**
+ *
+ * @param session
+ * @param serviceClient
+ * @param rememberMeCookie
+ * @throws AxisFault
+ */
+ protected void setAdminCookie(HttpSession session, ServiceClient serviceClient,
+ String rememberMeCookie) throws AxisFault {
+ String cookie = (String) serviceClient.getServiceContext().getProperty(
+ HTTPConstants.COOKIE_STRING);
+
+ if (cookie == null) {
+ // For local transport - the cookie will be null.
+ // This generated cookie cannot be used for any form authentication with the backend.
+ // This is done to be backward compatible.
+ cookie = UUIDGenerator.generateUUID();
+ }
+
+ if (rememberMeCookie != null) {
+ cookie = cookie + "; " + rememberMeCookie;
+ }
+
+ if (session != null) {
+ session.setAttribute(ServerConstants.ADMIN_SERVICE_AUTH_TOKEN, cookie);
+ }
+ }
+
+ /**
+ *
+ * @param backendServerURL
+ * @param session
+ * @return
+ * @throws AxisFault
+ */
+ private LoggedUserInfoAdminStub getLoggedUserInfoAdminStub(String backendServerURL,
+ HttpSession session) throws AxisFault {
+
+ ServletContext servletContext = session.getServletContext();
+ ConfigurationContext configContext = (ConfigurationContext) servletContext
+ .getAttribute(CarbonConstants.CONFIGURATION_CONTEXT);
+
+ if (configContext == null) {
+ String msg = "Configuration context is null.";
+ log.error(msg);
+ throw new AxisFault(msg);
+ }
+
+ return new LoggedUserInfoAdminStub(configContext, backendServerURL + "LoggedUserInfoAdmin");
+ }
+
+ /**
+ *
+ * @param loggedUserInfoAdminStub
+ * @param session
+ * @throws ExceptionException
+ * @throws RemoteException
+ */
+ private void setUserAuthorizationInfo(LoggedUserInfoAdminStub loggedUserInfoAdminStub,
+ HttpSession session) throws ExceptionException, RemoteException {
+
+ ServiceClient client = loggedUserInfoAdminStub._getServiceClient();
+ Options options = client.getOptions();
+ options.setManageSession(true);
+
+ LoggedUserInfo userInfo = loggedUserInfoAdminStub.getUserInfo();
+
+ String[] permissionArray = userInfo.getUIPermissionOfUser();
+ ArrayList<String> list = new ArrayList<String>();
+
+ Collections.addAll(list, permissionArray);
+
+ session.setAttribute(ServerConstants.USER_PERMISSIONS, list);
+ if (userInfo.getPasswordExpiration() != null) {
+ session.setAttribute(ServerConstants.PASSWORD_EXPIRATION,
+ userInfo.getPasswordExpiration());
+ }
+
+ if (session.getAttribute(CarbonConstants.LOGGED_USER) == null) {
+ session.setAttribute(CarbonConstants.LOGGED_USER, userInfo.getUserName());
+ }
+
+ }
+
+ /**
+ *
+ * @param request
+ * @return
+ */
+ private String getBackendUrl(HttpServletRequest request) {
+
+ HttpSession session = request.getSession();
+ ServletContext servletContext = session.getServletContext();
+
+ String backendServerURL = request.getParameter("backendURL");
+
+ if (backendServerURL == null) {
+ backendServerURL = CarbonUIUtil.getServerURL(servletContext, request.getSession());
+ }
+
+ if (backendServerURL != null) {
+ session.setAttribute(CarbonConstants.SERVER_URL, backendServerURL);
+ }
+
+ return backendServerURL;
+ }
+
+ /**
+ *
+ * @return
+ */
+ private AuthenticatorsConfiguration.AuthenticatorConfig getAuthenticatorConfig() {
+
+ AuthenticatorsConfiguration authenticatorsConfiguration = AuthenticatorsConfiguration
+ .getInstance();
+ AuthenticatorsConfiguration.AuthenticatorConfig authenticatorConfig = authenticatorsConfiguration
+ .getAuthenticatorConfig(getAuthenticatorName());
+
+ return authenticatorConfig;
+ }
+
+}