iiitAccessServer 1.0

de.iiit.access.server.api
Interface ResolverPluginIf

All Superinterfaces:
AccessServerPluginIf, ThreadPluginIf
All Known Implementing Classes:
LdapResolver, PropertyFileResolver

public interface ResolverPluginIf
extends ThreadPluginIf

Classes implementing this interfaces can be loaded a resolver plug-in into the AccessServer.

Version:
$Revision: 1.8 $ $Date: 2003/04/13 21:09:56 $

Method Summary
 Set resolve(ParserStackIf argStack)
          Resolves the expression on top of the stack.
 Set resolve(ParserStackIf argStack, String name)
          The evaluation is optimized in such way that it only retrieves information regarding the given user name.
 boolean verifyUser(String uid)
          Verifies whether a user exists in the user database.
 
Methods inherited from interface de.iiit.access.server.api.ThreadPluginIf
shutdown, start
 
Methods inherited from interface de.iiit.access.server.api.AccessServerPluginIf
initialize
 

Method Detail

resolve

public Set resolve(ParserStackIf argStack)
            throws ParserException
Resolves the expression on top of the stack. If the result is also an expression the parser has to be called to evaluate it.

Parameters:
argStack - This stack includes all expressions and subexpressions of the current tree inside the orginal expression.
Returns:
The set of users described by the expression.
Throws:
ParserException - ParserException if there is something wrong with the expression. The most common cases are syntax errors or circular references within the expression.

resolve

public Set resolve(ParserStackIf argStack,
                   String name)
            throws ParserException
The evaluation is optimized in such way that it only retrieves information regarding the given user name.

Parameters:
argStack - This stack includes all expressions and subexpressions of the current tree inside the orginal expression.
name - The name of the user for whom the expression should be resolved.
Returns:
An optimized set of users. It is guaranteed that it is correct for the given user but it is not guaranteed that it includes all users described by the expression.
Throws:
ParserException - if there is something wrong with the expression. The most common cases are syntax errors or circular references within the expression.

verifyUser

public boolean verifyUser(String uid)
Verifies whether a user exists in the user database.

Parameters:
uid - the user ID.
Returns:
true if the user exists or if there is no user database, false if the user doesn't exist.

iiitAccessServer 1.0

Copyright © 2002, 2003 ingeneurbuero fuer innovative informationstechnik, Dipl.-Ing. Joerg Beckmann, Dortmund, Germany. All Rights Reserved.
See Copyright statement