From b556655290fb35b43dd54157daaea99113132626 Mon Sep 17 00:00:00 2001 From: Joe Grandja Date: Fri, 9 Apr 2021 08:01:08 -0400 Subject: [PATCH] Make OAuth2AuthorizationResponseType constructor public Closes gh-9584 --- .../oauth2/core/endpoint/OAuth2AuthorizationResponseType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oauth2/oauth2-core/src/main/java/org/springframework/security/oauth2/core/endpoint/OAuth2AuthorizationResponseType.java b/oauth2/oauth2-core/src/main/java/org/springframework/security/oauth2/core/endpoint/OAuth2AuthorizationResponseType.java index e71aaa182e..5bf21389db 100644 --- a/oauth2/oauth2-core/src/main/java/org/springframework/security/oauth2/core/endpoint/OAuth2AuthorizationResponseType.java +++ b/oauth2/oauth2-core/src/main/java/org/springframework/security/oauth2/core/endpoint/OAuth2AuthorizationResponseType.java @@ -56,7 +56,7 @@ public final class OAuth2AuthorizationResponseType implements Serializable { private final String value; - private OAuth2AuthorizationResponseType(String value) { + public OAuth2AuthorizationResponseType(String value) { Assert.hasText(value, "value cannot be empty"); this.value = value; }