You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2022/04/01 07:40:33 UTC

[incubator-streampipes] branch dev updated: [STREAMPIPES-519] Remove obsolete shiro references

This is an automated email from the ASF dual-hosted git repository.

riemer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git


The following commit(s) were added to refs/heads/dev by this push:
     new 3503a2a  [STREAMPIPES-519] Remove obsolete shiro references
3503a2a is described below

commit 3503a2a181eb5f6535a6ea66d357386375b5195b
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Fri Apr 1 09:39:42 2022 +0200

    [STREAMPIPES-519] Remove obsolete shiro references
---
 pom.xml                                          | 11 ----
 streampipes-backend/src/main/resources/shiro.ini | 76 ------------------------
 2 files changed, 87 deletions(-)

diff --git a/pom.xml b/pom.xml
index eb2b2b7..6204e8f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -103,7 +103,6 @@
 	<rdf4j.version>3.5.0</rdf4j.version>
 	<rendersnake.version>1.9.0</rendersnake.version>
 	<retrofit.version>2.5.0</retrofit.version>
-	<shiro.version>1.7.0</shiro.version>
 	<siddhi.version>5.1.20</siddhi.version>
 	<simple-java-mail.version>6.7.5</simple-java-mail.version>
 	<slf4j.version>1.7.30</slf4j.version>
@@ -505,16 +504,6 @@ IoT data streams.
 					<version>${flink.version}</version>
 				</dependency>
 				<dependency>
-					<groupId>org.apache.shiro</groupId>
-					<artifactId>shiro-core</artifactId>
-					<version>${shiro.version}</version>
-				</dependency>
-				<dependency>
-					<groupId>org.apache.shiro</groupId>
-					<artifactId>shiro-web</artifactId>
-					<version>${shiro.version}</version>
-				</dependency>
-				<dependency>
 					<groupId>org.codehaus.plexus</groupId>
 					<artifactId>plexus-component-annotations</artifactId>
 					<version>${plexus-component-annotations.version}</version>
diff --git a/streampipes-backend/src/main/resources/shiro.ini b/streampipes-backend/src/main/resources/shiro.ini
deleted file mode 100644
index 8851e0b..0000000
--- a/streampipes-backend/src/main/resources/shiro.ini
+++ /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.
-
-# Users and their roles
-[users]
-
-# Roles with assigned permissions
-[roles]
-
-[main]
-#sessionManager = org.apache.shiro.web.session.mgt.DefaultWebSessionManager
-#securityManager.sessionManager = $sessionManager
-
-rememberMe = org.apache.shiro.web.mgt.CookieRememberMeManager
-securityManager.rememberMeManager = $rememberMe
-
-customFilter = org.apache.streampipes.rest.authentication.StreamPipesFilter
-StreamPipeRealm = org.apache.streampipes.user.management.authentication.StreamPipesRealm
-authc.loginUrl = /login.html
-
-securityManager.rememberMeManager.cookie.name = StreamPipesRememberMe
-securityManager.rememberMeManager.cookie.maxAge = 1000000000
-# sessionIdCookie is class org.apache.shiro.web.session.mgt.ServletContainerSessionManager
-# securityManager.sessionManager.sessionIdCookie.name = StreamPipeCookie
-
-[urls]
-/api/user/* = anon
-/api/v2/authenticate = anon
-/api/v2/admin/login = anon
-/api/v2/admin/register = anon
-/api/v2/admin/sso = anon
-/api/v2/setup/configuration = anon
-/api/v2/setup/configured = anon
-/api/v2/setup/install = anon
-/api/v2/setup/install/* = anon
-/api/v2/admin/configuration = anon
-/api/v2/admin/authc = anon
-/api/v2/pipelines/*/* = anon
-/api/v2/noauth/users/*/* = anon
-/api/v2/noauth/users/*/element/* = anon
-/api//v3/noauth/datalake/* = anon
-/api/v2/noauth/element/* = anon
-/api/v2/noauth/files/* = anon
-/api/v2/kpis = anon
-/api/v2/kpis/* = anon
-/api/v2/admin/login/* = anon
-/api/v2/adapter/all/* = anon
-/api/v2/adapter/all/*/* = anon
-/api/v2/adapter/all/*/streams/* = anon
-/api/v2/adapter/all = anon
-/api/v2/users/*/labeling/label/category/* = anon
-/api/v2/users/*/labeling/label/delete/* = anon
-/api/v2/users/*/labeling/category/delete/* = anon
-/api/v2/users/*/labeling/label/* = anon
-/api/v2/users/*/labeling/category/* = anon
-/api/v2/users/*/labeling/* = anon
-/api/v2/users/*/labeling = anon
-/api/v2/connect/*/master/administration = anon
-/api/v2/connect/master/sources/** = anon
-/api/v2/connect/*/master/resolvable/*/configurations = anon
-/api/openapi.json = anon
-/api/** = authcBearer, customFilter
-/** = authcBearer, customFilter
-