|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface UserSessionManager manages the user sessions.
| Method Summary | |
java.util.Enumeration |
getAllUserSessions()
Get all user sessions in the report server. |
java.util.Enumeration |
getAllWaitUserSessions()
Get all wait user sessions in the report server. |
Authenticator |
getAuthenticator()
Get the Authenticator. |
int |
getDefaultMaxInactiveInterval()
Get the default max inactive interval of user sessions. |
UserSession |
getUserSession(java.lang.String sessionID)
Get the user session by the session ID. |
boolean |
isWait(java.lang.String sessionId)
|
UserSession |
login(java.lang.String realm,
java.lang.String user,
java.lang.String password,
java.lang.Object extObj)
Login an user in the report server. |
UserSession |
loginExternalAuthorized(java.lang.String realm,
java.lang.String externalAuthorizedUser,
java.lang.Object extObj)
Login an external authorized user in the report server. |
void |
logout(UserSession session)
Logout an user session in the report server. |
boolean |
needSecurity()
Check if it needs security checking. |
void |
putSessions(UserSession us)
|
void |
refreshLastAccessTime(java.lang.String sessionID)
Refresh the last access time of a user session. |
void |
setAuthenticator(Authenticator authenticator)
Set the Authenticator. |
void |
setDefaultMaxInactiveInterval(int defaultMaxInactiveInterval)
Set the default max inactive interval of user sessions. |
| Method Detail |
public void setDefaultMaxInactiveInterval(int defaultMaxInactiveInterval)
defaultMaxInactiveInterval - the default max inactive interval of user sessions in milliseconds.public int getDefaultMaxInactiveInterval()
public void setAuthenticator(Authenticator authenticator)
authenticator - the Authenticator.public Authenticator getAuthenticator()
public UserSession login(java.lang.String realm,
java.lang.String user,
java.lang.String password,
java.lang.Object extObj)
throws TooManyUsersException
realm - the realm.password - the password.extObj - the external object is attached to the user session.
TooManyUsersException - if a TooManyUsersException occurs.UserSession
public UserSession loginExternalAuthorized(java.lang.String realm,
java.lang.String externalAuthorizedUser,
java.lang.Object extObj)
throws TooManyUsersException
realm - the realm.extObj - the external object is attached to the user session.
TooManyUsersException - if a TooManyUsersException occurs.UserSessionpublic void logout(UserSession session)
session - the user session.public UserSession getUserSession(java.lang.String sessionID)
sessionID - the session ID.
public java.util.Enumeration getAllUserSessions()
public java.util.Enumeration getAllWaitUserSessions()
public void refreshLastAccessTime(java.lang.String sessionID)
throws InvalidUserSessionException
sessionID - the session ID.
InvalidUserSessionException - if a InvalidUserSessionException occurs.public boolean isWait(java.lang.String sessionId)
public void putSessions(UserSession us)
public boolean needSecurity()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||