Package org.opensaml.profile.action.impl
Class StaticMessageChannelSecurity
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
org.opensaml.profile.action.AbstractProfileAction
org.opensaml.profile.action.impl.AbstractMessageChannelSecurity
org.opensaml.profile.action.impl.StaticMessageChannelSecurity
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,ProfileAction
Profile action which populates a
MessageChannelSecurityContext based on static configuration flags.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanMessage channel confidentiality flag.private booleanMessage channel integrity flag. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoExecute(ProfileRequestContext profileRequestContext) Performs this action.booleanGet whether message channel confidentiality is active.booleanGet 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.profile.action.impl.AbstractMessageChannelSecurity
doPreExecute, ensureParentContext, getParentContext, setParentContextLookupStrategyMethods inherited from class org.opensaml.profile.action.AbstractProfileAction
doPostExecute, doPostExecute, ensureHttpServletRequest, ensureHttpServletResponse, execute, getHttpServletRequest, getHttpServletRequestSupplier, getHttpServletResponse, getHttpServletResponseSupplier, getLogPrefix, isPreExecuteCalled, setHttpServletRequestSupplier, setHttpServletResponseSupplierMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, doInitialize, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentException, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.shared.component.InitializableComponent
initialize, isInitialized
-
Field Details
-
confidentialityActive
private boolean confidentialityActiveMessage channel confidentiality flag. -
integrityActive
private boolean integrityActiveMessage channel integrity flag.
-
-
Constructor Details
-
StaticMessageChannelSecurity
public StaticMessageChannelSecurity()
-
-
Method Details
-
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.
-
doExecute
Performs this action. Actions must override this method to perform their work.- Overrides:
doExecutein classAbstractProfileAction- Parameters:
profileRequestContext- the current IdP profile request context
-