[
https://issues.apache.org/jira/browse/NIFI-14699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17987990#comment-17987990
]
ASF subversion and git services commented on NIFI-14699:
--------------------------------------------------------
Commit 185fb5b8501cfca1a799de0b98212b27f6baab35 in nifi's branch
refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=185fb5b850 ]
NIFI-14699 Replaced deprecated method Spring Security OpenSAML 5 method (#10055)
- Replaced createDefaultResponseAuthenticationConverter() with an instance of
OpenSaml5AuthenticationProvider.ResponseAuthenticationConverter
Signed-off-by: David Handermann <[email protected]>
> Replace
> org.springframework.security.saml2.provider.service.authentication.OpenSaml5AuthenticationProvider
> deprecated method createDefaultResponseAuthenticationConverter() with API
> suggested replacement
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: NIFI-14699
> URL: https://issues.apache.org/jira/browse/NIFI-14699
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Per the
> [https://javadoc.io/doc/org.springframework.security/spring-security-saml2-service-provider/latest/org/springframework/security/saml2/provider/service/authentication/OpenSaml5AuthenticationProvider.html]
> javadocs, the method has been deprecated and the suggeted equivalent is to
> use
> [OpenSaml5AuthenticationProvider.ResponseAuthenticationConverter|https://javadoc.io/static/org.springframework.security/spring-security-saml2-service-provider/6.5.1/org/springframework/security/saml2/provider/service/authentication/OpenSaml5AuthenticationProvider.ResponseAuthenticationConverter.html]
> The place where this is an issue is
> {code:java}
> [WARNING]
> nifi/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/secu
> rity/saml2/service/authentication/ResponseAuthenticationConverter.java:[42,121]
> [deprecation] createDefaultResponseAuthenticationConverter() in O
> penSaml5AuthenticationProvider has been deprecated{code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)