Skip to content

Commit ebecb2a

Browse files
committed
Polish ClientSecretPostAuthenticationConverter
1 parent 4995acc commit ebecb2a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/web/authentication/ClientSecretPostAuthenticationConverter.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
import javax.servlet.http.HttpServletRequest;
2323

24+
import org.springframework.lang.Nullable;
2425
import org.springframework.security.core.Authentication;
2526
import org.springframework.security.oauth2.core.ClientAuthenticationMethod;
2627
import org.springframework.security.oauth2.core.OAuth2AuthenticationException;
@@ -46,6 +47,7 @@
4647
*/
4748
public final class ClientSecretPostAuthenticationConverter implements AuthenticationConverter {
4849

50+
@Nullable
4951
@Override
5052
public Authentication convert(HttpServletRequest request) {
5153
MultiValueMap<String, String> parameters = OAuth2EndpointUtils.getParameters(request);

0 commit comments

Comments
 (0)