Class EmbeddedLoginAuthenticationProvider

java.lang.Object
org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider
com.broadleafcommerce.auth.user.session.FormLoginAuthenticationProvider
com.broadleafcommerce.auth.user.session.embedded.EmbeddedLoginAuthenticationProvider
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.MessageSourceAware, org.springframework.security.authentication.AuthenticationProvider

public class EmbeddedLoginAuthenticationProvider extends FormLoginAuthenticationProvider
An AuthenticationProvider that retrieves OAuth2UserDetails from a OAuth2UserDetailsService for use with embedded login.
Author:
Nathan Moore (nathandmoore)
See Also:
  • Constructor Details

    • EmbeddedLoginAuthenticationProvider

      public EmbeddedLoginAuthenticationProvider(OAuth2UserDetailsService userDetailsService, org.springframework.security.core.userdetails.UserDetailsPasswordService userDetailsPasswordService, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder)
  • Method Details

    • supports

      public boolean supports(Class<?> authentication)
      Specified by:
      supports in interface org.springframework.security.authentication.AuthenticationProvider
      Overrides:
      supports in class FormLoginAuthenticationProvider