You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jl...@apache.org on 2021/06/17 09:00:38 UTC
[tomee] branch master updated: Fix wrong header
This is an automated email from the ASF dual-hosted git repository.
jlmonteiro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee.git
The following commit(s) were added to refs/heads/master by this push:
new 0f5efb8 Fix wrong header
0f5efb8 is described below
commit 0f5efb80957d62a6985224dcd8117a9931f003b0
Author: Jean-Louis Monteiro <jl...@tomitribe.com>
AuthorDate: Thu Jun 17 10:59:44 2021 +0200
Fix wrong header
---
.../src/main/webapp/WEB-INF/web.xml | 30 +++++++++++++---------
1 file changed, 18 insertions(+), 12 deletions(-)
diff --git a/examples/security-tomcat-user-identitystore/src/main/webapp/WEB-INF/web.xml b/examples/security-tomcat-user-identitystore/src/main/webapp/WEB-INF/web.xml
index a2f32af..c728c57 100644
--- a/examples/security-tomcat-user-identitystore/src/main/webapp/WEB-INF/web.xml
+++ b/examples/security-tomcat-user-identitystore/src/main/webapp/WEB-INF/web.xml
@@ -1,17 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (c) 2015, 2020 Oracle and/or its affiliates. All rights reserved.
- This program and the accompanying materials are made available under the
- terms of the Eclipse Public License v. 2.0, which is available at
- http://www.eclipse.org/legal/epl-2.0.
- This Source Code may also be made available under the following Secondary
- Licenses when the conditions for such availability set forth in the
- Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- version 2 with the GNU Classpath Exception, which is available at
- https://www.gnu.org/software/classpath/license.html.
- SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.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.
+-->
<web-app
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -19,7 +22,10 @@
version="3.1"
>
- <!-- Security constraints -->
+ <!--
+ Security constraints to lock down the admin endpoints
+ Basically everything but GET operations need authentication and the right permissions
+ -->
<security-constraint>
<web-resource-collection>