| java.lang.Object de.webman.acl.resolver.ResolverBase de.webman.acl.resolver.SequentialResolver
SequentialResolver | public class SequentialResolver extends ResolverBase implements Checker(Code) | | Resolves access rights for a given login object in a strictly
sequential manner.
version: 1.0 since: 1.0 author: © 2001 Webman AG |
Constructor Summary | |
protected | SequentialResolver(Login login) Provide instantion only to package classes or subclasses. |
Method Summary | |
final public boolean | check(Integer event, Integer context, Integer type, Integer reference) Implements a strictly sequential checking algorithm.
- The access rights of the login are checked.
- If no applicable access rights were found, the access rights
of the parents are checked.
Parameters: event - the ID if the event to be checked (required). Parameters: context - the ID if the current context (required). Parameters: type - the current object type (optional). Parameters: reference - the current object reference (optional). | final public void | resolve(Hashtable collection, Integer context, Integer type, Integer reference) Implements a strictly sequential resolution algorithm. |
SequentialResolver | protected SequentialResolver(Login login)(Code) | | Provide instantion only to package classes or subclasses.
Parameters: login - the initial login object. |
check | final public boolean check(Integer event, Integer context, Integer type, Integer reference) throws TKException(Code) | | Implements a strictly sequential checking algorithm.
- The access rights of the login are checked.
- If no applicable access rights were found, the access rights
of the parents are checked.
Parameters: event - the ID if the event to be checked (required). Parameters: context - the ID if the current context (required). Parameters: type - the current object type (optional). Parameters: reference - the current object reference (optional). true if the event is permitted explicitely,otherwise false . exception: com.teamkonzept.lib.TKException - if an error occured duringaccess right checking. |
resolve | final public void resolve(Hashtable collection, Integer context, Integer type, Integer reference) throws TKException(Code) | | Implements a strictly sequential resolution algorithm.
- The access rights of the parents are resolved.
- The access rights defined context-wide are resolved.
- If
type and reference are
specified, the access rights defined object-specific are
resolved.
Parameters: collection - the distinct collection of permitted events. Parameters: context - the ID if the current context (required). Parameters: type - the current object type (optional). Parameters: reference - the current object reference (optional). exception: com.teamkonzept.lib.TKException - if an error occured duringaccess right resolution. |
Methods inherited from de.webman.acl.resolver.ResolverBase | final protected boolean checkParents(Integer event, Integer context, Integer type, Integer reference) throws TKException(Code)(Java Doc) final protected Boolean checkingCacheRead(Integer event, Integer context, Integer type, Integer reference)(Code)(Java Doc) final protected void checkingCacheWrite(Integer event, Integer context, Integer type, Integer reference, Boolean result)(Code)(Java Doc) final public void configurationChanged() throws TKException(Code)(Java Doc) final public boolean equals(Object object)(Code)(Java Doc) final public Login getLogin()(Code)(Java Doc) final public int hashCode()(Code)(Java Doc) final protected void processEvents(Hashtable collection, TKVector events, boolean access) throws TKException(Code)(Java Doc) final protected void processPolicies(Hashtable collection, TKVector policies) throws TKException(Code)(Java Doc) final protected TKVector resolutionCacheRead(Integer context, Integer type, Integer reference, Boolean access)(Code)(Java Doc) final protected void resolutionCacheWrite(Integer context, Integer type, Integer reference, Boolean access, TKVector result)(Code)(Java Doc) abstract public void resolve(Hashtable collection, Integer context, Integer type, Integer reference) throws TKException(Code)(Java Doc) final protected void resolveParents(Hashtable collection, Integer context, Integer type, Integer reference) throws TKException(Code)(Java Doc) final public void setLogin(Login login)(Code)(Java Doc) final protected Object toKey(Integer event, Integer context, Integer type, Integer reference, Boolean access)(Code)(Java Doc) final public String toString()(Code)(Java Doc)
|
|
|