Class InitializePAOSBindingContext
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
org.opensaml.profile.action.AbstractProfileAction
org.opensaml.profile.action.AbstractConditionalProfileAction
net.shibboleth.idp.profile.AbstractProfileAction
net.shibboleth.sp.saml.saml2.profile.impl.InitializePAOSBindingContext
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,ProfileAction,Aware,MessageSource,MessageSourceAware,Action
Action that populates the outbound
SAMLBindingContext for a PAOS message.- Event:
EventIds.PROCEED_EVENT_ID,EventIds.INVALID_MSG_CTX,EventIds.MESSAGE_PROC_ERROR- Postcondition:
profileRequestContext.ensureOutboundMessageContext().getSubcontext(SAMLBindingContext.class).getBindingDescriptor() != null
-
Field Summary
FieldsModifier and TypeFieldDescriptionStrategy function for access toSAMLBindingContextto populate.private BindingDescriptorBinding descriptor for PAOS.Lookup strategy for bindings.private final org.slf4j.LoggerClass logger. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoExecute(ProfileRequestContext profileRequestContext) protected booleandoPreExecute(ProfileRequestContext profileRequestContext) voidSet creation strategy forSAMLBindingContextto populate.voidsetBindingDescriptor(BindingDescriptor descriptor) Sets theBindingDescriptorfor PAOS.voidSet lookup strategy to return theBindingDescriptorfor PAOS.Methods inherited from class net.shibboleth.idp.profile.AbstractProfileAction
doExecute, execute, getBean, getBean, getMessage, getMessage, getMessage, getParameter, getParameter, getProfileContextLookupStrategy, getRequestContext, getResult, setMessageSource, setProfileContextLookupStrategyMethods inherited from class org.opensaml.profile.action.AbstractConditionalProfileAction
getActivationCondition, setActivationConditionMethods 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
-
log
@Nonnull private final org.slf4j.Logger logClass logger. -
bindingDescriptorLookupStrategy
Lookup strategy for bindings. -
bindingContextCreationStrategy
Strategy function for access toSAMLBindingContextto populate. -
bindingDescriptor
Binding descriptor for PAOS.
-
-
Constructor Details
-
InitializePAOSBindingContext
public InitializePAOSBindingContext()Constructor.
-
-
Method Details
-
setBindingDescriptor
Sets theBindingDescriptorfor PAOS.- Parameters:
descriptor- binding descriptor
-
setBindingDescriptorLookupStrategy
public void setBindingDescriptorLookupStrategy(@Nonnull Function<ProfileRequestContext, BindingDescriptor> strategy) Set lookup strategy to return theBindingDescriptorfor PAOS.- Parameters:
strategy- lookup strategy
-
setBindingContextCreationStrategy
public void setBindingContextCreationStrategy(@Nonnull Function<ProfileRequestContext, SAMLBindingContext> strategy) Set creation strategy forSAMLBindingContextto populate.- Parameters:
strategy- lookup strategy
-
doPreExecute
- Overrides:
doPreExecutein classAbstractConditionalProfileAction
-
doExecute
- Overrides:
doExecutein classAbstractProfileAction
-