Disable SubjectLocality
Santiago Núñez - Sistemas Criticos
snunez at sistemascriticos.com
Thu Oct 20 18:47:40 UTC 2022
Thanks Scott,
Base on what you said and some similar cases on config files I make it run adding this on global.xml
<bean id="shibboleth.SubjectLocalityAddressStrategy" parent="shibboleth.ContextFunctions.Scripted" factory-method="inlineScript" c:outputType="java.lang.String >
<constructor-arg name="scriptSource">
<value> null; </value>
</constructor-arg>
</bean>
Regards
--SN
> I don't know much about beans or functions and few about java or
> tomcat ....
Running this software presumes all of that. You can't get around it.
> I just added <bean id="shibboleth.SubjectLocalityAddressStrategy"
> parent="shibboleth.Functions.Constant" c:target="" /> at global.xml
That's an empty string, not a null.
> How do I set the bean to return null instead of a string?
<null/> has to be supplied as the constructor argument, not an empty string, and you can't shorthand it with the c: syntax ad still make it null. Well, possibly #{null} might work, that's a Spring expression.
-- Scott
More information about the users
mailing list