| java.lang.Object org.ejbca.core.model.authorization.AccessTree
AccessTree | public class AccessTree implements Serializable(Code) | | A class that builds and maintains an accesstree. It should be used to check if a
client certificate has access rights to a resource or not. isAthorized metod is the one to use.
author: Philip Vendil version: $Id: AccessTree.java,v 1.1 2006/01/17 20:30:56 anatom Exp $ |
AccessTree | public AccessTree()(Code) | | Creates a new instance of AccessTree
|
buildTree | public void buildTree(Collection admingroups)(Code) | | Builds an accesstree out of the given admingroup data.
|
isAuthorized | public boolean isAuthorized(AdminInformation admininformation, String resource)(Code) | | A method to check if someone is athorized to view the given resource
|
|
|