Uses of Class
com.logicaldoc.core.security.Session
-
Packages that use Session Package Description com.logicaldoc.core Core plug-in that contains the most important domain objectscom.logicaldoc.core.dashlet com.logicaldoc.core.security com.logicaldoc.core.security.dao com.logicaldoc.dropbox com.logicaldoc.web.service com.logicaldoc.web.util -
-
Uses of Session in com.logicaldoc.core
Methods in com.logicaldoc.core with parameters of type Session Modifier and Type Method Description void
History. setSession(Session session)
This setter sets the sessionId, userId, username and other informations that can be captured by the given session -
Uses of Session in com.logicaldoc.core.dashlet
Methods in com.logicaldoc.core.dashlet that return Session Modifier and Type Method Description static Session
DashletContent. validateSession(javax.servlet.http.HttpServletRequest request)
-
Uses of Session in com.logicaldoc.core.security
Methods in com.logicaldoc.core.security that return Session Modifier and Type Method Description Session
SessionManager. createSession(User user, Client client)
Creates a new session by authenticated the given user and stores it in the pool of opened sessionsSession
SessionManager. get(Object sid)
Session
SessionManager. getByClientId(String clientId)
Gets the session of the given clientSession
SessionManager. getSession(javax.servlet.http.HttpServletRequest request)
Gets the Session with the identifier returned bySessionManager.getSessionId(HttpServletRequest)
Session
SessionManager. newSession(String username, String password, Client client)
Creates a new session by authenticated the given user and stores it in the pool of opened sessionsSession
SessionManager. newSession(String username, String password, String key, Client client)
Creates a new session by authenticated the given user and stores it in the pool of opened sessionsSession
SessionManager. remove(Object sid)
Methods in com.logicaldoc.core.security that return types with arguments of type Session Modifier and Type Method Description List<Session>
SessionManager. getSessions()
Returns the list of sessions of the current node ordered by ascending status and creation date.Methods in com.logicaldoc.core.security with parameters of type Session Modifier and Type Method Description int
Session. compareTo(Session o)
void
SessionListener. onSessionCreated(Session session)
-
Uses of Session in com.logicaldoc.core.security.dao
Methods in com.logicaldoc.core.security.dao that return Session Modifier and Type Method Description Session
HibernateSessionDAO. findBySid(String sid)
Session
SessionDAO. findBySid(String sid)
Retrieves the session of the given SIDMethods in com.logicaldoc.core.security.dao that return types with arguments of type Session Modifier and Type Method Description List<Session>
HibernateSessionDAO. findByNode(String node)
List<Session>
SessionDAO. findByNode(String node)
Retrieves the session of the given nodeMethods in com.logicaldoc.core.security.dao with parameters of type Session Modifier and Type Method Description void
HibernateSessionDAO. initialize(Session session)
-
Uses of Session in com.logicaldoc.dropbox
Methods in com.logicaldoc.dropbox that return Session Modifier and Type Method Description static Session
SessionUtil. validateSession(String sid)
Throws a runtime exception id the given session is invalidstatic Session
SessionUtil. validateSession(javax.servlet.http.HttpServletRequest request)
Methods in com.logicaldoc.dropbox with parameters of type Session Modifier and Type Method Description static Locale
SessionUtil. currentLocale(Session session)
-
Uses of Session in com.logicaldoc.web.service
Methods in com.logicaldoc.web.service with parameters of type Session Modifier and Type Method Description static GUIDocument
DocumentServiceImpl. getDocument(Session session, long docId)
static GUIFolder
FolderServiceImpl. getFolder(Session session, long folderId)
static GUIFolder
FolderServiceImpl. getFolder(Session session, long folderId, boolean computePath)
List<SearchOptions>
SearchServiceImpl. getSearches(Session session)
Load all the search options associated to all the searches saved for the current userGUISession
SecurityServiceImpl. loadSession(Session sess, String locale)
Used internally by login procedures, instantiates a new GUISession by a given authenticated user -
Uses of Session in com.logicaldoc.web.util
Methods in com.logicaldoc.web.util that return Session Modifier and Type Method Description static Session
ServiceUtil. checkEvenOneMenu(javax.servlet.http.HttpServletRequest request, long... menuIds)
Checks if a specific menu is accessible by the user in the current sessionstatic Session
ServletUtil. checkEvenOneMenu(javax.servlet.http.HttpServletRequest request, long... menuIds)
Checks if at least one of the given menus is accessible by the user in the current sessionstatic Session
ServiceUtil. checkMenu(javax.servlet.http.HttpServletRequest request, long menuId)
Check if a specific menu is accessible by the user in the current sessionstatic Session
ServletUtil. checkMenu(javax.servlet.http.HttpServletRequest request, long menuId)
static Session
ServiceUtil. validateSession(String sid)
Throws a runtime exception id the given session is invalidstatic Session
ServiceUtil. validateSession(javax.servlet.http.HttpServletRequest request)
static Session
ServletUtil. validateSession(javax.servlet.http.HttpServletRequest request)
Methods in com.logicaldoc.web.util with parameters of type Session Modifier and Type Method Description static Locale
ServiceUtil. currentLocale(Session session)
static Object
ServiceUtil. throwServerException(Session session, org.slf4j.Logger logger, Throwable t)
-