Class SenderVouchesSubjectConfirmationValidatorTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.core.testing.XMLObjectBaseTestCase
-
- org.opensaml.saml.saml2.assertion.tests.BaseAssertionValidationTest
-
- org.opensaml.saml.saml2.assertion.impl.SenderVouchesSubjectConfirmationValidatorTest
-
public class SenderVouchesSubjectConfirmationValidatorTest extends BaseAssertionValidationTest
-
-
Field Summary
Fields Modifier and Type Field Description private SubjectConfirmationsubjectConfirmationprivate SenderVouchersSubjectConfirmationValidatorvalidator-
Fields inherited from class org.opensaml.saml.saml2.assertion.tests.BaseAssertionValidationTest
AUTHN_STATEMENT_ADDRESS, CLOCK_SKEW, ISSUER, PRINCIPAL_NAME, SUBJECT_CONFIRMATION_ADDRESS, SUBJECT_CONFIRMATION_IN_RESPONSE_TO, SUBJECT_CONFIRMATION_RECIPIENT
-
Fields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory
-
-
Constructor Summary
Constructors Constructor Description SenderVouchesSubjectConfirmationValidatorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestNonSenderVouches()voidtestSenderVouches()-
Methods inherited from class org.opensaml.saml.saml2.assertion.tests.BaseAssertionValidationTest
buildBasicAuthnStatement, buildBasicConditions, buildBasicStaticParameters, buildBasicSubjectConfirmationData, buildBasicSubjectConfirmationData, getAssertion, getCertificate, getPrivateKey, getSigningCredential, setUpBasicAssertion, signAssertion
-
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
-
validator
private SenderVouchersSubjectConfirmationValidator validator
-
subjectConfirmation
private SubjectConfirmation subjectConfirmation
-
-
Method Detail
-
setUp
@BeforeMethod(dependsOnMethods="setUpBasicAssertion") public void setUp()
-
testSenderVouches
public void testSenderVouches() throws AssertionValidationException- Throws:
AssertionValidationException
-
testNonSenderVouches
public void testNonSenderVouches() throws AssertionValidationException- Throws:
AssertionValidationException
-
-