[java-identity-provider COMMIT] /trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/attribute/encoding/impl/SA...

noreply at shibboleth.net noreply at shibboleth.net
Tue Nov 25 16:47:27 EST 2014


Author: scantor
Date: Tue Nov 25 16:47:26 2014
New Revision: 7016

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=7016&view=rev
Log:
Toggle off type encoding for legacy scoped values.

Modified:
    trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/attribute/encoding/impl/SAML1ScopedStringAttributeEncoder.java

Modified: trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/attribute/encoding/impl/SAML1ScopedStringAttributeEncoder.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/attribute/encoding/impl/SAML1ScopedStringAttributeEncoder.java?rev=7016&r1=7015&r2=7016&view=diff
==============================================================================
--- trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/attribute/encoding/impl/SAML1ScopedStringAttributeEncoder.java (original)
+++ trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/attribute/encoding/impl/SAML1ScopedStringAttributeEncoder.java Tue Nov 25 16:47:26 2014
@@ -61,6 +61,10 @@
         scopeDelimiter = "@";
         scopeAttributeName =  "Scope";
         scopeType = "attribute";
+        
+        // Turn off type encoding, because we default to a non-built-in type that consumers won't
+        // have the schema for.
+        setEncodeType(false);
     }
     
     /**



More information about the commits mailing list