You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This ensures that ClientRegistration.Builder.ClientSettings cannot be null.
This has a slight advantage in terms of null safety to making this check
happen in the build method since the Builder does not have a null field
either.
Issue gh-16382
Copy file name to clipboardExpand all lines: oauth2/oauth2-client/src/main/java/org/springframework/security/oauth2/client/registration/ClientRegistration.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -378,7 +378,7 @@ public static final class Builder implements Serializable {
Copy file name to clipboardExpand all lines: oauth2/oauth2-client/src/test/java/org/springframework/security/oauth2/client/registration/ClientRegistrationTests.java
+23Lines changed: 23 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -753,4 +753,27 @@ public void buildWhenCustomClientAuthenticationMethodProvidedThenSet() {
0 commit comments