Class InResponseToSecurityHandlerTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.core.testing.XMLObjectBaseTestCase
-
- org.opensaml.saml.common.binding.security.impl.InResponseToSecurityHandlerTest
-
public class InResponseToSecurityHandlerTest extends XMLObjectBaseTestCase
-
-
Field Summary
Fields Modifier and Type Field Description private InResponseToSecurityHandlerhandlerprivate InOutOperationContextopContext-
Fields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory
-
-
Constructor Summary
Constructors Constructor Description InResponseToSecurityHandlerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetup()voidtestSAML1Match()voidtestSAML1NonMatch()voidtestSAML2Match()voidtestSAML2NonMatch()-
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
-
opContext
private InOutOperationContext opContext
-
handler
private InResponseToSecurityHandler handler
-
-
Method Detail
-
setup
@BeforeClass public void setup() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
testSAML2Match
public void testSAML2Match() throws MessageHandlerException- Throws:
MessageHandlerException
-
testSAML2NonMatch
public void testSAML2NonMatch() throws MessageHandlerException- Throws:
MessageHandlerException
-
testSAML1Match
public void testSAML1Match() throws MessageHandlerException- Throws:
MessageHandlerException
-
testSAML1NonMatch
public void testSAML1NonMatch() throws MessageHandlerException- Throws:
MessageHandlerException
-
-