public class SignAssertions extends AbstractProfileAction
InOutOperationContext.getOutboundMessageContext().
The SecurityParametersContext governing the signing process is located by a lookup
strategy, by default a child of the profile request context.
| Modifier and Type | Field and Description |
|---|---|
private Logger |
log
Class logger.
|
private SAMLObject |
response
The response containing the assertions to be signed.
|
private com.google.common.base.Function<ProfileRequestContext,SAMLObject> |
responseLookupStrategy
Strategy used to locate the response to operate on.
|
private com.google.common.base.Function<ProfileRequestContext,org.opensaml.xmlsec.context.SecurityParametersContext> |
securityParametersLookupStrategy
Strategy used to locate the
SecurityParametersContext to use for signing. |
private org.opensaml.xmlsec.SignatureSigningParameters |
signatureSigningParameters
The signature signing parameters.
|
| Constructor and Description |
|---|
SignAssertions()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute(ProfileRequestContext profileRequestContext) |
protected boolean |
doPreExecute(ProfileRequestContext profileRequestContext) |
private void |
logResponse(String message)
Log the Response with the given message at trace level.
|
void |
setResponseLookupStrategy(com.google.common.base.Function<ProfileRequestContext,SAMLObject> strategy)
Set the strategy used to locate the response to operate on.
|
void |
setSecurityParametersLookupStrategy(com.google.common.base.Function<ProfileRequestContext,org.opensaml.xmlsec.context.SecurityParametersContext> strategy)
Set the strategy used to locate the
SecurityParametersContext to use. |
doPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponsedestroy, doDestroy, doInitialize, initialize, isDestroyed, isInitialized@Nonnull private com.google.common.base.Function<ProfileRequestContext,SAMLObject> responseLookupStrategy
@Nonnull private com.google.common.base.Function<ProfileRequestContext,org.opensaml.xmlsec.context.SecurityParametersContext> securityParametersLookupStrategy
SecurityParametersContext to use for signing.@Nullable private org.opensaml.xmlsec.SignatureSigningParameters signatureSigningParameters
@Nullable private SAMLObject response
public void setResponseLookupStrategy(@Nonnull com.google.common.base.Function<ProfileRequestContext,SAMLObject> strategy)
strategy - lookup strategypublic void setSecurityParametersLookupStrategy(@Nonnull com.google.common.base.Function<ProfileRequestContext,org.opensaml.xmlsec.context.SecurityParametersContext> strategy)
SecurityParametersContext to use.strategy - lookup strategyprotected boolean doPreExecute(@Nonnull ProfileRequestContext profileRequestContext)
doPreExecute in class AbstractProfileActionprotected void doExecute(@Nonnull ProfileRequestContext profileRequestContext)
doExecute in class AbstractProfileActionCopyright © 1999–2020 Shibboleth Consortium. All rights reserved.