Class TestSelfEncryption
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.saml.saml2.profile.impl.TestSelfEncryption
-
public class TestSelfEncryption extends OpenSAMLInitBaseTestCase
Unit test for self-encryption support inAbstractEncryptAction(usingEncryptNameIDsas the concrete impl.)
-
-
Field Summary
Fields Modifier and Type Field Description private EncryptNameIDsactionprivate EncryptionParametersencParamsprivate EncryptionParametersencParamsSelf1private EncryptionParametersencParamsSelf2private ProfileRequestContextprc
-
Constructor Summary
Constructors Constructor Description TestSelfEncryption()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestFailureNoSelfEncryptionCreds()voidtestSelfEncryption()-
Methods inherited from class org.opensaml.core.testing.OpenSAMLInitBaseTestCase
initOpenSAML
-
-
-
-
Field Detail
-
encParams
private EncryptionParameters encParams
-
encParamsSelf1
private EncryptionParameters encParamsSelf1
-
encParamsSelf2
private EncryptionParameters encParamsSelf2
-
prc
private ProfileRequestContext prc
-
action
private EncryptNameIDs action
-
-
Method Detail
-
setUp
@BeforeMethod public void setUp() throws NoSuchAlgorithmException, NoSuchProviderException
-
testSelfEncryption
public void testSelfEncryption() throws EncryptionException, ComponentInitializationException, MarshallingException
-
testFailureNoSelfEncryptionCreds
public void testFailureNoSelfEncryptionCreds() throws EncryptionException, ComponentInitializationException, MarshallingException
-
-