From a70155531804b73a470ee5f65f57be3d2fcb712d Mon Sep 17 00:00:00 2001 From: Josh Cummings Date: Wed, 5 Aug 2020 02:15:44 -0600 Subject: [PATCH] Polish Saml2AuthenticationTokenConverter Issue gh-8768 --- .../provider/service/web/Saml2AuthenticationTokenConverter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/saml2/saml2-service-provider/src/main/java/org/springframework/security/saml2/provider/service/web/Saml2AuthenticationTokenConverter.java b/saml2/saml2-service-provider/src/main/java/org/springframework/security/saml2/provider/service/web/Saml2AuthenticationTokenConverter.java index 50a511a9b9..632ef955b9 100644 --- a/saml2/saml2-service-provider/src/main/java/org/springframework/security/saml2/provider/service/web/Saml2AuthenticationTokenConverter.java +++ b/saml2/saml2-service-provider/src/main/java/org/springframework/security/saml2/provider/service/web/Saml2AuthenticationTokenConverter.java @@ -42,7 +42,7 @@ import static java.nio.charset.StandardCharsets.UTF_8; * @author Josh Cummings * @since 5.4 */ -public class Saml2AuthenticationTokenConverter implements AuthenticationConverter { +public final class Saml2AuthenticationTokenConverter implements AuthenticationConverter { private static Base64 BASE64 = new Base64(0, new byte[]{'\n'}); private final Converter relyingPartyRegistrationResolver;