Class StaticMessageChannelSecurity
- java.lang.Object
-
- net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
-
- org.opensaml.messaging.handler.AbstractMessageHandler
-
- org.opensaml.messaging.handler.impl.AbstractMessageChannelSecurity
-
- org.opensaml.messaging.handler.impl.StaticMessageChannelSecurity
-
- 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 StaticMessageChannelSecurity extends AbstractMessageChannelSecurity
Message handler which populates aMessageChannelSecurityContextbased on static configuration flags.
-
-
Field Summary
Fields Modifier and Type Field Description private booleanconfidentialityActiveMessage channel confidentiality flag.private booleanintegrityActiveMessage channel integrity flag.
-
Constructor Summary
Constructors Constructor Description StaticMessageChannelSecurity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoInvoke(org.opensaml.messaging.context.MessageContext messageContext)booleanisConfidentialityActive()Get whether message channel confidentiality is active.booleanisIntegrityActive()Get whether message channel integrity is active.voidsetConfidentialityActive(boolean flag)Set whether message channel confidentiality is active.voidsetIntegrityActive(boolean flag)Set whether message channel integrity is active.-
Methods inherited from class org.opensaml.messaging.handler.impl.AbstractMessageChannelSecurity
doPreInvoke, getParentContext, setParentContextLookupStrategy
-
Methods inherited from class org.opensaml.messaging.handler.AbstractMessageHandler
doPostInvoke, doPostInvoke, getActivationCondition, getLogPrefix, invoke, setActivationCondition
-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, doInitialize, initialize, isDestroyed, isInitialized
-
-
-
-
Method Detail
-
isConfidentialityActive
public boolean isConfidentialityActive()
Get whether message channel confidentiality is active.- Returns:
- Returns the confidentialityActive.
-
setConfidentialityActive
public void setConfidentialityActive(boolean flag)
Set whether message channel confidentiality is active.- Parameters:
flag- The confidentialityActive to set.
-
isIntegrityActive
public boolean isIntegrityActive()
Get whether message channel integrity is active.- Returns:
- Returns the integrityActive.
-
setIntegrityActive
public void setIntegrityActive(boolean flag)
Set whether message channel integrity is active.- Parameters:
flag- The integrityActive to set.
-
doInvoke
protected void doInvoke(@Nonnull org.opensaml.messaging.context.MessageContext messageContext)- Specified by:
doInvokein classorg.opensaml.messaging.handler.AbstractMessageHandler
-
-