gov.nih.nci.common.remote.rmi
Class RMISecureSessionManagerRemote

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by gov.nih.nci.common.remote.rmi.RMISecureSessionManagerRemote
All Implemented Interfaces:
RMISecureSessionManagerRemoteIF, java.io.Serializable, java.rmi.Remote

public class RMISecureSessionManagerRemote
extends java.rmi.server.UnicastRemoteObject
implements RMISecureSessionManagerRemoteIF

See Also:
Serialized Form

Field Summary
protected static SecureSessionManager mgr
           
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
RMISecureSessionManagerRemote()
           
 
Method Summary
 void endSession(SecureSession session)
           
 void extendSession(SecureSession session)
           
 long getTimeToLive(SecureSession session)
           
 java.lang.String getUserName(SecureSession session)
           
 SecureSession startSession(java.lang.String username, java.lang.String password)
           
 
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
 

Field Detail

mgr

protected static SecureSessionManager mgr
Constructor Detail

RMISecureSessionManagerRemote

public RMISecureSessionManagerRemote()
                              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException
Method Detail

extendSession

public void extendSession(SecureSession session)
                   throws SessionException
Specified by:
extendSession in interface RMISecureSessionManagerRemoteIF
Throws:
SessionException

getTimeToLive

public long getTimeToLive(SecureSession session)
                   throws SessionException
Specified by:
getTimeToLive in interface RMISecureSessionManagerRemoteIF
Throws:
SessionException

endSession

public void endSession(SecureSession session)
                throws SessionException
Specified by:
endSession in interface RMISecureSessionManagerRemoteIF
Throws:
SessionException

startSession

public SecureSession startSession(java.lang.String username,
                                  java.lang.String password)
                           throws java.rmi.RemoteException,
                                  SessionException
Specified by:
startSession in interface RMISecureSessionManagerRemoteIF
Throws:
java.rmi.RemoteException
SessionException

getUserName

public java.lang.String getUserName(SecureSession session)
                             throws java.rmi.RemoteException,
                                    SessionException
Specified by:
getUserName in interface RMISecureSessionManagerRemoteIF
Throws:
java.rmi.RemoteException
SessionException