Class DefaultSAML20AssertionValidationContextBuilderTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.core.testing.XMLObjectBaseTestCase
-
- org.opensaml.saml.saml2.wssecurity.messaging.impl.DefaultSAML20AssertionValidationContextBuilderTest
-
public class DefaultSAML20AssertionValidationContextBuilderTest extends XMLObjectBaseTestCase
-
-
Field Summary
Fields Modifier and Type Field Description private DefaultSAML20AssertionValidationContextBuilderbuilderprivate X509CertificateclientTLSCertprivate SAML20AssertionTokenValidationInputinputprivate StringissuerEntityIDprivate StringremoteAddrprivate StringrequestURLprivate StringrpEntityID-
Fields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory
-
-
Constructor Summary
Constructors Constructor Description DefaultSAML20AssertionValidationContextBuilderTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private AssertionbuildAssertion()private javax.servlet.http.HttpServletRequestbuildHttpServletRequest()private MessageContextbuildMessageContext()protected voidsetUp()voidtestCustom()voidtestDefaults()-
Methods inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
assertXMLEquals, assertXMLEquals, buildXMLObject, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElement
-
Methods inherited from class org.opensaml.core.testing.OpenSAMLInitBaseTestCase
initOpenSAML
-
-
-
-
Field Detail
-
builder
private DefaultSAML20AssertionValidationContextBuilder builder
-
input
private SAML20AssertionTokenValidationInput input
-
issuerEntityID
private String issuerEntityID
-
rpEntityID
private String rpEntityID
-
requestURL
private String requestURL
-
remoteAddr
private String remoteAddr
-
clientTLSCert
private X509Certificate clientTLSCert
-
-
Method Detail
-
setUp
@BeforeMethod protected void setUp() throws URISyntaxException, CertificateException
-
testDefaults
public void testDefaults()
-
testCustom
public void testCustom()
-
buildMessageContext
private MessageContext buildMessageContext()
-
buildHttpServletRequest
private javax.servlet.http.HttpServletRequest buildHttpServletRequest() throws URISyntaxException, CertificateException
-
buildAssertion
private Assertion buildAssertion()
-
-