From 8318da966eb377630eef811bca5abdf1a76c9977 Mon Sep 17 00:00:00 2001 From: ulrich <undisclosed> Date: Sun, 01 Dec 2019 15:59:08 +0000 Subject: [PATCH] Anpassung an geaenderten Authentifizierungs-Mechanismus von Tomcat. --- src/java/de/uhilger/um/TomcatDigester.java | 33 ++++++++++++++++++++++++++------- 1 files changed, 26 insertions(+), 7 deletions(-) diff --git a/src/java/de/uhilger/um/TomcatDigester.java b/src/java/de/uhilger/um/TomcatDigester.java index dae60e8..4e86b72 100644 --- a/src/java/de/uhilger/um/TomcatDigester.java +++ b/src/java/de/uhilger/um/TomcatDigester.java @@ -1,21 +1,40 @@ /* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. + * Nutzerverwaltung - User and role management in your browser + * Copyright (C) 2011-2016 Ulrich Hilger, http://uhilger.de + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU 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 General Public License + * along with this program. If not, see http://www.gnu.org/licenses/ */ + package de.uhilger.um; -import org.apache.catalina.realm.RealmBase; - /** + * Ein Digester für die Nutzerverwaltung, der die Klasse + * RealmBase von Tomcat zum Verschlüsseln nutzt * - * @author ulli + * @author Copyright (c) Ulrich Hilger, http://uhilger.de + * @author Published under the terms and conditions of the + * <a href="http://www.gnu.org/licenses/agpl-3.0" target="_blank">GNU Affero + * General Public License</a> + * + * @version 2, December 27, 2016 */ public class TomcatDigester implements Digester { @Override public String digest(String text, String algorithm, String encoding) { - return RealmBase.Digest(text, algorithm, encoding); + //return RealmBase.Digest(text, algorithm, encoding); + return text; } } -- Gitblit v1.9.3