public abstract class BaseSAMLXMLSignatureSecurityHandler extends BaseTrustEngineSecurityHandler<Signature>
| Modifier and Type | Field and Description |
|---|---|
private SAMLPeerEntityContext |
peerContext
The context representing the SAML peer entity.
|
private SAMLProtocolContext |
samlProtocolContext
The SAML protocol context in operation.
|
| Constructor and Description |
|---|
BaseSAMLXMLSignatureSecurityHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected net.shibboleth.utilities.java.support.resolver.CriteriaSet |
buildCriteriaSet(java.lang.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, getTrustEnginedoInvoke, doPostInvoke, doPostInvoke, getLogPrefix, invokedestroy, doDestroy, doInitialize, initialize, isDestroyed, isInitialized@Nullable private SAMLPeerEntityContext peerContext
@Nullable private SAMLProtocolContext samlProtocolContext
@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
java.lang.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 constructed