Repository: karaf-decanter Updated Branches: refs/heads/master a1cebd36d -> 4d14318e4
[KARAF-4463] Secure Kibana 4.x Project: http://git-wip-us.apache.org/repos/asf/karaf-decanter/repo Commit: http://git-wip-us.apache.org/repos/asf/karaf-decanter/commit/4d14318e Tree: http://git-wip-us.apache.org/repos/asf/karaf-decanter/tree/4d14318e Diff: http://git-wip-us.apache.org/repos/asf/karaf-decanter/diff/4d14318e Branch: refs/heads/master Commit: 4d14318e4455d7d7efaedd590ad0fecd88a0e039 Parents: a1cebd3 Author: Jean-Baptiste Onofré <[email protected]> Authored: Mon Apr 11 08:40:46 2016 +0200 Committer: Jean-Baptiste Onofré <[email protected]> Committed: Mon Apr 11 08:40:46 2016 +0200 ---------------------------------------------------------------------- kibana-4.x/src/main/resources/WEB-INF/web.xml | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/4d14318e/kibana-4.x/src/main/resources/WEB-INF/web.xml ---------------------------------------------------------------------- diff --git a/kibana-4.x/src/main/resources/WEB-INF/web.xml b/kibana-4.x/src/main/resources/WEB-INF/web.xml new file mode 100644 index 0000000..86b2aac --- /dev/null +++ b/kibana-4.x/src/main/resources/WEB-INF/web.xml @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="UTF-8"?> +<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5"> + + <!-- + + 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. + --> + + <display-name>Kibana</display-name> + + <welcome-file-list> + <welcome-file>index.html</welcome-file> + </welcome-file-list> + + <security-constraint> + <display-name>authenticated</display-name> + <web-resource-collection> + <web-resource-name>All files</web-resource-name> + <description /> + <url-pattern>/*</url-pattern> + </web-resource-collection> + <auth-constraint> + <description /> + <role-name>admin</role-name> + </auth-constraint> + </security-constraint> + <login-config> + <auth-method>BASIC</auth-method> + <realm-name>karaf</realm-name> + </login-config> + <security-role> + <description /> + <role-name>admin</role-name> + </security-role> + +</web-app>
