Class ChainingSignatureTrustEngineTest
- java.lang.Object
-
- org.opensaml.core.OpenSAMLInitBaseTestCase
-
- org.opensaml.core.xml.XMLObjectBaseTestCase
-
- org.opensaml.xmlsec.signature.support.impl.ChainingSignatureTrustEngineTest
-
public class ChainingSignatureTrustEngineTest extends org.opensaml.core.xml.XMLObjectBaseTestCase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private classChainingSignatureTrustEngineTest.MockSignatureTrustEngineMock trust engine.
-
Field Summary
Fields Modifier and Type Field Description private List<org.opensaml.xmlsec.signature.support.SignatureTrustEngine>chainprivate net.shibboleth.utilities.java.support.resolver.CriteriaSetcriteriaSetprivate org.opensaml.xmlsec.signature.support.impl.ChainingSignatureTrustEngineengineprivate org.opensaml.xmlsec.signature.Signaturetoken
-
Constructor Summary
Constructors Constructor Description ChainingSignatureTrustEngineTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidsetUp()voidtestException()voidtestFirstTrusted()voidtestNoneTrusted()voidtestNullChain()voidtestSecondTrusted()-
Methods inherited from class org.opensaml.core.xml.XMLObjectBaseTestCase
assertXMLEquals, assertXMLEquals, buildXMLObject, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElement
-
-
-
-
Field Detail
-
criteriaSet
private net.shibboleth.utilities.java.support.resolver.CriteriaSet criteriaSet
-
engine
private org.opensaml.xmlsec.signature.support.impl.ChainingSignatureTrustEngine engine
-
chain
private List<org.opensaml.xmlsec.signature.support.SignatureTrustEngine> chain
-
token
private org.opensaml.xmlsec.signature.Signature token
-
-
Method Detail
-
setUp
@BeforeMethod protected void setUp() throws Exception
- Throws:
Exception
-
testFirstTrusted
public void testFirstTrusted() throws org.opensaml.security.SecurityException- Throws:
org.opensaml.security.SecurityException
-
testSecondTrusted
public void testSecondTrusted() throws org.opensaml.security.SecurityException- Throws:
org.opensaml.security.SecurityException
-
testNoneTrusted
public void testNoneTrusted() throws org.opensaml.security.SecurityException- Throws:
org.opensaml.security.SecurityException
-
testException
public void testException() throws org.opensaml.security.SecurityException- Throws:
org.opensaml.security.SecurityException
-
testNullChain
public void testNullChain()
-
-