[java-shib-attribute] branch main updated: JSPT-98 Integrate lifecycle checking methods in base classes

Rod Widdowson rdw at steadingsoftware.com
Wed Jul 13 10:18:49 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=421cfe50c662facee81a9b38c33bf9a0e46b337c

The following commit(s) were added to refs/heads/main by this push:
     new 421cfe50c JSPT-98 Integrate lifecycle checking methods in base classes
421cfe50c is described below

commit 421cfe50c662facee81a9b38c33bf9a0e46b337c
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Wed Jul 13 11:18:11 2022 +0100

    JSPT-98 Integrate lifecycle checking methods in base classes
    
    https://shibboleth.atlassian.net/browse/JSPT-98
    
    Fix missed merge
---
 .../attribute/transcoding/impl/AttributeRegistryServiceStrategy.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/shib-attribute-impl/src/main/java/net/shibboleth/idp/attribute/transcoding/impl/AttributeRegistryServiceStrategy.java b/shib-attribute-impl/src/main/java/net/shibboleth/idp/attribute/transcoding/impl/AttributeRegistryServiceStrategy.java
index 570a553e9..5b8cb05fe 100644
--- a/shib-attribute-impl/src/main/java/net/shibboleth/idp/attribute/transcoding/impl/AttributeRegistryServiceStrategy.java
+++ b/shib-attribute-impl/src/main/java/net/shibboleth/idp/attribute/transcoding/impl/AttributeRegistryServiceStrategy.java
@@ -88,7 +88,7 @@ public class AttributeRegistryServiceStrategy extends AbstractIdentifiableInitia
      */
     public void setExtendedConditionFactory(
             @Nullable final Function<Map<String,Object>,Predicate<ProfileRequestContext>> factory) {
-        ComponentSupport.ifInitializedThrowUnmodifiabledComponentException(this);
+        throwSetterPreconditionExceptions();
         
         extendedConditionFactory = factory;
     }
@@ -125,4 +125,4 @@ public class AttributeRegistryServiceStrategy extends AbstractIdentifiableInitia
         return registry;
     }
     
-}
\ No newline at end of file
+}

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


More information about the commits mailing list