activation condition WARN in v3.3
Andrew Morgan
morgan at orst.edu
Wed Feb 1 23:11:23 EST 2017
On Thu, 2 Feb 2017, Cantor, Scott wrote:
> On 2/1/17, 8:25 PM, "users on behalf of Andrew Morgan" <users-bounces at shibboleth.net on behalf of morgan at orst.edu> wrote:
>
>> Ah, okay. I tried using c:_candidates, but I couldn't get the format
>> right. Is there an example how to do it? I didn't see one on the wiki
>> page (Rod's comment only has 1 string).
>
> The format isn't any different, just specifying the parameter by name
> instead of index.
I tried this:
<bean parent="shibboleth.SAML2PersistentGenerator">
<property name="activationCondition">
<bean parent="shibboleth.Conditions.NOT">
<constructor-arg>
<bean parent="shibboleth.Conditions.RelyingPartyId" c:_candidates="#{{'https://oregonstate-staff.webex.com', 'https://oregonstate-students.webex.com'}}" />
</constructor-arg>
</bean>
</property>
</bean>
But startup failed with this error:
2017-02-01 20:05:20,802 - ERROR [net.shibboleth.utilities.java.support.service.AbstractReloadableService:181] - Service 'shibboleth.NameIdentifierGenerationService': Initial load failed
net.shibboleth.utilities.java.support.service.ServiceException: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unexpected failure during bean definition parsing
Offending resource: file [/private/shibboleth-idp-prod/conf/saml-nameid.xml]
Bean ''; nested exception is org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
Configuration problem: Unexpected failure during bean definition parsing
Offending resource: file [/private/shibboleth-idp-prod/conf/saml-nameid.xml]
Bean ''
-> Property 'activationCondition'
-> Bean ''; nested exception is
org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
Configuration problem: Constructor argument '_candidates' specifies an invalid
integer
So I must be doing something silly! :)
Thanks,
Andy
More information about the users
mailing list