Class ClientSecretBasicAuthenticationConverter
java.lang.Object
org.springframework.security.oauth2.server.authorization.web.authentication.ClientSecretBasicAuthenticationConverter
- All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationConverter
public final class ClientSecretBasicAuthenticationConverter
extends Object
implements org.springframework.security.web.authentication.AuthenticationConverter
Attempts to extract HTTP Basic credentials from
HttpServletRequest
and then converts to an OAuth2ClientAuthenticationToken
used for authenticating the client.- Since:
- 0.0.1
- See Also:
-
AuthenticationConverter
OAuth2ClientAuthenticationToken
OAuth2ClientAuthenticationFilter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.Authentication
convert
(jakarta.servlet.http.HttpServletRequest request)
-
Constructor Details
-
ClientSecretBasicAuthenticationConverter
public ClientSecretBasicAuthenticationConverter()
-
-
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
-