DEPRECATED:125 - Java class method 'requestContext.getPrincipalName()'

Mak, Steve makst at upenn.edu
Fri Jun 26 18:55:14 UTC 2020


It says how to fix it in the log line.

From: users <users-bounces at shibboleth.net> on behalf of Mohamed Lrhazi <lrhazi at cua.edu>
Reply-To: Shib Users <users at shibboleth.net>
Date: Friday, June 26, 2020 at 14:26
To: Shib Users <users at shibboleth.net>
Subject: Re: DEPRECATED:125 - Java class method 'requestContext.getPrincipalName()'

This is version 3.4.6

On Fri, Jun 26, 2020 at 2:19 PM Mohamed Lrhazi <lrhazi at cua.edu<mailto:lrhazi at cua.edu>> wrote:
Hello,

How do I find out what to change in my config, to fix this warning?

:  shib-idp;idp-process.log;dev;nothing;2020-06-26 13:56:22,015 - 136.242.2.242/87CD3FC963447CD94E6E0084138FE301<http://136.242.2.242/87CD3FC963447CD94E6E0084138FE301> - WARN [DEPRECATED:125] - Java class method 'requestContext.getPrincipalName()': This will be removed in the next major version of this software; replacement is resolutionContext.getPrincipal()
:  shib-idp;idp-warn.log;dev;nothing;2020-06-26 13:56:22,015 - 136.242.2.242 - WARN [DEPRECATED:125] - Java class method 'requestContext.getPrincipalName()': This will be removed in the next major version of this software; replacement is resolutionContext.getPrincipal()
:  shib-idp;idp-process.log;dev;nothing;2020-06-26 13:56:22,029 - 136.242.2.242/87CD3FC963447CD94E6E0084138FE301<http://136.242.2.242/87CD3FC963447CD94E6E0084138FE301> - DEBUG [net.shibboleth.idp.attribute.resolver.dc.ldap.impl.TemplatedExecutableSearchFilterBuilder:212] - Template text (cn=$requestContext.principalName) yields (cn=lrhazi)
:  shib-idp;idp-process.log;dev;nothing;2020-06-26 13:56:22,053 - 136.242.2.242/87CD3FC963447CD94E6E0084138FE301<http://136.242.2.242/87CD3FC963447CD94E6E0084138FE301> - DEBUG [org.ldaptive.ssl.AggregateTrustManager:151] - checkServerTrusted for sun.security.ssl.X509TrustManagerImpl at 2e882141 succeeded


grepping for files containing  getPrincipalName :

[root at b99afe915f32 shibboleth-idp]# grep -lr getPrincipalName .
./system/flows/authn/authn-flow.xml
./system/flows/authn/initial-authn-flow.xml
./system/flows/intercept/impersonate-flow.xml
./old-20200626-1524/system/flows/authn/authn-flow.xml
./old-20200626-1524/system/flows/authn/initial-authn-flow.xml
./old-20200626-1524/system/flows/intercept/impersonate-flow.xml
[root at b99afe915f32 shibboleth-idp]#

These files should have been upgraded automatically by the installer? Do I need to manually update them? and where do I find the updated versions?

Thank you!
Mohamed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20200626/e5657b85/attachment.htm>


More information about the users mailing list