gov.nih.nci.common.search.session
Interface SecureSessionManager

All Known Implementing Classes:
RMISecureSessionManagerProxy, SecureSessionManagerImpl

public interface SecureSessionManager

Author:
Joshua Phillips

Field Summary
static long DEFAULT_SECURE_SESSION_LENGTH
           
 
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)
           
 

Field Detail

DEFAULT_SECURE_SESSION_LENGTH

static final long DEFAULT_SECURE_SESSION_LENGTH
See Also:
Constant Field Values
Method Detail

startSession

SecureSession startSession(java.lang.String username,
                           java.lang.String password)
                           throws SessionException
Throws:
SessionException

extendSession

void extendSession(SecureSession session)
                   throws SessionException
Throws:
SessionException

getTimeToLive

long getTimeToLive(SecureSession session)
                   throws SessionException
Throws:
SessionException

endSession

void endSession(SecureSession session)
                throws SessionException
Throws:
SessionException

getUserName

java.lang.String getUserName(SecureSession session)