This is an automated email from the ASF dual-hosted git repository.
exceptionfactory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push:
new 185fb5b850 NIFI-14699 Replaced deprecated method Spring Security
OpenSAML 5 method (#10055)
185fb5b850 is described below
commit 185fb5b8501cfca1a799de0b98212b27f6baab35
Author: dan-s1 <[email protected]>
AuthorDate: Wed Jul 2 17:26:28 2025 -0400
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]>
---
.../saml2/service/authentication/ResponseAuthenticationConverter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/saml2/service/authentication/ResponseAuthenticationConverter.java
b/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/saml2/service/authentication/ResponseAuthenticationConverter.java
index 632632e5e0..c9f66b232f 100644
---
a/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/saml2/service/authentication/ResponseAuthenticationConverter.java
+++
b/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/saml2/service/authentication/ResponseAuthenticationConverter.java
@@ -39,7 +39,7 @@ import java.util.stream.Collectors;
* Converter from SAML 2 Response Token to SAML 2 Authentication for Spring
Security
*/
public class ResponseAuthenticationConverter implements
Converter<ResponseToken, Saml2Authentication> {
- private static final Converter<ResponseToken, Saml2Authentication>
defaultConverter =
OpenSaml5AuthenticationProvider.createDefaultResponseAuthenticationConverter();
+ private static final Converter<ResponseToken, Saml2Authentication>
defaultConverter = new
OpenSaml5AuthenticationProvider.ResponseAuthenticationConverter();
private final String groupAttributeName;