public class ResolverTestRequestDecoder extends org.opensaml.messaging.decoder.servlet.AbstractHttpServletRequestMessageDecoder<ResolverTestRequest>
| Modifier and Type | Field and Description |
|---|---|
static String |
ACS_INDEX_PARAM
Name of the query parameter carrying the ACS index: "acsIndex" .
|
private org.slf4j.Logger |
log
Class logger.
|
static String |
PRINCIPAL_PARAM
Name of the query parameter carrying the subject name: "principal" .
|
static String |
PROTOCOL_PARAM
Name of the query parameter carrying the protocol: "protocol" .
|
static String |
REQUESTER_ID_PARAM
Name of the query parameter carrying the requesterID: "requester" .
|
static String |
SAML1_PARAM
Name of the query parameter for the SAML 1 protocol: "saml1" .
|
static String |
SAML2_PARAM
Name of the query parameter for the SAML 2 protocol: "saml2" .
|
| Constructor and Description |
|---|
ResolverTestRequestDecoder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDecode() |
protected Integer |
getIndex(HttpServletRequest request)
Get the ACS index.
|
protected String |
getPrincipal(HttpServletRequest request)
Get the name of the subject.
|
protected String |
getProtocol(HttpServletRequest request)
Get the protocol.
|
protected String |
getRequesterId(HttpServletRequest request)
Get the ID of the requester.
|
decode, doDestroy, doInitialize, getHttpServletRequest, setHttpServletRequestgetMessageContext, setMessageContextdestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialize, isInitializeddestroy, isDestroyed@Nonnull @NotEmpty public static final String PRINCIPAL_PARAM
@Nonnull @NotEmpty public static final String REQUESTER_ID_PARAM
@Nonnull @NotEmpty public static final String ACS_INDEX_PARAM
@Nonnull @NotEmpty public static final String PROTOCOL_PARAM
@Nonnull @NotEmpty public static final String SAML1_PARAM
@Nonnull @NotEmpty public static final String SAML2_PARAM
@Nonnull private final org.slf4j.Logger log
protected void doDecode()
throws org.opensaml.messaging.decoder.MessageDecodingException
doDecode in class org.opensaml.messaging.decoder.AbstractMessageDecoder<ResolverTestRequest>org.opensaml.messaging.decoder.MessageDecodingException@Nonnull @NotEmpty protected String getPrincipal(@Nonnull HttpServletRequest request) throws org.opensaml.messaging.decoder.MessageDecodingException
request - current HTTP requestorg.opensaml.messaging.decoder.MessageDecodingException - thrown if the request does not contain a subject name@Nonnull @NotEmpty protected String getRequesterId(@Nonnull HttpServletRequest request) throws org.opensaml.messaging.decoder.MessageDecodingException
request - current HTTP requestorg.opensaml.messaging.decoder.MessageDecodingException - thrown if the request does not contain a requester name@Nullable protected Integer getIndex(@Nonnull HttpServletRequest request)
request - current HTTP request@Nullable protected String getProtocol(@Nonnull HttpServletRequest request)
request - current HTTP requestCopyright © 1999–2017 Shibboleth Consortium. All rights reserved.