Fixing deprecated issues
Steve Herrera
sherrera at mail.bradley.edu
Wed Aug 26 17:14:32 UTC 2020
Hello all,
I'm working on upgrading from IDP 3.4.7 to the latest 4.0.1. Just like the
upgrade documentation says, I am going through and fixing all the warnings
of deprecation before moving on. I'm currently stuck on 2 of them.
2020-08-26 08:28:23,246 - WARN [DEPRECATED:118] - XML Element
'{urn:mace:shibboleth:2.0:resolver}Dependency', (file
[/opt/shibboleth-idp/conf/attribute-resolver.xml]): This will be removed in
the next major version of this software; replacement is
{urn:mace:shibboleth:2.0:resolver}InputDataConnector or
{urn:mace:shibboleth:2.0:resolver}InputAttributeDefinition
2020-08-26 08:28:23,374 - WARN [DEPRECATED:118] - XML Attribute
'<LDAPPrpperty name="java.naming.ldap.attributes.binary" ..>', (file
[/opt/shibboleth-idp/conf/attribute-resolver.xml]): This will be removed in
the next major version of this software; replacement is <BinaryAttributes>
element
I don't see in my attribute-resolver file anything matching
{urn:mace:shibboleth:2.0:resolver}Dependency.
I do have:
<AttributeResolver
xmlns="urn:mace:shibboleth:2.0:resolver"
xmlns:oidcext="org.geant.idpextension.oidc.attribute.encoder"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:mace:shibboleth:2.0:resolver
http://shibboleth.net/schema/idp/shibboleth-attribute-resolver.xsd
org.geant.idpextension.oidc.attribute.encoder
classpath:/schema/idp-oidc-extension-attribute-encoder.xsd">
<AttributeDefinition xsi:type="Mapped" id="groupMemberOf" xmlns=
"urn:mace:shibboleth:2.0:resolver">
<InputDataConnector ref="studentGroup" attributeNames="cn"/>
<AttributeEncoder xsi:type="SAML2String" name="
http://connectauthenticate/sso/isgroupvalid" />
<ValueMap>
<ReturnValue>true</ReturnValue>
<SourceValue>(.+)</SourceValue>
</ValueMap>
</AttributeDefinition>
And then for the LDAPProperty name="java.naming.ldap.attributes.binary....
under the DataConnector for Ldap, we have:
<LDAPProperty name="java.naming.ldap.attributes.binary" value=
"objectSid" />
<LDAPProperty name="java.naming.referral" value="follow" />
I haven't figured out how to use the replacement of BinaryAttributes.
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20200826/1992500d/attachment.htm>
More information about the users
mailing list