[java-identity-provider COMMIT] /trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/nameid/CryptoTransien...

noreply at shibboleth.net noreply at shibboleth.net
Thu Feb 20 14:55:45 EST 2014


Author: rdw
Date: Thu Feb 20 14:55:45 2014
New Revision: 5425

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5425&view=rev
Log:
IDP-359  Failure to decode a crypto transient may be because it isn't a valid crypto transient and we should try the next C14N action.  Make test fit action

Modified:
    trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/nameid/CryptoTransientNameIDDecoderTest.java

Modified: trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/nameid/CryptoTransientNameIDDecoderTest.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/nameid/CryptoTransientNameIDDecoderTest.java?rev=5425&r1=5424&r2=5425&view=diff
==============================================================================
--- trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/nameid/CryptoTransientNameIDDecoderTest.java (original)
+++ trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/nameid/CryptoTransientNameIDDecoderTest.java Thu Feb 20 14:55:45 2014
@@ -126,7 +126,7 @@
         decoder.decode(ct, ISSUER, RECIPIENT);
     }
 
-    @Test(expectedExceptions = {NameDecoderException.class,}) public void baddata()
+    @Test(expectedExceptions = {NameDecoderException.class, SubjectCanonicalizationException.class, }) public void baddata()
             throws SubjectCanonicalizationException, DataSealerException, NameDecoderException {
         String ct = code(PRINCIPAL, ISSUER, RECIPIENT);
 



More information about the commits mailing list