cli@20: /* cli@20: * SONEWS News Server cli@20: * see AUTHORS for the list of contributors cli@20: * cli@20: * This program is free software: you can redistribute it and/or modify cli@20: * it under the terms of the GNU General Public License as published by cli@20: * the Free Software Foundation, either version 3 of the License, or cli@20: * (at your option) any later version. cli@20: * cli@20: * This program is distributed in the hope that it will be useful, cli@20: * but WITHOUT ANY WARRANTY; without even the implied warranty of cli@20: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the cli@20: * GNU General Public License for more details. cli@20: * cli@20: * You should have received a copy of the GNU General Public License cli@20: * along with this program. If not, see . cli@20: */ cli@20: cli@20: package org.sonews.acl; cli@20: cli@20: /** cli@20: * cli@20: * @author Christian Lins cli@20: * @since sonews/1.1 cli@20: */ cli@20: public interface AccessControl cli@20: { cli@20: cli@20: boolean hasPermission(String user, char[] secret, String permission); cli@20: cli@20: }