public class SAML2HTTPPostSimpleSignSecurityHandler extends BaseSAMLSimpleSignatureSecurityHandler
| Constructor and Description |
|---|
SAML2HTTPPostSimpleSignSecurityHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doInitialize() |
KeyInfoCredentialResolver |
getKeyInfoResolver()
Get the KeyInfo credential resolver.
|
net.shibboleth.utilities.java.support.xml.ParserPool |
getParserPool()
Get the parser pool.
|
protected List<Credential> |
getRequestCredentials(MessageContext samlContext)
Extract any candidate validation credentials from the request and/or message context.
|
protected byte[] |
getSignedContent()
Get the content over which to validate the signature, in the form suitable for input into
SignatureTrustEngine.validate(byte[], byte[], String, CriteriaSet, Credential). |
protected boolean |
ruleHandles(MessageContext messageContext)
Determine whether the rule should handle the request, based on the unwrapped HTTP servlet request and/or message
context.
|
void |
setKeyInfoResolver(KeyInfoCredentialResolver newKeyInfoResolver)
Set the KeyInfo credential resolver.
|
void |
setParser(net.shibboleth.utilities.java.support.xml.ParserPool newParserPool)
Set the parser pool.
|
buildCriteriaSet, deriveSignerEntityID, doInvoke, doPreInvoke, getHttpServletRequest, getSignature, getSignatureAlgorithm, getTrustEngine, setHttpServletRequest, validateSignaturedoPostInvoke, doPostInvoke, getLogPrefix, invokedestroy, doDestroy, initialize, isDestroyed, isInitializedpublic SAML2HTTPPostSimpleSignSecurityHandler()
@NonnullAfterInit public net.shibboleth.utilities.java.support.xml.ParserPool getParserPool()
public void setParser(@Nonnull net.shibboleth.utilities.java.support.xml.ParserPool newParserPool)
newParserPool - The parser to set.@NonnullAfterInit public KeyInfoCredentialResolver getKeyInfoResolver()
public void setKeyInfoResolver(@Nonnull KeyInfoCredentialResolver newKeyInfoResolver)
newKeyInfoResolver - The keyInfoResolver to set.protected void doInitialize()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
doInitialize in class BaseSAMLSimpleSignatureSecurityHandlernet.shibboleth.utilities.java.support.component.ComponentInitializationExceptionprotected boolean ruleHandles(@Nonnull MessageContext messageContext)
ruleHandles in class BaseSAMLSimpleSignatureSecurityHandlermessageContext - the SAML message context being processed@Nullable protected byte[] getSignedContent() throws MessageHandlerException
SignatureTrustEngine.validate(byte[], byte[], String, CriteriaSet, Credential).getSignedContent in class BaseSAMLSimpleSignatureSecurityHandlerMessageHandlerException - thrown if there is an error during request processing@Nonnull @NonnullElements protected List<Credential> getRequestCredentials(@Nonnull MessageContext samlContext) throws MessageHandlerException
getRequestCredentials in class BaseSAMLSimpleSignatureSecurityHandlersamlContext - the SAML message context being processedMessageHandlerException - thrown if there is an error during request processingCopyright © 2021. All rights reserved.