public class ResolverTestRequestDecoder extends 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(javax.servlet.http.HttpServletRequest request)
Get the ACS index.
|
protected String |
getPrincipal(javax.servlet.http.HttpServletRequest request)
Get the name of the subject.
|
protected String |
getProtocol(javax.servlet.http.HttpServletRequest request)
Get the protocol.
|
protected String |
getRequesterId(javax.servlet.http.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, waitgetMessageContextinitialize, 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 MessageDecodingException
doDecode in class AbstractMessageDecoder<ResolverTestRequest>MessageDecodingException@Nonnull @NotEmpty protected String getPrincipal(@Nonnull javax.servlet.http.HttpServletRequest request) throws MessageDecodingException
request - current HTTP requestMessageDecodingException - thrown if the request does not contain a subject name@Nonnull @NotEmpty protected String getRequesterId(@Nonnull javax.servlet.http.HttpServletRequest request) throws MessageDecodingException
request - current HTTP requestMessageDecodingException - thrown if the request does not contain a requester name@Nullable protected Integer getIndex(@Nonnull javax.servlet.http.HttpServletRequest request)
request - current HTTP requestCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.