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 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<SignatureTrustEngine>chainprivate CriteriaSetcriteriaSetprivate ChainingSignatureTrustEngineengineprivate Signaturetoken-
Fields inherited from class org.opensaml.core.xml.XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory
-
-
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
-
Methods inherited from class org.opensaml.core.OpenSAMLInitBaseTestCase
initOpenSAML
-
-
-
-
Field Detail
-
criteriaSet
private CriteriaSet criteriaSet
-
engine
private ChainingSignatureTrustEngine engine
-
chain
private List<SignatureTrustEngine> chain
-
token
private Signature token
-
-
Method Detail
-
setUp
@BeforeMethod protected void setUp() throws Exception
- Throws:
Exception
-
testFirstTrusted
public void testFirstTrusted() throws SecurityException- Throws:
SecurityException
-
testSecondTrusted
public void testSecondTrusted() throws SecurityException- Throws:
SecurityException
-
testNoneTrusted
public void testNoneTrusted() throws SecurityException- Throws:
SecurityException
-
testException
public void testException() throws SecurityException- Throws:
SecurityException
-
testNullChain
public void testNullChain()
-
-