[java-identity-provider] branch feature/IDP-1434 updated: Set ApplicationContext earlier in creation sequence.

Scott Cantor cantor.2 at osu.edu
Wed May 8 16:53:59 EDT 2019


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

scantor pushed a commit to branch feature/IDP-1434
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=e43568ea61ccbe5a84c212c2134963cb9c049b7a

The following commit(s) were added to refs/heads/feature/IDP-1434 by this push:
       new  e43568e   Set ApplicationContext earlier in creation sequence.
e43568e is described below

commit e43568ea61ccbe5a84c212c2134963cb9c049b7a
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed May 8 16:53:56 2019 -0400

    Set ApplicationContext earlier in creation sequence.
---
 .../transcoding/spring/impl/AttributeRegistryServiceStrategy.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/transcoding/spring/impl/AttributeRegistryServiceStrategy.java b/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/transcoding/spring/impl/AttributeRegistryServiceStrategy.java
index 8bfdc25..5bb291d 100644
--- a/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/transcoding/spring/impl/AttributeRegistryServiceStrategy.java
+++ b/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/transcoding/spring/impl/AttributeRegistryServiceStrategy.java
@@ -71,10 +71,10 @@ public class AttributeRegistryServiceStrategy extends AbstractIdentifiableInitia
         final Collection<TranscodingRule> mappingBeans = appContext.getBeansOfType(TranscodingRule.class).values();
 
         final AttributeTranscoderRegistryImpl registry = new AttributeTranscoderRegistryImpl();
-        registry.setNamingRegistry(namingRegistryBean);
-        registry.setTranscoderRegistry(mappingBeans);
         registry.setId(getId());
         registry.setApplicationContext(appContext);
+        registry.setNamingRegistry(namingRegistryBean);
+        registry.setTranscoderRegistry(mappingBeans);
 
         try {
             registry.initialize();

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


More information about the commits mailing list