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:
-
AuthenticationConverterOAuth2ClientAuthenticationTokenOAuth2ClientAuthenticationFilter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.Authenticationconvert(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:
convertin interfaceorg.springframework.security.web.authentication.AuthenticationConverter
-