public class DecryptNameIDsTest
extends org.opensaml.core.OpenSAMLInitBaseTestCase
DecryptNameIDs.| Modifier and Type | Field and Description |
|---|---|
private org.opensaml.saml.saml2.profile.impl.DecryptNameIDs |
action |
private DataEncryptionParameters |
encParams |
private org.opensaml.saml.saml2.encryption.Encrypter |
encrypter |
private String |
encURI |
private KeyInfoCredentialResolver |
keyResolver |
private org.opensaml.saml.common.SAMLObjectBuilder<org.opensaml.saml.saml2.core.NameID> |
nameIdBuilder |
private ProfileRequestContext |
prc |
private org.opensaml.saml.common.SAMLObjectBuilder<org.opensaml.saml.saml2.core.Subject> |
subjectBuilder |
| Constructor and Description |
|---|
DecryptNameIDsTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testEncryptedNameID()
Test decryption of an NameID as an EncryptedID.
|
void |
testEncryptedNameIDNoParams()
Test decryption of an NameID as an EncryptedID.
|
void |
testNoMessage() |
void |
testWrongKeyFatal()
Test failed decryption of an NameID as an EncryptedID.
|
void |
testWrongKeyNonFatal()
Test failed decryption of an NameID as an EncryptedID.
|
private KeyInfoCredentialResolver keyResolver
private String encURI
private DataEncryptionParameters encParams
private org.opensaml.saml.saml2.encryption.Encrypter encrypter
private ProfileRequestContext prc
private org.opensaml.saml.saml2.profile.impl.DecryptNameIDs action
private org.opensaml.saml.common.SAMLObjectBuilder<org.opensaml.saml.saml2.core.NameID> nameIdBuilder
private org.opensaml.saml.common.SAMLObjectBuilder<org.opensaml.saml.saml2.core.Subject> subjectBuilder
public void setUp()
throws NoSuchAlgorithmException,
KeyException
NoSuchAlgorithmExceptionKeyExceptionpublic void testNoMessage()
throws ComponentInitializationException
ComponentInitializationExceptionpublic void testEncryptedNameIDNoParams()
throws EncryptionException,
ComponentInitializationException
public void testEncryptedNameID()
throws EncryptionException,
ComponentInitializationException
public void testWrongKeyFatal()
throws Exception
ExceptionCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.