Class SAML2AuthnRequestsSignedSecurityHandler
- java.lang.Object
-
- net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
-
- org.opensaml.messaging.handler.AbstractMessageHandler
-
- org.opensaml.saml.saml2.binding.security.impl.SAML2AuthnRequestsSignedSecurityHandler
-
- All Implemented Interfaces:
net.shibboleth.utilities.java.support.component.Component,net.shibboleth.utilities.java.support.component.DestructableComponent,net.shibboleth.utilities.java.support.component.InitializableComponent,org.opensaml.messaging.handler.MessageHandler
public class SAML2AuthnRequestsSignedSecurityHandler extends org.opensaml.messaging.handler.AbstractMessageHandlerMessage handler implementation that enforces the AuthnRequestsSigned flag of SAML 2 metadata element @{linkSPSSODescriptor.
-
-
Constructor Summary
Constructors Constructor Description SAML2AuthnRequestsSignedSecurityHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoInvoke(org.opensaml.messaging.context.MessageContext messageContext)protected booleanisMessageSigned(org.opensaml.messaging.context.MessageContext messageContext)Determine whether the inbound message is signed.-
Methods inherited from class org.opensaml.messaging.handler.AbstractMessageHandler
doPostInvoke, doPostInvoke, doPreInvoke, getActivationCondition, getLogPrefix, invoke, setActivationCondition
-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, doInitialize, initialize, isDestroyed, isInitialized
-
-
-
-
Field Detail
-
log
@Nonnull private final Logger log
Logger.
-
-
Method Detail
-
doInvoke
public void doInvoke(@Nonnull org.opensaml.messaging.context.MessageContext messageContext) throws org.opensaml.messaging.handler.MessageHandlerException- Specified by:
doInvokein classorg.opensaml.messaging.handler.AbstractMessageHandler- Throws:
org.opensaml.messaging.handler.MessageHandlerException
-
isMessageSigned
protected boolean isMessageSigned(@Nonnull org.opensaml.messaging.context.MessageContext messageContext)Determine whether the inbound message is signed.- Parameters:
messageContext- the message context being evaluated- Returns:
- true if the inbound message is signed, otherwise false
-
-