[java-shib-attribute] branch main updated: IDP-1959 IdPAttributes to stop carrying Display Information

Rod Widdowson rdw at steadingsoftware.com
Sun Jul 24 10:51:15 UTC 2022


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch main
in repository java-shib-attribute.

View the commit online:
http://git.shibboleth.net/view/?p=java-shib-attribute.git;a=commit;h=5a43cc2ffe4f4d6848b7e2af1a40d30defa049ca

The following commit(s) were added to refs/heads/main by this push:
     new 5a43cc2ff IDP-1959 IdPAttributes to stop carrying Display Information
5a43cc2ff is described below

commit 5a43cc2ffe4f4d6848b7e2af1a40d30defa049ca
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Thu Jul 21 16:31:40 2022 +0100

    IDP-1959 IdPAttributes to stop carrying Display Information
    
    https://shibboleth.atlassian.net/browse/IDP-1959
    
    AttributeResolutionContext.java no longer carries a AttributeTranscoderRegistry
---
 .../context/AttributeResolutionContext.java        | 31 ----------------------
 1 file changed, 31 deletions(-)

diff --git a/shib-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/context/AttributeResolutionContext.java b/shib-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/context/AttributeResolutionContext.java
index 9ecbf4a38..798210d03 100644
--- a/shib-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/context/AttributeResolutionContext.java
+++ b/shib-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/context/AttributeResolutionContext.java
@@ -38,7 +38,6 @@ import org.slf4j.LoggerFactory;
 import net.shibboleth.idp.attribute.IdPAttribute;
 import net.shibboleth.idp.attribute.resolver.AttributeResolver;
 import net.shibboleth.idp.attribute.resolver.ResolutionException;
-import net.shibboleth.idp.attribute.transcoding.AttributeTranscoderRegistry;
 import net.shibboleth.utilities.java.support.annotation.constraint.Live;
 import net.shibboleth.utilities.java.support.annotation.constraint.NonnullElements;
 import net.shibboleth.utilities.java.support.annotation.constraint.NotLive;
@@ -53,9 +52,6 @@ import net.shibboleth.utilities.java.support.service.ServiceableComponent;
 @NotThreadSafe
 public final class AttributeResolutionContext extends BaseContext {
     
-    /** Registry service to use to attach display metadata to resolved attributes. */
-    @Nullable private ReloadableService<AttributeTranscoderRegistry> registryService;
-
     /** (internal) Names of the attributes that have been requested to be resolved. */
     @Nonnull @NonnullElements private Set<String> requestedAttributeNames;
 
@@ -93,33 +89,6 @@ public final class AttributeResolutionContext extends BaseContext {
         resolvedAttributes = Collections.emptyMap();
     }
     
-    /**
-     * Gets a transcoder registry service instance.
-     * 
-     * @return registry service
-     * 
-     * @since 4.0.0
-     */
-    @Nullable public ReloadableService<AttributeTranscoderRegistry> getTranscoderRegistry() {
-        return registryService;
-    }
-    
-    /**
-     * Sets a transcoder registry service instance.
-     * 
-     * @param service registry service
-     * 
-     * @return this context
-     * 
-     * @since 4.0.0
-     */
-    @Nonnull public AttributeResolutionContext setTranscoderRegistry(
-            @Nullable final ReloadableService<AttributeTranscoderRegistry> service) {
-        registryService = service;
-        
-        return this;
-    }
-    
     /**
      * Gets the strategy used to locate the {@link ProfileRequestContext} associated with this context.
      * 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list