Class BearerSubjectConfirmationValidatorTest
- 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.BearerSubjectConfirmationValidatorTest
-
public class BearerSubjectConfirmationValidatorTest extends BaseAssertionValidationTest
-
-
Field Summary
Fields Modifier and Type Field Description private SubjectConfirmationsubjectConfirmationprivate BearerSubjectConfirmationValidatorvalidator-
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 BearerSubjectConfirmationValidatorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestBearer()voidtestNonBearer()-
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 BearerSubjectConfirmationValidator validator
-
subjectConfirmation
private SubjectConfirmation subjectConfirmation
-
-
Method Detail
-
setUp
@BeforeMethod(dependsOnMethods="setUpBasicAssertion") public void setUp()
-
testBearer
public void testBearer() throws AssertionValidationException- Throws:
AssertionValidationException
-
testNonBearer
public void testNonBearer() throws AssertionValidationException- Throws:
AssertionValidationException
-
-