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

java.lang.Object
  extended by gov.nih.nci.common.remote.rmi.RMISecureSessionManagerProxy
All Implemented Interfaces:
Directable, SecureSessionManager, java.io.Serializable

public class RMISecureSessionManagerProxy
extends java.lang.Object
implements SecureSessionManager, java.io.Serializable, Directable

See Also:
Serialized Form

Field Summary
protected  RMISecureSessionManagerRemoteIF _instanceMgr
           
protected static RMISecureSessionManagerRemoteIF _mgr
           
protected static java.lang.String _mgrUrl
           
protected static int MAX_ATTEMPTS
           
 
Fields inherited from interface gov.nih.nci.common.search.session.SecureSessionManager
DEFAULT_SECURE_SESSION_LENGTH
 
Constructor Summary
RMISecureSessionManagerProxy()
           
 
Method Summary
 void direct(java.lang.String searchLocation)
           
 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.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_ATTEMPTS

protected static final int MAX_ATTEMPTS
See Also:
Constant Field Values

_mgr

protected static RMISecureSessionManagerRemoteIF _mgr

_instanceMgr

protected RMISecureSessionManagerRemoteIF _instanceMgr

_mgrUrl

protected static java.lang.String _mgrUrl
Constructor Detail

RMISecureSessionManagerProxy

public RMISecureSessionManagerProxy()
Method Detail

startSession

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

extendSession

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

getTimeToLive

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

endSession

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

direct

public void direct(java.lang.String searchLocation)
Specified by:
direct in interface Directable

getUserName

public java.lang.String getUserName(SecureSession session)
Specified by:
getUserName in interface SecureSessionManager