iiitAccessServer 1.0

de.iiit.access.common.rmi
Class RMISession

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--de.iiit.access.common.rmi.RMISession
All Implemented Interfaces:
Remote, RMISessionIf, Serializable

public class RMISession
extends UnicastRemoteObject
implements RMISessionIf

This class implements a RMI connection to the AccessServer.

Version:
$Revision: 1.7 $ $Date: 2003/04/13 21:13:38 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
RMISession(String user)
          Creates a new instance of RMISession
 
Method Summary
 boolean resolveExpr(String expr)
          Evaluates one expression.
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RMISession

public RMISession(String user)
           throws RemoteException
Creates a new instance of RMISession

Parameters:
user - the name of the for whom the the new session will be used.
Throws:
RemoteException - if an RMI error occurs.
Method Detail

resolveExpr

public boolean resolveExpr(String expr)
                    throws RemoteException,
                           ParserException
Evaluates one expression.

Specified by:
resolveExpr in interface RMISessionIf
Parameters:
expr - the expression to evaluate
Returns:
true if the user is member of the set described by the expression and false otherwise.
Throws:
RemoteException - if an RMI error occurs.
RMIParserException - if a ParserException occurs on the server side.
ParserException

iiitAccessServer 1.0

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