<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
I am working on upgrading to IdP5 and am stuck on this error when relying-party.xml gets loaded. I configured a SecurityConfigurationLookupStrategy to work through the process of switching to a new signing certificate. This configuration worked fine with IdP4
but IdP5 won't accept it. Checking the IdP5 docs I don't see anything out of line. Here is the error in the logs:</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
2024-08-28T16:58:39.316366782-06:00 stderr F tomcat;catalina.out;dev;nothing 2024-08-28 22:58:39,316 [main] WARN net.shibboleth.shared.spring.context.FilesystemGenericApplicationContext- Exception encountered during context initialization - cancelling refresh
attempt: org.springframework.beans.factory.BeanCreationE</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
xception: Error creating bean with name 'msu.SecurityConfigurationLookupStrategy' defined in file [/opt/shibboleth-idp/conf/relying-party.xml]: Expression parsing failed
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
2024-08-28T16:58:39.318539981-06:00 stderr F shib-idp;idp-process.log;dev;nothing;2024-08-28 22:58:39,317 - ERROR [net.shibboleth.shared.service.AbstractReloadableService:179] - Service 'shibboleth.RelyingPartyResolverService': Initial load failed
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
2024-08-28T16:58:39.318539981-06:00 stderr F shib-idp;idp-process.log;dev;nothing;net.shibboleth.shared.service.ServiceException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'msu.SecurityConfigurationLookupStrategy'
defined in file [/opt/shibboleth-idp/conf/relying-party.xm</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
l]: Expression parsing failed
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
2024-08-28T16:58:39.318539981-06:00 stderr F shib-idp;idp-process.log;dev;nothing; at net.shibboleth.shared.spring.service.ReloadableSpringService.doReload(ReloadableSpringService.java:375)
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
2024-08-28T16:58:39.318539981-06:00 stderr F shib-idp;idp-process.log;dev;nothing;Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'msu.SecurityConfigurationLookupStrategy' defined in file [/opt/shibboleth-idp/conf/relying-party.xml]:
Expression parsing failed </div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
2024-08-28T16:58:39.318539981-06:00 stderr F shib-idp;idp-process.log;dev;nothing; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:607)
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
2024-08-28T16:58:39.318539981-06:00 stderr F shib-idp;idp-process.log;dev;nothing;Caused by: org.springframework.beans.factory.BeanExpressionException: Expression parsing failed
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
2024-08-28T16:58:39.318539981-06:00 stderr F shib-idp;idp-process.log;dev;nothing; at org.springframework.context.expression.StandardBeanExpressionResolver.evaluate(StandardBeanExpressionResolver.java:186)
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
2024-08-28T16:58:39.318539981-06:00 stderr F shib-idp;idp-process.log;dev;nothing;Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1005E: Type cannot be found 'net.shibboleth.idp.profile.config.SecurityConfiguration'
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
2024-08-28T16:58:39.318539981-06:00 stderr F shib-idp;idp-process.log;dev;nothing; at org.springframework.expression.spel.support.StandardTypeLocator.findType(StandardTypeLocator.java:129)
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
2024-08-28T16:58:39.318539981-06:00 stderr F shib-idp;idp-process.log;dev;nothing;2024-08-28 22:58:39,317 - INFO [net.shibboleth.shared.service.AbstractReloadableService:185] - Service 'shibboleth.RelyingPartyResolverService': Continuing to poll configuration
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
2024-08-28T16:58:39.318539981-06:00 stderr F shib-idp;idp-warn.log;dev;nothing;2024-08-28 22:58:39,317 - ERROR [net.shibboleth.shared.service.AbstractReloadableService:179] - Service 'shibboleth.RelyingPartyResolverService': Initial load failed
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
2024-08-28T16:58:39.318539981-06:00 stderr F shib-idp;idp-warn.log;dev;nothing;net.shibboleth.shared.service.ServiceException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'msu.SecurityConfigurationLookupStrategy' defined
in file [/opt/shibboleth-idp/conf/relying-party.xml]:</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Expression parsing failed
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
2024-08-28T16:58:39.318539981-06:00 stderr F shib-idp;idp-warn.log;dev;nothing; at net.shibboleth.shared.spring.service.ReloadableSpringService.doReload(ReloadableSpringService.java:375)
2024-08-28T16:58:39.318539981-06:00 stderr F shib-idp;idp-warn.log;dev;nothing;Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'msu.SecurityConfigurationLookupStrategy'
defined in file [/opt/shibboleth-idp/conf/relying-party.xml]: Expression parsing failed</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
2024-08-28T16:58:39.318539981-06:00 stderr F shib-idp;idp-warn.log;dev;nothing; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:607)
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
2024-08-28T16:58:39.318539981-06:00 stderr F shib-idp;idp-warn.log;dev;nothing;Caused by: org.springframework.beans.factory.BeanExpressionException: Expression parsing failed
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
2024-08-28T16:58:39.318539981-06:00 stderr F shib-idp;idp-warn.log;dev;nothing; at org.springframework.context.expression.StandardBeanExpressionResolver.evaluate(StandardBeanExpressionResolver.java:186)
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
2024-08-28T16:58:39.318539981-06:00 stderr F shib-idp;idp-warn.log;dev;nothing;Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1005E: Type cannot be found 'net.shibboleth.idp.profile.config.SecurityConfiguration'
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
2024-08-28T16:58:39.318539981-06:00 stderr F shib-idp;idp-warn.log;dev;nothing; at org.springframework.expression.spel.support.StandardTypeLocator.findType(StandardTypeLocator.java:129)</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Here is what the specific bean looks like:</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<bean id="msu.SecurityConfigurationLookupStrategy" parent="shibboleth.MDDrivenBeanProperty" p:propertyName="securityConfiguration"</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
p:propertyType="#{T(net.shibboleth.idp.profile.config.SecurityConfiguration)}" /></div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Thanks,</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Jason Rosen</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Montana State University</div>
</body>
</html>