Class OAuth2ResourceOwnerPasswordAuthenticationConverter

  • All Implemented Interfaces:
    org.springframework.security.web.authentication.AuthenticationConverter

    public class OAuth2ResourceOwnerPasswordAuthenticationConverter
    extends java.lang.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 OAuth2ResourceOwnerPasswordAuthenticationToken used for authenticating the authorization grant.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.security.core.Authentication convert​(javax.servlet.http.HttpServletRequest request)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OAuth2ResourceOwnerPasswordAuthenticationConverter

        public OAuth2ResourceOwnerPasswordAuthenticationConverter()
    • Method Detail

      • convert

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