commit | author | age
|
ac059c
|
1 |
/* |
3f6c85
|
2 |
Transit - Remote procedure calls made simple |
U |
3 |
Copyright (c) 2012 Ulrich Hilger |
|
4 |
|
|
5 |
This program is free software: you can redistribute it and/or modify |
|
6 |
it under the terms of the GNU Affero 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 Affero General Public License for more details. |
|
14 |
|
|
15 |
You should have received a copy of the GNU Affero General Public License |
|
16 |
along with this program. If not, see <http://www.gnu.org/licenses/>. |
ac059c
|
17 |
*/ |
U |
18 |
package de.uhilger.transit.web; |
|
19 |
|
|
20 |
import javax.servlet.ServletRequest; |
|
21 |
import javax.servlet.ServletResponse; |
|
22 |
|
|
23 |
/** |
3f6c85
|
24 |
* Ein RechtePruefer, der keine Erlaubnis erteilt und standardmaessig |
U |
25 |
* verwendet wird, wenn kein RechtePruefer deklariert ist. |
ac059c
|
26 |
* |
3f6c85
|
27 |
* @author Copyright (c) Ulrich Hilger, http://uhilger.de |
U |
28 |
* @author Published under the terms and conditions of the |
|
29 |
* <a href="http://www.gnu.org/licenses/agpl-3.0" target="_blank">GNU Affero |
|
30 |
* General Public License</a> |
|
31 |
* |
|
32 |
* @version 1, 18. November 2014 |
ac059c
|
33 |
*/ |
U |
34 |
public class StandardRechtePruefer implements RechtePruefer { |
|
35 |
|
|
36 |
@Override |
|
37 |
public boolean istErlaubt(ServletRequest request, ServletResponse response, String klasse, String methode, String benutzerName) { |
|
38 |
return false; |
|
39 |
} |
|
40 |
|
|
41 |
} |