[java-identity-provider] branch master updated: IDP-1390 - Service layer for FlowDescriptor beans
Scott Cantor
cantor.2 at osu.edu
Tue Jan 15 19:58:10 EST 2019
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=9fed17e758ac421d84519c2039ba0a6941ffdefb
The following commit(s) were added to refs/heads/master by this push:
new 9fed17e IDP-1390 - Service layer for FlowDescriptor beans
9fed17e is described below
commit 9fed17e758ac421d84519c2039ba0a6941ffdefb
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Jan 15 19:58:07 2019 -0500
IDP-1390 - Service layer for FlowDescriptor beans
https://issues.shibboleth.net/jira/browse/IDP-1390
Add managed bean service component.
---
idp-conf/src/main/resources/conf/services.properties | 4 ++++
.../main/resources/system/conf/services-system.xml | 20 +++++++++++++++++++-
2 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/idp-conf/src/main/resources/conf/services.properties b/idp-conf/src/main/resources/conf/services.properties
index 0aa9007..9e9b102 100644
--- a/idp-conf/src/main/resources/conf/services.properties
+++ b/idp-conf/src/main/resources/conf/services.properties
@@ -45,6 +45,10 @@ idp.service.access.checkInterval = PT5M
#idp.service.cas.registry.failFast = false
idp.service.cas.registry.checkInterval = PT15M
+#idp.service.managedBean.resources = shibboleth.ManagedBeanResources
+#idp.service.managedBean.failFast = false
+idp.service.managedBean.checkInterval = PT15M
+
#idp.message.resources = shibboleth.MessageSourceResources
#idp.message.cacheSeconds = 300
diff --git a/idp-conf/src/main/resources/system/conf/services-system.xml b/idp-conf/src/main/resources/system/conf/services-system.xml
index e6c8d3a..8718a7f 100644
--- a/idp-conf/src/main/resources/system/conf/services-system.xml
+++ b/idp-conf/src/main/resources/system/conf/services-system.xml
@@ -116,6 +116,24 @@
<value>%{idp.home}/conf/cas-protocol.xml</value>
</util:list>
+ <bean id="shibboleth.ManagedBeanService" class="net.shibboleth.ext.spring.service.ReloadableSpringService"
+ c:claz="org.springframework.context.ApplicationContext"
+ p:serviceConfigurations-ref="#{
+ getObject('%{idp.service.managedBean.resources:shibboleth.ManagedBeanResources}'.trim()) != null
+ ? '%{idp.service.managedBean.resources:shibboleth.ManagedBeanResources}'.trim()
+ : 'shibboleth.DefaultManagedBeanResources' }"
+ p:failFast="%{idp.service.managedBean.failFast:%{idp.service.failFast:false}}"
+ p:reloadCheckDelay="%{idp.service.managedBean.checkInterval:PT0S}"
+ p:beanPostProcessors-ref="shibboleth.IdentifiableBeanPostProcessor"
+ p:beanFactoryPostProcessors-ref="shibboleth.PropertySourcesPlaceholderConfigurer">
+ <constructor-arg name="strategy">
+ <bean class="net.shibboleth.ext.spring.service.ApplicationContextServiceStrategy" />
+ </constructor-arg>
+ </bean>
+ <util:list id="shibboleth.DefaultManagedBeanResources">
+ <value>conditional:%{idp.home}/conf/managed-beans.xml</value>
+ </util:list>
+
<!--
These are proxies/facades that expose a service-unaware interface to client components.
Services without such facades are being consumed directly in a service-aware way.
@@ -156,5 +174,5 @@
<bean id="shibboleth.CASMetadataServiceRegistry"
class="net.shibboleth.idp.cas.service.impl.MetadataServiceRegistry"
c:resolver-ref="shibboleth.MetadataResolver" />
-
+
</beans>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list