public class ConsentServlet extends HttpServlet
| Modifier and Type | Class and Description |
|---|---|
class |
ConsentServlet.DisplayAttribute
Aggregation class for an attribute.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTES_KEY
Key for the current attribute release.
|
private List<String> |
attributeSortOrder
The specified attribute sort order.
|
private boolean |
globalConsentEnabled
Whether global consent is enabled or not.
|
private LocalizationHelper |
localizationHelper
The
LocalizationHelper which is used. |
private Logger |
logger
Class logger.
|
static String |
RELYINGPARTYID_KEY
Key for the current relying party id.
|
private static long |
serialVersionUID
Serial version UID.
|
private Storage |
storage
The
Storage instance which is used. |
static String |
USER_KEY
Key for the current user object.
|
private VelocityEngine |
velocityEngine
The velocity engine.
|
| Constructor and Description |
|---|
ConsentServlet() |
| Modifier and Type | Method and Description |
|---|---|
private List<ConsentServlet.DisplayAttribute> |
createDisplayAttributes(Collection<net.shibboleth.idp.attribute.IdPAttribute> attributes,
Locale locale)
Creates a list of display attributes using a specific locale.
|
protected void |
doGet(HttpServletRequest request,
HttpServletResponse response) |
protected void |
doPost(HttpServletRequest request,
HttpServletResponse response) |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicedestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, logpublic static final String USER_KEY
public static final String RELYINGPARTYID_KEY
public static final String ATTRIBUTES_KEY
private static final long serialVersionUID
private final Logger logger
private LocalizationHelper localizationHelper
LocalizationHelper which is used.private boolean globalConsentEnabled
private VelocityEngine velocityEngine
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doGet in class HttpServletServletExceptionIOExceptionprotected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doPost in class HttpServletServletExceptionIOExceptionprivate List<ConsentServlet.DisplayAttribute> createDisplayAttributes(Collection<net.shibboleth.idp.attribute.IdPAttribute> attributes, Locale locale)
attributes - The attributes.locale - The locale.Copyright © 1999–2014. All rights reserved.