| java.lang.Object org.ejbca.core.model.authorization.AccessTreeNode
AccessTreeNode | public class AccessTreeNode implements Serializable(Code) | | The building component of the AccessTree. All nodes consist of these objects.
author: Philip Vendil version: $Id: AccessTreeNode.java,v 1.1 2006/01/17 20:30:56 anatom Exp $ |
STATE_ACCEPT | final public static int STATE_ACCEPT(Code) | | |
STATE_ACCEPT_RECURSIVE | final public static int STATE_ACCEPT_RECURSIVE(Code) | | |
STATE_DECLINE | final public static int STATE_DECLINE(Code) | | |
STATE_DECLINE_RECURSIVE | final public static int STATE_DECLINE_RECURSIVE(Code) | | |
STATE_UNKNOWN | final public static int STATE_UNKNOWN(Code) | | |
AccessTreeNode | public AccessTreeNode(String resource)(Code) | | Creates a new instance of AccessTreeNode
|
addAccessRule | public void addAccessRule(String subresource, AccessRule accessrule, AdminGroup admingroup)(Code) | | Adds an access rule with associated admingroup to the tree.
|
isAuthorized | public boolean isAuthorized(AdminInformation admininformation, String resource)(Code) | | Checks the tree if the users X509Certificate is athorized to view the requested resource
|
|
|