public interface CmsSessionContext
Modifier and Type | Field and Description |
---|---|
static String |
LOCALE
Key to retrieve the locale applicable to the current CMS session.
|
static String |
REPOSITORY_CREDENTIALS
Key to the the SimpleCredentials with which the CMS session authenticates with the Repository.
|
static String |
SESSION_KEY
Attribute name under which the CmsSessionContext is bind in its HttpSession
|
Modifier and Type | Method and Description |
---|---|
Object |
get(String key)
Retrieve CMS Session Context specific information by key
|
String |
getCmsContextServiceId() |
static CmsSessionContext |
getContext(javax.servlet.http.HttpSession session)
Static method to retrieve the CmsSessionContext from a HttpSession
|
String |
getId() |
default Locale |
getLocale() |
default javax.jcr.SimpleCredentials |
getRepositoryCredentials() |
static final String SESSION_KEY
static final String REPOSITORY_CREDENTIALS
getRepositoryCredentials()
,
Constant Field Valuesstatic final String LOCALE
getLocale()
,
Constant Field Valuesstatic CmsSessionContext getContext(javax.servlet.http.HttpSession session)
session
- the HttpSessionString getId()
String getCmsContextServiceId()
Object get(String key)
key
- the key of the informationdefault javax.jcr.SimpleCredentials getRepositoryCredentials()
default Locale getLocale()
Copyright © 2012–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.