cli@20
|
1 |
/*
|
cli@20
|
2 |
* SONEWS News Server
|
cli@20
|
3 |
* see AUTHORS for the list of contributors
|
cli@20
|
4 |
*
|
cli@20
|
5 |
* This program is free software: you can redistribute it and/or modify
|
cli@20
|
6 |
* it under the terms of the GNU General Public License as published by
|
cli@20
|
7 |
* the Free Software Foundation, either version 3 of the License, or
|
cli@20
|
8 |
* (at your option) any later version.
|
cli@20
|
9 |
*
|
cli@20
|
10 |
* This program is distributed in the hope that it will be useful,
|
cli@20
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
cli@20
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
cli@20
|
13 |
* GNU General Public License for more details.
|
cli@20
|
14 |
*
|
cli@20
|
15 |
* You should have received a copy of the GNU General Public License
|
cli@20
|
16 |
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
cli@20
|
17 |
*/
|
cli@20
|
18 |
package org.sonews.acl;
|
cli@20
|
19 |
|
cli@20
|
20 |
/**
|
cli@20
|
21 |
*
|
cli@20
|
22 |
* @author Christian Lins
|
cli@20
|
23 |
* @since sonews/1.1
|
cli@20
|
24 |
*/
|
cli@49
|
25 |
public interface AccessControl {
|
cli@20
|
26 |
|
cli@37
|
27 |
boolean hasPermission(String user, char[] secret, String permission);
|
cli@20
|
28 |
}
|