[java-identity-provider COMMIT] /trunk/idp-profile-spring/src/main/java/net/shibboleth/idp/profile/spring/relyingpart...
noreply at shibboleth.net
noreply at shibboleth.net
Mon Apr 28 10:01:07 EDT 2014
Author: rdw
Date: Mon Apr 28 10:01:07 2014
New Revision: 5779
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5779&view=rev
Log:
IDP-401 Lazy init the profile parsers. That way we do not need to provide the Profile defaults to the metadata parser when it is sharing the input file with the profiles
Modified:
trunk/idp-profile-spring/src/main/java/net/shibboleth/idp/profile/spring/relyingparty/saml/BaseSAMLProfileConfigurationParser.java
Modified: trunk/idp-profile-spring/src/main/java/net/shibboleth/idp/profile/spring/relyingparty/saml/BaseSAMLProfileConfigurationParser.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-spring/src/main/java/net/shibboleth/idp/profile/spring/relyingparty/saml/BaseSAMLProfileConfigurationParser.java?rev=5779&r1=5778&r2=5779&view=diff
==============================================================================
--- trunk/idp-profile-spring/src/main/java/net/shibboleth/idp/profile/spring/relyingparty/saml/BaseSAMLProfileConfigurationParser.java (original)
+++ trunk/idp-profile-spring/src/main/java/net/shibboleth/idp/profile/spring/relyingparty/saml/BaseSAMLProfileConfigurationParser.java Mon Apr 28 10:01:07 2014
@@ -160,6 +160,8 @@
/** {@inheritDoc} */
@Override protected void doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) {
super.doParse(element, parserContext, builder);
+
+ builder.setLazyInit(true);
if (element.hasAttributeNS(null, "assertionLifetime")) {
// Set as a string and let the converter to the work
More information about the commits
mailing list