@Controller public abstract class BaseController extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPOUND_SP
The name of the key under which a compoundSps (e.g.
|
static String |
COMPOUND_SPS
The name of the key under which all compoundSps (e.g.
|
static String |
DEEPLINK_TO_SURFMARKET_ALLOWED
The name of the key that defines whether a deeplink to SURFMarket should be
shown.
|
static String |
FACET_CONNECTION_VISIBLE
The name of the key under which we store the info if the connection facet is visible to the current user.
|
static String |
IS_GOD
The name of the key under which we store the info if the logged in user is
CSA Admin (aka God)
|
protected org.springframework.web.servlet.LocaleResolver |
localeResolver |
protected static String |
SELECTED_IDP
Key in which we store the currently selected IdP
|
static String |
SERVICE_CONNECTION_VISIBLE
The name of the key under which we store the info if the status of a
technical connection is visible to the current user.
|
static String |
TOKEN_CHECK
The name of the key under which we store the token used to prevent session
hijacking
|
| Constructor and Description |
|---|
BaseController() |
| Modifier and Type | Method and Description |
|---|---|
Locale |
getLocale(javax.servlet.http.HttpServletRequest request) |
List<IdentityProvider> |
getMyInstitutionIdps() |
protected IdentityProvider |
getSelectedIdp(javax.servlet.http.HttpServletRequest request) |
public static final String COMPOUND_SPS
public static final String COMPOUND_SP
public static final String SERVICE_CONNECTION_VISIBLE
public static final String FACET_CONNECTION_VISIBLE
public static final String DEEPLINK_TO_SURFMARKET_ALLOWED
public static final String IS_GOD
public static final String TOKEN_CHECK
protected static final String SELECTED_IDP
protected org.springframework.web.servlet.LocaleResolver localeResolver
@ModelAttribute(value="idps") public List<IdentityProvider> getMyInstitutionIdps()
@ModelAttribute(value="locale") public Locale getLocale(javax.servlet.http.HttpServletRequest request)
protected IdentityProvider getSelectedIdp(javax.servlet.http.HttpServletRequest request)
Copyright © 2012–2017 Pivotal Software, Inc.. All rights reserved.