Update to commons-codec:1.15

Closes gh-9575
This commit is contained in:
Josh Cummings 2021-04-10 10:11:32 -06:00
parent 9b07b6a991
commit 7da6077727
No known key found for this signature in database
GPG Key ID: 49EF60DD7FF83443
2 changed files with 3 additions and 2 deletions

View File

@ -22,7 +22,7 @@ dependencies {
api "com.squareup.okhttp3:mockwebserver:3.14.9"
api "com.squareup.okhttp3:okhttp:3.14.9"
api "com.unboundid:unboundid-ldapsdk:4.0.14"
api "commons-codec:commons-codec:1.14"
api "commons-codec:commons-codec:1.15"
api "commons-collections:commons-collections:3.2.2"
api "commons-logging:commons-logging:1.2"
api "io.projectreactor.tools:blockhound:1.0.6.RELEASE"

View File

@ -23,6 +23,7 @@ import java.util.zip.InflaterOutputStream;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.codec.CodecPolicy;
import org.apache.commons.codec.binary.Base64;
import org.springframework.core.convert.converter.Converter;
@ -45,7 +46,7 @@ import org.springframework.util.Assert;
*/
public final class Saml2AuthenticationTokenConverter implements AuthenticationConverter {
private static Base64 BASE64 = new Base64(0, new byte[] { '\n' });
private static Base64 BASE64 = new Base64(0, new byte[] { '\n' }, false, CodecPolicy.STRICT);
private final Converter<HttpServletRequest, RelyingPartyRegistration> relyingPartyRegistrationResolver;