public class SAML2AttributeQueryFlowTest extends AbstractSAML2FlowTest
| Modifier and Type | Field and Description |
|---|---|
static String |
FLOW_ID
Flow id.
|
private SAML2TestResponseValidator |
validator
SAML 2 Response validator.
|
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 |
|---|
SAML2AttributeQueryFlowTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildRequest(boolean includeDesignators)
Build the
MockHttpServletRequest. |
(package private) void |
setupValidator()
Initialize the SAML 2 Response validator.
|
void |
testSAML2AttributeQueryFlow()
Test the SAML 2 Attribute Query flow.
|
void |
testSAML2AttributeQueryFlowNoCredential()
Test the SAML 2 Attribute Query flow without an SP credential.
|
void |
testSAML2AttributeQueryFlowWithDesignators()
Test the SAML 2 Attribute Query flow with designators.
|
getResponse, validateResult, validateResultassertFlowExecutionOutcome, assertFlowExecutionOutcome, assertFlowExecutionResult, assertProfileRequestContext, buildSOAP11Envelope, clearThreadLocals, getFlow, initializeFlowExecutor, initializeMocks, initializeThreadLocals, initializeXMLObjectSupport, overrideEndStateOutput, overrideEndStateOutput, registerFlowsInParentRegistry, retrieveProfileRequestContext, setAuthnFlowsProperty, setIdPHomeProperty, setupDirectoryServer, teardownDirectoryServerrun, setApplicationContext, springTestContextAfterTestClass, springTestContextAfterTestMethod, springTestContextBeforeTestClass, springTestContextBeforeTestMethod, springTestContextPrepareTestInstance@Nonnull public static final String FLOW_ID
@Nullable private SAML2TestResponseValidator validator
void setupValidator()
public void testSAML2AttributeQueryFlow()
throws Exception
Exception - if an error occurspublic void testSAML2AttributeQueryFlowWithDesignators()
throws Exception
Exception - if an error occurspublic void testSAML2AttributeQueryFlowNoCredential()
throws Exception
Exception - if an error occurspublic void buildRequest(boolean includeDesignators)
throws Exception
MockHttpServletRequest.Exception - if an error occursCopyright © 1999–2015. All rights reserved.