public class ResolveArtifact extends AbstractProfileAction
ArtifactResolve
request located
via a lookup strategy, by default from the inbound message context, and maps it to the
corresponding message.
The message is added to an ArtifactResponse
located via a lookup strategy, by default
from the outbound message context.
Constructor and Description |
---|
ResolveArtifact()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doExecute(ProfileRequestContext profileRequestContext)
Performs this action.
|
protected void |
doInitialize()
Performs the initialization of the component.
|
protected boolean |
doPreExecute(ProfileRequestContext profileRequestContext)
Called prior to execution, actions may override this method to perform pre-processing for a request.
|
void |
setArtifactMap(SAMLArtifactMap map)
Set the artifact map to use.
|
void |
setIssuerLookupStrategy(com.google.common.base.Function<ProfileRequestContext,String> strategy)
Set the strategy used to locate the issuer's identity.
|
void |
setRequesterLookupStrategy(com.google.common.base.Function<ProfileRequestContext,String> strategy)
Set the strategy used to locate the requester's identity.
|
void |
setRequestLookupStrategy(com.google.common.base.Function<ProfileRequestContext,ArtifactResolve> strategy)
Set the strategy used to locate the
ArtifactResolve to operate on. |
void |
setResponseLookupStrategy(com.google.common.base.Function<ProfileRequestContext,ArtifactResponse> strategy)
Set the strategy used to locate the
ArtifactResponse to operate on. |
doPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponse
destroy, doDestroy, initialize, isDestroyed, isInitialized
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initialize, isInitialized
public void setRequestLookupStrategy(@Nonnull com.google.common.base.Function<ProfileRequestContext,ArtifactResolve> strategy)
ArtifactResolve
to operate on.strategy
- lookup strategypublic void setResponseLookupStrategy(@Nonnull com.google.common.base.Function<ProfileRequestContext,ArtifactResponse> strategy)
ArtifactResponse
to operate on.strategy
- lookup strategypublic void setIssuerLookupStrategy(@Nonnull com.google.common.base.Function<ProfileRequestContext,String> strategy)
strategy
- lookup strategypublic void setRequesterLookupStrategy(@Nonnull com.google.common.base.Function<ProfileRequestContext,String> strategy)
strategy
- lookup strategypublic void setArtifactMap(@Nonnull SAMLArtifactMap map)
map
- artifact mapprotected void doInitialize() throws ComponentInitializationException
doInitialize
in class AbstractInitializableComponent
ComponentInitializationException
- thrown if there is a problem initializing the componentprotected boolean doPreExecute(@Nonnull ProfileRequestContext profileRequestContext)
If false is returned, execution will not proceed, and the action should attach an
EventContext
to the context tree to signal how to continue with overall
workflow processing.
If returning successfully, the last step should be to return the result of the superclass version of this method.
doPreExecute
in class AbstractProfileAction
profileRequestContext
- the current IdP profile request contextprotected void doExecute(@Nonnull ProfileRequestContext profileRequestContext)
doExecute
in class AbstractProfileAction
profileRequestContext
- the current IdP profile request contextCopyright © 2016 JBoss by Red Hat. All rights reserved.