No bean named 'shibboleth.consent.terms-of-use.Key' available
Ryan Suarez
ryan.suarez at sheridancollege.ca
Fri Jun 14 17:14:51 EDT 2019
Greetings,
I've opted to do a clean install of Shib IdP v3.4.4 ( with jetty v9.4.18.v20190429 and Ubuntu's (18.04) openJDK v11.0.3 ) and manually copy/convert over the configs from the current Shib IdP v3.3.0 (previously upgraded from Shib IdP v2). However, I'm getting the following error regarding terms-of-use for a specific SP:
2019-06-14 16:55:13,185 - 142.55.243.12 - DEBUG [net.shibboleth.idp.profile.interceptor.impl.PopulateProfileInterceptorContext:126] - Profile Action PopulateProfileInterceptorContext: Installing flow intercept/terms-of-use into interceptor context
2019-06-14 16:55:13,191 - 142.55.243.12 - DEBUG [net.shibboleth.idp.profile.interceptor.impl.FilterFlowsByNonBrowserSupport:52] - Profile Action FilterFlowsByNonBrowserSupport: Request does not have non-browser requirement, nothing to do
2019-06-14 16:55:13,192 - 142.55.243.12 - DEBUG [net.shibboleth.idp.profile.interceptor.impl.SelectProfileInterceptorFlow:101] - Profile Action SelectProfileInterceptorFlow: Checking flow intercept/terms-of-use for applicability...
2019-06-14 16:55:13,192 - 142.55.243.12 - DEBUG [net.shibboleth.idp.profile.interceptor.impl.SelectProfileInterceptorFlow:84] - Profile Action SelectProfileInterceptorFlow: Selecting flow intercept/terms-of-use
2019-06-14 16:55:13,429 - 142.55.243.12 - ERROR [net.shibboleth.idp.profile.interceptor:-2] - Uncaught runtime exception
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'shibboleth.consent.terms-of-use.Key' available
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:687)
2019-06-14 16:55:13,443 - 142.55.243.12 - WARN [org.opensaml.profile.action.impl.LogEvent:105] - A non-proceed event occurred while processing the request: RuntimeException
Any ideas? Here is the config:
# messages/messages.properties
my-terms = my-tou
my-tou.title = My Terms of Use
my-tou.text = My text
# conf/intercept/consent-intercept-config.xml
<bean id="shibboleth.consent.terms-of-use.Key"
class="com.google.common.base.Functions" factory-method="compose">
<constructor-arg name="g">
<bean class="com.google.common.base.Functions" factory-method="forMap" c:defaultValue="terms-of-use">
<constructor-arg name="map">
<map>
<entry key="https://someSP1.somedomain" value="my-terms" />
</map>
</constructor-arg>
</bean>
</constructor-arg>
<constructor-arg name="f">
<ref bean="shibboleth.RelyingPartyIdLookup.Simple" />
</constructor-arg>
</bean>
# conf/relying-party.xml
<bean parent="RelyingPartyByName" c:relyingPartyIds="#{{'https://someSP1.somedomain', 'https://someSP2.somedomain, 'https://someSP3.somedomain'}}">;
<property name="profileConfigurations">
<list>
<bean parent="SAML2.SSO" p:encryptAssertions="false" p:postAuthenticationFlows="terms-of-use" />
</list>
</property>
</bean>
regards,
Ryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20190614/5123441a/attachment.html>
More information about the users
mailing list