public abstract class BaseSAMLXMLSignatureSecurityHandler extends BaseTrustEngineSecurityHandler<Signature>
Constructor and Description |
---|
BaseSAMLXMLSignatureSecurityHandler() |
Modifier and Type | Method and Description |
---|---|
protected net.shibboleth.utilities.java.support.resolver.CriteriaSet |
buildCriteriaSet(String entityID,
MessageContext messageContext)
Subclasses are required to implement this method to build a criteria set for the trust engine
according to trust engine and application-specific needs.
|
protected boolean |
doPreInvoke(MessageContext messageContext)
Called prior to execution, handlers may override this method to perform pre-processing for a request.
|
protected SAMLPeerEntityContext |
getSAMLPeerEntityContext()
Get the
SAMLPeerEntityContext associated with the message. |
protected SAMLProtocolContext |
getSAMLProtocolContext()
Get the
SAMLProtocolContext associated with the message. |
protected TrustEngine<Signature> |
resolveTrustEngine(MessageContext messageContext)
Resolve a TrustEngine instance of the appropriate type from the message context.
|
evaluate, evaluate, getTrustEngine
doInvoke, doPostInvoke, doPostInvoke, getLogPrefix, invoke
destroy, doDestroy, doInitialize, initialize, isDestroyed, isInitialized
@Nullable protected SAMLPeerEntityContext getSAMLPeerEntityContext()
SAMLPeerEntityContext
associated with the message.@Nullable protected SAMLProtocolContext getSAMLProtocolContext()
SAMLProtocolContext
associated with the message.protected boolean doPreInvoke(@Nonnull MessageContext messageContext) throws MessageHandlerException
If false is returned, execution will not proceed.
If returning successfully, the last step should be to return the result of the superclass version of this method.
doPreInvoke
in class BaseTrustEngineSecurityHandler<Signature>
messageContext
- the message context on which to invoke the handlerMessageHandlerException
- if there is a problem executing the handler pre-routine@Nullable protected TrustEngine<Signature> resolveTrustEngine(@Nonnull MessageContext messageContext)
resolveTrustEngine
in class BaseTrustEngineSecurityHandler<Signature>
messageContext
- the message context which is being evaluated@Nonnull protected net.shibboleth.utilities.java.support.resolver.CriteriaSet buildCriteriaSet(@Nullable String entityID, @Nonnull MessageContext messageContext) throws MessageHandlerException
buildCriteriaSet
in class BaseTrustEngineSecurityHandler<Signature>
entityID
- the candidate issuer entity ID which is being evaluatedmessageContext
- the message context which is being evaluatedMessageHandlerException
- thrown if criteria set can not be constructedCopyright © 2016. All rights reserved.