|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RemoteUserSessionManager
Interface RemoteUserSessionManager manages the user sessions.
| Method Summary | |
|---|---|
java.util.Vector |
getAllUserSessions()
Get all user sessions in the report server. |
java.util.Vector |
getAllWaitUserSessions()
Get all wait user sessions in the report server. |
RemoteAuthenticator |
getAuthenticator()
Get the Authenticator. |
int |
getDefaultMaxInactiveInterval()
Get the default max inactive interval of user sessions. |
long |
getLastLoginTime(java.lang.String user)
Get last login time of specify user. |
long |
getLastLogoutTime(java.lang.String user)
Get last logout time of specify user. |
UserSession |
getUserSession(java.lang.String sessionID)
Get the user session by the session ID. |
boolean |
isWait(java.lang.String sessionId)
Judge if a user session is a wait user session. |
UserSession |
login(java.lang.String realm,
java.lang.String user,
java.lang.String password)
Login an user in the report server. |
UserSession |
login(java.lang.String realm,
java.lang.String userID,
java.lang.String password,
boolean isExternal,
boolean isWait)
Login an user in the report server. |
UserSession |
loginExternalAuthorized(java.lang.String realm,
java.lang.String externalAuthorizedUser)
Login an external authorized user in the report server. |
void |
logout(java.lang.String sessionID)
Logout an user session in the report server. |
boolean |
needSecurity()
Check if it needs security checking. |
void |
putSessions(java.lang.String sessionID)
|
void |
refreshLastAccessTime(java.lang.String sessionID)
Refresh the last access time of a user session. |
void |
setAuthenticator(RemoteAuthenticator authenticator)
Set the Authenticator. |
void |
setDefaultMaxInactiveInterval(int defaultMaxInactiveInterval)
Set the default max inactive interval of user sessions. |
| Method Detail |
|---|
void setDefaultMaxInactiveInterval(int defaultMaxInactiveInterval)
throws java.rmi.RemoteException
defaultMaxInactiveInterval - the default max inactive interval of user sessions in milliseconds.
java.rmi.RemoteException - if a RemoteException occurs.
int getDefaultMaxInactiveInterval()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
void setAuthenticator(RemoteAuthenticator authenticator)
throws java.rmi.RemoteException
authenticator - the Authenticator.
java.rmi.RemoteException - if a RemoteException occurs.
RemoteAuthenticator getAuthenticator()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
UserSession login(java.lang.String realm,
java.lang.String user,
java.lang.String password)
throws java.rmi.RemoteException,
TooManyUsersException
realm - the realm.userID - the user ID.password - the password.
java.rmi.RemoteException - if a RemoteException occurs.
TooManyUsersException - if a TooManyUsersException occurs.UserSession
UserSession login(java.lang.String realm,
java.lang.String userID,
java.lang.String password,
boolean isExternal,
boolean isWait)
throws java.rmi.RemoteException,
TooManyUsersException
realm - the realm.userID - the user ID.password - the password.isExternal - specify if it was check by external authenticator.isWait - specify if it is a wait user.
java.rmi.RemoteException - if a RemoteException occurs.
TooManyUsersException - if a TooManyUsersException occurs.UserSession
UserSession loginExternalAuthorized(java.lang.String realm,
java.lang.String externalAuthorizedUser)
throws java.rmi.RemoteException,
TooManyUsersException
realm - the realm.userID - the user ID.
java.rmi.RemoteException - if a RemoteException occurs.
TooManyUsersException - if a TooManyUsersException occurs.UserSession
void logout(java.lang.String sessionID)
throws java.rmi.RemoteException
sessionID - the user session ID.
java.rmi.RemoteException - if a RemoteException occurs.
UserSession getUserSession(java.lang.String sessionID)
throws java.rmi.RemoteException
sessionID - the session ID.
java.rmi.RemoteException - if a RemoteException occurs.
java.util.Vector getAllUserSessions()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
java.util.Vector getAllWaitUserSessions()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
void refreshLastAccessTime(java.lang.String sessionID)
throws java.rmi.RemoteException,
InvalidUserSessionException
sessionID - the session ID.
java.rmi.RemoteException - if a RemoteException occurs.
InvalidUserSessionException - if a InvalidUserSessionException occurs.
boolean isWait(java.lang.String sessionId)
throws java.rmi.RemoteException
sessionId - the user session id
java.rmi.RemoteException - if a RemoteException occurs.
void putSessions(java.lang.String sessionID)
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
boolean needSecurity()
throws java.rmi.RemoteException
java.rmi.RemoteException
long getLastLoginTime(java.lang.String user)
throws java.rmi.RemoteException
user - the user ID
java.rmi.RemoteException
long getLastLogoutTime(java.lang.String user)
throws java.rmi.RemoteException
user - the user ID
java.rmi.RemoteException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||