BaltradDex
BALTRAD Data Exchange System
Loading...
Searching...
No Matches
eu.baltrad.dex.auth.manager.SecurityManager Class Reference

Static Public Member Functions

static User getSessionUser (HttpSession session)
 
static void setSessionUser (HttpSession session, User user)
 
static void resetSessionUser (HttpSession session)
 
static Role getSessionRole (HttpSession session)
 
static void setSessionRole (HttpSession session, Role role)
 
static void resetSessionRole (HttpSession session)
 

Detailed Description

Implements session management functionality.

Author
Maciej Szewczykowski :: macie.nosp@m.j@ba.nosp@m.ltrad.nosp@m..eu
Version
1.2.2
Since
1.1.1

Member Function Documentation

◆ getSessionRole()

static Role eu.baltrad.dex.auth.manager.SecurityManager.getSessionRole ( HttpSession session)
inlinestatic

Gets session user's role.

Parameters
sessionHttp session
Returns
Session user's role

◆ getSessionUser()

static User eu.baltrad.dex.auth.manager.SecurityManager.getSessionUser ( HttpSession session)
inlinestatic

Gets session user.

Parameters
sessionHttp session
Returns
Session user

◆ resetSessionRole()

static void eu.baltrad.dex.auth.manager.SecurityManager.resetSessionRole ( HttpSession session)
inlinestatic

Resets session user's role.

Parameters
sessionHttp session

◆ resetSessionUser()

static void eu.baltrad.dex.auth.manager.SecurityManager.resetSessionUser ( HttpSession session)
inlinestatic

Resets session user

Parameters
sessionHttp session

◆ setSessionRole()

static void eu.baltrad.dex.auth.manager.SecurityManager.setSessionRole ( HttpSession session,
Role role )
inlinestatic

Sets session user's role.

Parameters
sessionHttp session
roleRole to set

◆ setSessionUser()

static void eu.baltrad.dex.auth.manager.SecurityManager.setSessionUser ( HttpSession session,
User user )
inlinestatic

Sets session user.

Parameters
sessionHttp session
userUser to set

The documentation for this class was generated from the following file: