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 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(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, unmarshallElementprivate org.opensaml.messaging.context.MessageContext<org.opensaml.saml.common.SAMLObject> messageContext
private org.opensaml.saml.common.messaging.context.SAMLBindingContext samlBindingContext
private MockHttpServletRequest httpRequest
private String intendedDestinationUri
private org.opensaml.saml.common.binding.security.impl.ReceivedEndpointSecurityHandler handler
public void setUp()
throws org.opensaml.messaging.MessageException,
net.shibboleth.utilities.java.support.component.ComponentInitializationException
org.opensaml.messaging.MessageExceptionnet.shibboleth.utilities.java.support.component.ComponentInitializationExceptionpublic 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(MockHttpServletRequest request, String requestURL)
Copyright © 1999–2015. All rights reserved.