<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif;">
<div style="color: rgb(0, 0, 0);">Greetings,</div>
<div style="color: rgb(0, 0, 0);"><br>
</div>
<div style="color: rgb(0, 0, 0);">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:</div>
<div style="color: rgb(0, 0, 0);"><br>
</div>
<div>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
2017-02-28 11:05:56,063 - ERROR [net.shibboleth.idp.profile.interceptor:-2] - clientIP=142.55.243.86 - Uncaught runtime exception</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'shibboleth.consent.terms-of-use.Key' is defined</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:698)</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
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</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
<span style="font-family: Calibri, sans-serif; font-size: 14px;"><br>
</span></p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
<span style="font-family: Calibri, sans-serif; font-size: 14px;">conf/intercept/consent-intercept-config.xml:</span></p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
<span style="font-family: Calibri, sans-serif; font-size: 14px;"><br>
</span></p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
<bean id="shibboleth.consent.terms-of-use.Key"</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
class="com.google.common.base.Functions" factory-method="compose"></p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
<constructor-arg name="g"></p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
<bean class="com.google.common.base.Functions" factory-method="forMap" c:defaultValue="terms-of-use"></p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
<constructor-arg name="map"></p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
<map></p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
<entry key="http://mysp.mydomain.ca" value=“mysp-terms" /></p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
</map></p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
</constructor-arg></p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
</bean></p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
</constructor-arg></p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
<constructor-arg name="f"></p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
<ref bean="shibboleth.RelyingPartyIdLookup.Simple" /></p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
</constructor-arg></p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
</bean></p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
<br>
</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
messages/consent-messages.properties</p>
</div>
<div><br>
</div>
<div>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
http\://mysp.mydomain.ca = mysp-tou</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
mysp-tou.title = Example Terms of Use</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
mysp-tou.text = <em>*** This is an example ToU for mysp</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
<br>
</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
Any idea what’s causing this error?</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
<br>
</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
Regards,</p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Monaco;">
Ryan</p>
</div>
<div style="color: rgb(0, 0, 0);">
<div id="MAC_OUTLOOK_SIGNATURE"></div>
</div>
</body>
</html>