From f27c1663557089593f2979e5587a3febb1e6962d Mon Sep 17 00:00:00 2001 From: Lyn Elisa Goltz <goltz@lat-lon.de> Date: Thu, 7 Dec 2023 07:19:00 +0100 Subject: [PATCH] XPLANBOX-2308 - generated header --- .../PropertiesFileUserDetailsManager.java | 20 +++++++++++++++++ .../SecurityConfigurationException.java | 20 +++++++++++++++++ .../security/config/SecurityContext.java | 22 ++++++++++++++++++- .../security/config/SecurityContextTest.java | 20 +++++++++++++++++ 4 files changed, 81 insertions(+), 1 deletion(-) diff --git a/xplan-security/src/main/java/de/latlon/xplanbox/security/authentication/PropertiesFileUserDetailsManager.java b/xplan-security/src/main/java/de/latlon/xplanbox/security/authentication/PropertiesFileUserDetailsManager.java index 7721fac23..27789f34c 100644 --- a/xplan-security/src/main/java/de/latlon/xplanbox/security/authentication/PropertiesFileUserDetailsManager.java +++ b/xplan-security/src/main/java/de/latlon/xplanbox/security/authentication/PropertiesFileUserDetailsManager.java @@ -1,3 +1,23 @@ +/*- + * #%L + * xplan-security - Software zur Verwaltung von XPlanGML Daten + * %% + * Copyright (C) 2008 - 2023 Freie und Hansestadt Hamburg, developed by lat/lon gesellschaft für raumbezogene Informationssysteme mbH + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ package de.latlon.xplanbox.security.authentication; import org.slf4j.Logger; diff --git a/xplan-security/src/main/java/de/latlon/xplanbox/security/authentication/SecurityConfigurationException.java b/xplan-security/src/main/java/de/latlon/xplanbox/security/authentication/SecurityConfigurationException.java index b7b9da4d2..7765f040b 100644 --- a/xplan-security/src/main/java/de/latlon/xplanbox/security/authentication/SecurityConfigurationException.java +++ b/xplan-security/src/main/java/de/latlon/xplanbox/security/authentication/SecurityConfigurationException.java @@ -1,3 +1,23 @@ +/*- + * #%L + * xplan-security - Software zur Verwaltung von XPlanGML Daten + * %% + * Copyright (C) 2008 - 2023 Freie und Hansestadt Hamburg, developed by lat/lon gesellschaft für raumbezogene Informationssysteme mbH + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ package de.latlon.xplanbox.security.authentication; /** diff --git a/xplan-security/src/main/java/de/latlon/xplanbox/security/config/SecurityContext.java b/xplan-security/src/main/java/de/latlon/xplanbox/security/config/SecurityContext.java index 1bebe7c55..7ecc50280 100644 --- a/xplan-security/src/main/java/de/latlon/xplanbox/security/config/SecurityContext.java +++ b/xplan-security/src/main/java/de/latlon/xplanbox/security/config/SecurityContext.java @@ -1,3 +1,23 @@ +/*- + * #%L + * xplan-security - Software zur Verwaltung von XPlanGML Daten + * %% + * Copyright (C) 2008 - 2023 Freie und Hansestadt Hamburg, developed by lat/lon gesellschaft für raumbezogene Informationssysteme mbH + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ package de.latlon.xplanbox.security.config; import de.latlon.xplanbox.security.authentication.PropertiesFileUserDetailsManager; @@ -46,4 +66,4 @@ public class SecurityContext { return new BCryptPasswordEncoder(); } -} \ No newline at end of file +} diff --git a/xplan-security/src/test/java/de/latlon/xplanbox/security/config/SecurityContextTest.java b/xplan-security/src/test/java/de/latlon/xplanbox/security/config/SecurityContextTest.java index 4705d2f1e..86d8c45f5 100644 --- a/xplan-security/src/test/java/de/latlon/xplanbox/security/config/SecurityContextTest.java +++ b/xplan-security/src/test/java/de/latlon/xplanbox/security/config/SecurityContextTest.java @@ -1,3 +1,23 @@ +/*- + * #%L + * xplan-security - Software zur Verwaltung von XPlanGML Daten + * %% + * Copyright (C) 2008 - 2023 Freie und Hansestadt Hamburg, developed by lat/lon gesellschaft für raumbezogene Informationssysteme mbH + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ package de.latlon.xplanbox.security.config; import org.junit.jupiter.api.Test; -- GitLab