public class AbstractSAML2FlowTest extends AbstractFlowTest
builderFactory, certFactoryBean, directoryServer, END_STATE_ID, END_STATE_OUTPUT_ATTR_EXPR, END_STATE_OUTPUT_ATTR_NAME, externalContext, flowExecutor, idGenerator, IDP_ENTITY_ID, idpCredential, IP_ADDRESS_AUTHN_FLOW_ID, IP_ADDRESS_AUTHN_MAP_BEAN_NAME, KEYSTORE_FILE, LDIF_FILE, marshallerFactory, parserPool, request, response, SAML1_TRANSFORM_C14N_BEAN_NAME, SAML2_TRANSFORM_C14N_BEAN_NAME, SP_ACS_URL, SP_ENTITY_ID, SP_RELAY_STATE, spCredential, unmarshallerFactoryapplicationContext, logger| Constructor and Description |
|---|
AbstractSAML2FlowTest() |
| Modifier and Type | Method and Description |
|---|---|
org.opensaml.saml.saml2.core.Response |
getResponse(org.springframework.webflow.executor.FlowExecutionResult result)
Get the SAML response from the flow result
|
void |
validateResult(org.springframework.webflow.executor.FlowExecutionResult result,
String flowId)
Validate the
FlowExecutionResult using a default SAML2TestResponseValidator. |
void |
validateResult(org.springframework.webflow.executor.FlowExecutionResult result,
String flowId,
SAML2TestResponseValidator validator)
Validate the
FlowExecutionResult using the given SAML2TestResponseValidator. |
assertFlowExecutionOutcome, assertFlowExecutionOutcome, assertFlowExecutionResult, assertProfileRequestContext, buildSOAP11Envelope, clearThreadLocals, getFlow, initializeFlowExecutor, initializeMocks, initializeThreadLocals, initializeXMLObjectSupport, overrideEndStateOutput, overrideEndStateOutput, registerFlowsInParentRegistry, retrieveProfileRequestContext, setAuthnFlowsProperty, setIdPHomeProperty, setupDirectoryServer, teardownDirectoryServerrun, setApplicationContext, springTestContextAfterTestClass, springTestContextAfterTestMethod, springTestContextBeforeTestClass, springTestContextBeforeTestMethod, springTestContextPrepareTestInstancepublic void validateResult(@Nullable org.springframework.webflow.executor.FlowExecutionResult result, @Nonnull String flowId)
FlowExecutionResult using a default SAML2TestResponseValidator.result - the flow execution resultflowId - the flow IDpublic void validateResult(@Nullable org.springframework.webflow.executor.FlowExecutionResult result, @Nonnull String flowId, @Nonnull SAML2TestResponseValidator validator)
FlowExecutionResult using the given SAML2TestResponseValidator.result - the flow execution resultflowId - the flow IDvalidator - the response validatorpublic org.opensaml.saml.saml2.core.Response getResponse(@Nullable org.springframework.webflow.executor.FlowExecutionResult result)
result - the flow resultCopyright © 1999–2015. All rights reserved.