public interface AutoTimeoutSessionManager
getSession()
and when it is
done servicing the request it should return it back to the manager without
disconnecting it by calling returnSession()
. The application
can retrieve as many sessions as it needs for a given user but there may be
a system imposed limit on the number of concurrent requests for a given
user.Modifier and Type | Method and Description |
---|---|
FdkSession |
getSession(String username)
Retrieves a session for the specified user.
|
void |
returnSession(FdkSession session)
Returns a session back to the manager.
|
FdkSession getSession(String username) throws FdkException
NOTE: No authentication for the user is performed, the caller needs to make sure the user is authenticated via other means BEFORE calling this method.
username
- The username for which to get a session.FdkException
void returnSession(FdkSession session) throws FdkException
session
- The session to return back.FdkException
Copyright © 2023. All rights reserved.