[java-opensaml COMMIT] in /trunk/opensaml-saml-impl/src: main/java/org/opensaml/saml/saml2/profile/impl/EncryptAttrib...
noreply at shibboleth.net
noreply at shibboleth.net
Thu May 15 14:54:13 EDT 2014
Author: scantor
Date: Thu May 15 14:54:13 2014
New Revision: 3872
URL: http://svn.shibboleth.net/view/java-opensaml?rev=3872&view=rev
Log:
IDP-188 - action to encrypt attributes
Added:
trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/saml2/profile/impl/EncryptAttributes.java (with props)
trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/profile/impl/EncryptAttributesTest.java (with props)
Modified:
trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/profile/impl/EncryptAssertionsTest.java
Modified: trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/profile/impl/EncryptAssertionsTest.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/profile/impl/EncryptAssertionsTest.java?rev=3872&r1=3871&r2=3872&view=diff
==============================================================================
--- trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/profile/impl/EncryptAssertionsTest.java (original)
+++ trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/profile/impl/EncryptAssertionsTest.java Thu May 15 14:54:13 2014
@@ -86,15 +86,8 @@
ActionTestingSupport.assertProceedEvent(prc);
}
- /**
- * Test decryption of an NameID as an EncryptedID.
- *
- * @throws EncryptionException
- * @throws ComponentInitializationException
- * @throws MarshallingException
- */
@Test
- public void testEncryptedNameID() throws EncryptionException, ComponentInitializationException, MarshallingException {
+ public void testEncryptedAssertion() throws EncryptionException, ComponentInitializationException, MarshallingException {
final Response response = SAML2ActionTestingSupport.buildResponse();
prc.getOutboundMessageContext().setMessage(response);
response.getAssertions().add(SAML2ActionTestingSupport.buildAssertion());
@@ -119,13 +112,6 @@
"EncryptedData ID attribute was empty");
}
- /**
- * Test decryption of an NameID as an EncryptedID.
- *
- * @throws EncryptionException
- * @throws ComponentInitializationException
- * @throws MarshallingException
- */
@Test
public void testFailure() throws EncryptionException, ComponentInitializationException, MarshallingException {
final Response response = SAML2ActionTestingSupport.buildResponse();
More information about the commits
mailing list