Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In XperienCentral there are actually three different sessions that play a role in Session Management:

 

Session InterfaceDescription

nl.gx.webmanager.foundation.Session

XperienCentral specific session. Acts as a wrapper of XperienCentral specific context information and the JCR and HTTP sessions.

javax.jcr.Session

JCR session, needed to read and write from and to the JCR.

javax.servlet.http.HttpSession

Website visitor session (see Java API documentation)

 

Session Management is handled by the Session Manager service which only provides getters and instantiate methods for the first session type; the nl.gx.webmanager.foundation.Session. Because this is a wrapper around the other two sessions, you always have access to all three sessions if you have access to this session. The major purpose of the session is to define authorization. Authorization depends on the roles associated with the user stored in the session.

...