Package io.jans.casa.service
Interface ISessionContext
public interface ISessionContext
An interface providing methods with basic descriptive information about the current user's session.
- Author:
- jgomer
-
Method Summary
Modifier and TypeMethodDescriptionProvides descriptive information about the current browser session.Returns an object representing the current logged user.
-
Method Details
-
getLoggedUser
User getLoggedUser()Returns an object representing the current logged user.- Returns:
- An instance of
Userclass or null if there is no user logged currently
-
getBrowser
BrowserInfo getBrowser()Provides descriptive information about the current browser session. SeeBrowserInfoclass.- Returns:
- A non-null
BrowserInfoinstance
-