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

noreply at shibboleth.net noreply at shibboleth.net
Wed Jan 29 11:25:37 EST 2014


Author: rdw
Date: Wed Jan 29 11:25:37 2014
New Revision: 5270

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5270&view=rev
Log:
IDP-359 NameIdentifierAttributeDecoder has nothing to do with Attributes, so the word "Attribute" should not be in the interface name.

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

Modified: trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/nameid/NameIDCanonicalizationTest.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/nameid/NameIDCanonicalizationTest.java?rev=5270&r1=5269&r2=5270&view=diff
==============================================================================
--- trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/nameid/NameIDCanonicalizationTest.java (original)
+++ trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/nameid/NameIDCanonicalizationTest.java Wed Jan 29 11:25:37 2014
@@ -29,7 +29,7 @@
 import net.shibboleth.idp.authn.context.SubjectCanonicalizationContext;
 import net.shibboleth.idp.authn.principal.UsernamePrincipal;
 import net.shibboleth.idp.saml.authn.principal.NameIDPrincipal;
-import net.shibboleth.idp.saml.nameid.NameIdentifierAttributeDecoder;
+import net.shibboleth.idp.saml.nameid.NameIdentifierDecoder;
 
 import org.opensaml.core.OpenSAMLInitBaseTestCase;
 import org.opensaml.profile.ProfileException;
@@ -67,7 +67,7 @@
         prc = new ProfileRequestContext<>();
         action = new NameIDCanonicalization();
         action.setFormats(formats);
-        action.setDecoder(new NameIdentifierAttributeDecoder() {
+        action.setDecoder(new NameIdentifierDecoder() {
 
             @Override @Nonnull public String decode(@Nullable String value, @Nonnull String issuerId,
                     @Nonnull String requesterId) throws SubjectCanonicalizationException {

Modified: trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/nameid/NameIdentifierCanonicalizationTest.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/nameid/NameIdentifierCanonicalizationTest.java?rev=5270&r1=5269&r2=5270&view=diff
==============================================================================
--- trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/nameid/NameIdentifierCanonicalizationTest.java (original)
+++ trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/nameid/NameIdentifierCanonicalizationTest.java Wed Jan 29 11:25:37 2014
@@ -29,7 +29,7 @@
 import net.shibboleth.idp.authn.context.SubjectCanonicalizationContext;
 import net.shibboleth.idp.authn.principal.UsernamePrincipal;
 import net.shibboleth.idp.saml.authn.principal.NameIdentifierPrincipal;
-import net.shibboleth.idp.saml.nameid.NameIdentifierAttributeDecoder;
+import net.shibboleth.idp.saml.nameid.NameIdentifierDecoder;
 
 import org.opensaml.core.OpenSAMLInitBaseTestCase;
 import org.opensaml.profile.ProfileException;
@@ -67,7 +67,7 @@
         prc = new ProfileRequestContext<>();
         action = new NameIdentifierCanonicalization();
         action.setFormats(formats);
-        action.setDecoder(new NameIdentifierAttributeDecoder() {
+        action.setDecoder(new NameIdentifierDecoder() {
 
             @Override @Nonnull public String decode(@Nullable String value, @Nonnull String issuerId,
                     @Nonnull String requesterId) throws SubjectCanonicalizationException {



More information about the commits mailing list