commit | author | age
|
6240cd
|
1 |
/* |
51c9e3
|
2 |
* Nutzerverwaltung - User and role management in your browser |
U |
3 |
* Copyright (C) 2011-2016 Ulrich Hilger, http://uhilger.de |
|
4 |
* |
|
5 |
* This program is free software: you can redistribute it and/or modify |
|
6 |
* it under the terms of the GNU General Public License as published by |
|
7 |
* the Free Software Foundation, either version 3 of the License, or |
|
8 |
* (at your option) any later version. |
|
9 |
* |
|
10 |
* This program is distributed in the hope that it will be useful, |
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 |
* GNU General Public License for more details. |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License |
|
16 |
* along with this program. If not, see http://www.gnu.org/licenses/ |
6240cd
|
17 |
*/ |
51c9e3
|
18 |
|
6240cd
|
19 |
package de.uhilger.um; |
U |
20 |
|
|
21 |
/** |
1fc020
|
22 |
* Ein Digester für die Nutzerverwaltung, der die Klasse |
U |
23 |
* RealmBase von Tomcat zum Verschlüsseln nutzt |
6240cd
|
24 |
* |
1fc020
|
25 |
* @author Copyright (c) Ulrich Hilger, http://uhilger.de |
U |
26 |
* @author Published under the terms and conditions of the |
|
27 |
* <a href="http://www.gnu.org/licenses/agpl-3.0" target="_blank">GNU Affero |
|
28 |
* General Public License</a> |
|
29 |
* |
|
30 |
* @version 2, December 27, 2016 |
6240cd
|
31 |
*/ |
U |
32 |
public class TomcatDigester implements Digester { |
|
33 |
|
|
34 |
@Override |
|
35 |
public String digest(String text, String algorithm, String encoding) { |
8318da
|
36 |
//return RealmBase.Digest(text, algorithm, encoding); |
U |
37 |
return text; |
6240cd
|
38 |
} |
U |
39 |
|
|
40 |
} |