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;