public class BaseAssertionValidationTest
extends org.opensaml.core.xml.XMLObjectBaseTestCase
| Modifier and Type | Field and Description |
|---|---|
private org.opensaml.saml.saml2.core.Assertion |
assertion |
static Long |
CLOCK_SKEW |
static String |
ISSUER |
static String |
PRINCIPAL_NAME |
static String |
SUBJECT_CONFIRMATION_ADDRESS |
static String |
SUBJECT_CONFIRMATION_RECIPIENT |
| Constructor and Description |
|---|
BaseAssertionValidationTest() |
| Modifier and Type | Method and Description |
|---|---|
protected org.opensaml.saml.saml2.core.Conditions |
buildBasicConditions() |
protected Map<String,Object> |
buildBasicStaticParameters() |
protected org.opensaml.saml.saml2.core.SubjectConfirmationData |
buildBasicSubjectConfirmationData() |
protected org.opensaml.saml.saml2.core.SubjectConfirmationData |
buildBasicSubjectConfirmationData(QName type) |
protected org.opensaml.saml.saml2.core.Assertion |
getAssertion() |
protected X509Certificate |
getCertificate(String name) |
protected PrivateKey |
getPrivateKey(String name) |
protected org.opensaml.security.credential.Credential |
getSigningCredential(PublicKey publicKey,
PrivateKey privateKey) |
protected void |
setUpBasicAssertion() |
protected void |
signAssertion(org.opensaml.saml.saml2.core.Assertion assertion,
org.opensaml.security.credential.Credential credential) |
assertXMLEquals, assertXMLEquals, buildXMLObject, fetchDuration, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElementpublic static final Long CLOCK_SKEW
public static final String PRINCIPAL_NAME
public static final String ISSUER
public static final String SUBJECT_CONFIRMATION_RECIPIENT
public static final String SUBJECT_CONFIRMATION_ADDRESS
private org.opensaml.saml.saml2.core.Assertion assertion
protected org.opensaml.saml.saml2.core.Assertion getAssertion()
protected void setUpBasicAssertion()
protected org.opensaml.saml.saml2.core.Conditions buildBasicConditions()
protected org.opensaml.saml.saml2.core.SubjectConfirmationData buildBasicSubjectConfirmationData()
protected org.opensaml.saml.saml2.core.SubjectConfirmationData buildBasicSubjectConfirmationData(QName type)
protected X509Certificate getCertificate(String name) throws CertificateException, URISyntaxException
protected PrivateKey getPrivateKey(String name) throws KeyException, URISyntaxException
KeyExceptionURISyntaxExceptionprotected org.opensaml.security.credential.Credential getSigningCredential(PublicKey publicKey, PrivateKey privateKey)
protected void signAssertion(org.opensaml.saml.saml2.core.Assertion assertion,
org.opensaml.security.credential.Credential credential)
throws org.opensaml.security.SecurityException,
org.opensaml.core.xml.io.MarshallingException,
SignatureException
org.opensaml.security.SecurityExceptionorg.opensaml.core.xml.io.MarshallingExceptionSignatureExceptionCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.