activationConditionRef problem
Cantor, Scott
cantor.2 at osu.edu
Thu Jul 9 09:43:20 EDT 2015
On 7/9/15, 6:55 AM, "users on behalf of Rod Widdowson" <users-bounces at shibboleth.net on behalf of rdw at steadingsoftware.com> wrote:
>> I updated the entity ID used in the example to be my test sp:
>>
>> <bean id="ExampleOrgPredicate"
>> parent="shibboleth.Conditions.RelyingPartyId"
>> c:_0="https://shib-sp-test.www.umich.edu/shibboleth"/>
>
>I've reproduce your behaviour. I'm still trying to bottom out the issue (which is to do with Springs automagical type conversion).
Oh, right, it's probably to do with the other constructor and the converter that lets you specify "true" or "false" as a condition object. The auto-convert from single string ot list of strings isn't being used. That generally is a shortcut that's best avoided.
> Meantime this should work for you:
>
><bean id="ExampleOrgPredicate" parent="shibboleth.Conditions.RelyingPartyId">
> <constructor-arg>
> <util:list id="foo">
> <value>https://shib-sp-test.www.umich.edu/shibboleth</value>
> </util:list>
> </constructor-arg>
></bean>
Or a Spring expression:
c:_0="#{{'foo'}}"
-- Scott
More information about the users
mailing list