public class AuthnRequestTest extends RequestTestBase
AuthnRequest.| Modifier and Type | Field and Description |
|---|---|
private Integer |
expectedAssertionConsumerServiceIndex
Expected AssertionConsumerServiceIndex attribute
|
private String |
expectedAssertionConsumerServiceURL
Expected AssertionConsumerServiceURL attribute
|
private Integer |
expectedAttributeConsumingServiceIndex
Expected AttributeConsumingServiceIndex attribute
|
private org.opensaml.core.xml.schema.XSBooleanValue |
expectedForceAuthn
Expected ForceAuthn attribute
|
private org.opensaml.core.xml.schema.XSBooleanValue |
expectedIsPassive
Expected IsPassive attribute
|
private String |
expectedProtocolBinding
Expected ProtocolBinding attribute
|
private String |
expectedProviderName
Expected ProviderName attribute
|
expectedConsent, expectedDestination, expectedID, expectedIssueInstant, expectedIssuer, expectedSAMLVersion| Constructor and Description |
|---|
AuthnRequestTest()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
void |
testBadSAMLVersion() |
void |
testChildElementsMarshall() |
void |
testChildElementsUnmarshall() |
void |
testSingleElementMarshall() |
void |
testSingleElementOptionalAttributesMarshall() |
void |
testSingleElementOptionalAttributesUnmarshall() |
void |
testSingleElementUnmarshall() |
void |
testXSBooleanAttributes()
Test the proper behavior of the XSBooleanValue attributes.
|
helperTestChildElementsUnmarshall, helperTestSingleElementOptionalAttributesUnmarshall, helperTestSingleElementUnmarshall, populateChildElements, populateOptionalAttributes, populateRequiredAttributesinitXMLObjectProviderTestingSupprt, testSingleElementUnknownAttributesMarshall, testSingleElementUnknownAttributesUnmarshallassertXMLEquals, assertXMLEquals, buildXMLObject, fetchDuration, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElementprivate org.opensaml.core.xml.schema.XSBooleanValue expectedForceAuthn
private org.opensaml.core.xml.schema.XSBooleanValue expectedIsPassive
private String expectedProtocolBinding
private Integer expectedAssertionConsumerServiceIndex
private String expectedAssertionConsumerServiceURL
private Integer expectedAttributeConsumingServiceIndex
private String expectedProviderName
protected void setUp()
throws Exception
setUp in class RequestTestBaseExceptionpublic void testSingleElementMarshall()
testSingleElementMarshall in class RequestTestBasepublic void testSingleElementOptionalAttributesMarshall()
testSingleElementOptionalAttributesMarshall in class org.opensaml.core.xml.XMLObjectProviderBaseTestCasepublic void testChildElementsMarshall()
testChildElementsMarshall in class org.opensaml.core.xml.XMLObjectProviderBaseTestCasepublic void testSingleElementUnmarshall()
testSingleElementUnmarshall in class RequestTestBasepublic void testSingleElementOptionalAttributesUnmarshall()
testSingleElementOptionalAttributesUnmarshall in class org.opensaml.core.xml.XMLObjectProviderBaseTestCasepublic void testChildElementsUnmarshall()
testChildElementsUnmarshall in class org.opensaml.core.xml.XMLObjectProviderBaseTestCasepublic void testXSBooleanAttributes()
public void testBadSAMLVersion()
throws XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
XMLParserExceptionorg.opensaml.core.xml.io.UnmarshallingExceptionCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.