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

noreply at shibboleth.net noreply at shibboleth.net
Thu Feb 20 14:11:56 EST 2014


Author: rdw
Date: Thu Feb 20 14:11:56 2014
New Revision: 5423

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5423&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

Modified:
    trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/impl/nameid/BaseCryptoTransientDecoder.java

Modified: trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/impl/nameid/BaseCryptoTransientDecoder.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/impl/nameid/BaseCryptoTransientDecoder.java?rev=5423&r1=5422&r2=5423&view=diff
==============================================================================
--- trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/impl/nameid/BaseCryptoTransientDecoder.java (original)
+++ trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/impl/nameid/BaseCryptoTransientDecoder.java Thu Feb 20 14:11:56 2014
@@ -101,7 +101,8 @@
         } catch (DataExpiredException e) {
             throw new NameDecoderException(getLogPrefix() + " Principal identifier has expired.");
         } catch (DataSealerException e) {
-            throw new NameDecoderException(getLogPrefix() + " Caught exception unwrapping principal identifier.", e);
+            throw new SubjectCanonicalizationException(getLogPrefix()
+                    + " Caught exception unwrapping principal identifier.", e);
         }
 
         if (decodedId == null) {



More information about the commits mailing list