org/sonews/acl/AccessControl.java
author cli
Mon Aug 24 13:00:05 2009 +0200 (2009-08-24)
changeset 20 6ae5e4f8329b
permissions -rw-r--r--
Add stubs for org.sonews.acl and add method "impliedCapability" for org.sonews.command.Command interface.
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
}