Class ClientSecretPostAuthenticationConverter
java.lang.Object
org.springframework.security.oauth2.server.authorization.web.authentication.ClientSecretPostAuthenticationConverter
- All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationConverter
public final class ClientSecretPostAuthenticationConverter
extends Object
implements org.springframework.security.web.authentication.AuthenticationConverter
Attempts to extract client credentials from POST parameters of
HttpServletRequest
and then converts to an OAuth2ClientAuthenticationToken
used for authenticating the client.- Since:
- 0.1.0
- See Also:
-
AuthenticationConverter
OAuth2ClientAuthenticationToken
OAuth2ClientAuthenticationFilter
- Section 2.3.1 Client Password
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.Authentication
convert
(jakarta.servlet.http.HttpServletRequest request)
-
Constructor Details
-
ClientSecretPostAuthenticationConverter
public ClientSecretPostAuthenticationConverter()
-
-
Method Details
-
convert
@Nullable public org.springframework.security.core.Authentication convert(jakarta.servlet.http.HttpServletRequest request) - Specified by:
convert
in interfaceorg.springframework.security.web.authentication.AuthenticationConverter
-