Class OAuth2ResourceOwnerPasswordCredentialsAuthenticationConverter

java.lang.Object
io.jmix.authserver.authentication.OAuth2ResourceOwnerPasswordCredentialsAuthenticationConverter
All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationConverter

public class OAuth2ResourceOwnerPasswordCredentialsAuthenticationConverter extends Object implements org.springframework.security.web.authentication.AuthenticationConverter
Attempts to extract an Access Token Request from HttpServletRequest for the OAuth 2.0 Resource Owner Password Credentials grant and then converts it to an OAuth2ResourceOwnerPasswordCredentialsAuthenticationToken used for authenticating the authorization grant.
See Also:
  • Constructor Details

    • OAuth2ResourceOwnerPasswordCredentialsAuthenticationConverter

      public OAuth2ResourceOwnerPasswordCredentialsAuthenticationConverter()
  • Method Details

    • convert

      public org.springframework.security.core.Authentication convert(jakarta.servlet.http.HttpServletRequest request)
      Specified by:
      convert in interface org.springframework.security.web.authentication.AuthenticationConverter