No bean named 'shibboleth.consent.terms-of-use.Key' is defined

Ryan Suarez ryan.suarez at sheridancollege.ca
Tue Feb 28 11:57:00 EST 2017


Greetings,

I have upgraded from IdP2 to IdP 3.2.1 with the legacy relying-party.xml configuration.  I need terms of use functionality so I converted relying-party.xml to the new configuration style and confirmed IdP works as expected.  After configuring and enabling terms of use functionality, I am now getting this error after successful auth from the IdP:


2017-02-28 11:05:56,063 - ERROR [net.shibboleth.idp.profile.interceptor:-2] - clientIP=142.55.243.86 - Uncaught runtime exception

org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'shibboleth.consent.terms-of-use.Key' is defined

        at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:698)

2017-02-28 11:05:56,070 - WARN [org.opensaml.profile.action.impl.LogEvent:76] - clientIP=142.55.243.86 - An error event occurred while processing the request: RuntimeException


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="http://mysp.mydomain.ca" value=“mysp-terms" />

                    </map>

                </constructor-arg>

            </bean>

        </constructor-arg>

        <constructor-arg name="f">

            <ref bean="shibboleth.RelyingPartyIdLookup.Simple" />

        </constructor-arg>

    </bean>


messages/consent-messages.properties


http\://mysp.mydomain.ca = mysp-tou

mysp-tou.title = Example Terms of Use

mysp-tou.text  = <em>*** This is an example ToU for mysp


Any idea what’s causing this error?


Regards,

Ryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20170228/f1a48947/attachment-0001.html>


More information about the users mailing list