public class ReceivedEndpointSecurityHandlerTest
extends org.opensaml.core.xml.XMLObjectBaseTestCase
| Modifier and Type | Field and Description |
|---|---|
private org.opensaml.saml.common.binding.security.impl.ReceivedEndpointSecurityHandler |
handler |
private org.springframework.mock.web.MockHttpServletRequest |
httpRequest |
private String |
intendedDestinationUri |
private org.opensaml.messaging.context.MessageContext<org.opensaml.saml.common.SAMLObject> |
messageContext |
private org.opensaml.saml.common.messaging.context.SAMLBindingContext |
samlBindingContext |
| Constructor and Description |
|---|
ReceivedEndpointSecurityHandlerTest() |
| Modifier and Type | Method and Description |
|---|---|
private void |
populateRequestURL(org.springframework.mock.web.MockHttpServletRequest request,
String requestURL) |
void |
setUp() |
void |
testEndpointGood() |
void |
testEndpointInvalidHost() |
void |
testEndpointInvalidPath() |
void |
testEndpointMissingDestinationNotRequired() |
void |
testEndpointMissingDestinationRequired() |
assertXMLEquals, assertXMLEquals, buildXMLObject, fetchDuration, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElementprivate org.opensaml.messaging.context.MessageContext<org.opensaml.saml.common.SAMLObject> messageContext
private org.opensaml.saml.common.messaging.context.SAMLBindingContext samlBindingContext
private org.springframework.mock.web.MockHttpServletRequest httpRequest
private String intendedDestinationUri
private org.opensaml.saml.common.binding.security.impl.ReceivedEndpointSecurityHandler handler
public void setUp()
throws org.opensaml.messaging.MessageException,
ComponentInitializationException
org.opensaml.messaging.MessageExceptionComponentInitializationExceptionpublic void testEndpointGood()
throws org.opensaml.messaging.handler.MessageHandlerException
org.opensaml.messaging.handler.MessageHandlerExceptionpublic void testEndpointInvalidPath()
throws org.opensaml.messaging.handler.MessageHandlerException
org.opensaml.messaging.handler.MessageHandlerExceptionpublic void testEndpointInvalidHost()
throws org.opensaml.messaging.handler.MessageHandlerException
org.opensaml.messaging.handler.MessageHandlerExceptionpublic void testEndpointMissingDestinationNotRequired()
throws org.opensaml.messaging.handler.MessageHandlerException
org.opensaml.messaging.handler.MessageHandlerExceptionpublic void testEndpointMissingDestinationRequired()
throws org.opensaml.messaging.handler.MessageHandlerException
org.opensaml.messaging.handler.MessageHandlerExceptionprivate void populateRequestURL(org.springframework.mock.web.MockHttpServletRequest request,
String requestURL)
Copyright © 1999–2019 Shibboleth Consortium. All rights reserved.