public class SAML2POSTSSOFlowTest extends AbstractSAML2SSOFlowTest
| Modifier and Type | Field and Description |
|---|---|
static String |
FLOW_ID
Flow id.
|
logbuilderFactory, 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 |
|---|
SAML2POSTSSOFlowTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildRequest()
Build the
MockHttpServletRequest. |
String |
encodeMessage(org.opensaml.saml.common.SAMLObject message)
Base64 the given SAML message.
|
void |
testSAML2POSTSSOFlow()
Test the SAML 2 POST SSO flow.
|
buildAuthnRequest, buildIdpSsoEndpoint, buildOutboundMessageContext, getAcsUrl, getBaseUrl, getDestinationPost, getDestinationPostSimpleSign, getDestinationRedirect, getEncryptergetResponse, 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
public void testSAML2POSTSSOFlow()
throws Exception
Exceptionpublic void buildRequest()
throws Exception
MockHttpServletRequest.Exception - if an error occurs@Nonnull public String encodeMessage(@Nonnull org.opensaml.saml.common.SAMLObject message) throws org.opensaml.core.xml.io.MarshallingException, UnsupportedEncodingException
message - the SAML messageorg.opensaml.core.xml.io.MarshallingException - if there is a problem marshalling the XMLObjectUnsupportedEncodingException - If the named charset is not supportedCopyright © 1999–2015. All rights reserved.