| java.lang.Object org.ejbca.core.model.authorization.AuthorizationProxy
AuthorizationProxy | public class AuthorizationProxy implements Serializable(Code) | | A class used to improve performance by proxying administrator authorization request by minimizing the need of traversing
trough the authorization tree and rmi lookups.
author: TomSelleck version: $Id: AuthorizationProxy.java,v 1.1 2006/01/17 20:30:56 anatom Exp $ |
Constructor Summary | |
public | AuthorizationProxy(AdminGroupDataLocalHome admingrouphome, AccessTree accesstree) Creates a new instance of AuthorizationProxy. |
AuthorizationProxy | public AuthorizationProxy(AdminGroupDataLocalHome admingrouphome, AccessTree accesstree)(Code) | | Creates a new instance of AuthorizationProxy.
|
clear | public void clear()(Code) | | Method used to clear the proxy, should be called every time administrator priviledges have been
changed.
|
isAuthorized | public boolean isAuthorized(AdminInformation admin, String resource)(Code) | | Method that first checks in hashmap if administrator already have been checked in accesstree.
If not it looks in the accesstree.
|
|
|