Noob Spring Property Question

Klingenstein, Nate nklingenstein at calstate.edu
Mon Jul 25 19:39:13 EDT 2016


I'm trying to define my own Spring properties, and I thought the names were just arbitrary strings, per:

https://wiki.shibboleth.net/confluence/display/IDP30/SpringConfiguration

Unless I'm making a really really stupid mistake, this chokes:

nklingenstein-mac01:shibboleth-idp nklingenstein$ grep -R idp.attribute.resolver.AD.ldapURL conf/*
conf/attribute-resolver.xml:        ldapURL="%{idp.attribute.resolver.AD.ldapURL}"
conf/ldap.properties:idp.attribute.resolver.AD.ldapURL = LDAP_URLS_TO_CONNECT_TO_YOUR_ACTIVEDIRECTORY_DOMAIN_CONTROLLERS

with:

Could not resolve placeholder 'idp.attribute.resolver.AD.ldapURL' in string value "%{idp.attribute.resolver.AD.ldapURL}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'idp.attribute.resolver.AD.ldapURL' in string value "%{idp.attribute.resolver.AD.ldapURL}"

This works:

nklingenstein-mac01:shibboleth-idp nklingenstein$ grep -R my.first *
conf/attribute-resolver.xml:        ldapURL="%{my.first.ldapURL}"
conf/ldap.properties:my.first.ldapURL = http://im.a.url/


More information about the users mailing list