org/sonews/acl/AccessControl.java
author cli
Tue Apr 27 21:51:12 2010 +0200 (2010-04-27)
changeset 26 407c428adb5b
permissions -rw-r--r--
Introduce more advanced help system (#565).
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
cli@20
    19
package org.sonews.acl;
cli@20
    20
cli@20
    21
/**
cli@20
    22
 *
cli@20
    23
 * @author Christian Lins
cli@20
    24
 * @since sonews/1.1
cli@20
    25
 */
cli@20
    26
public interface AccessControl
cli@20
    27
{
cli@20
    28
cli@20
    29
  boolean hasPermission(String user, char[] secret, String permission);
cli@20
    30
cli@20
    31
}