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
AnAuthenticationProviderthat retrievesOAuth2UserDetailsfrom aOAuth2UserDetailsServicefor use with embedded login.- Author:
- Nathan Moore (nathandmoore)
- See Also:
for the equivalent when using Universal Login
-
-
Constructor Summary
Constructors Constructor Description EmbeddedLoginAuthenticationProvider(OAuth2UserDetailsService userDetailsService, org.springframework.security.core.userdetails.UserDetailsPasswordService userDetailsPasswordService, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleansupports(Class<?> authentication)-
Methods inherited from class com.broadleafcommerce.auth.user.session.FormLoginAuthenticationProvider
additionalAuthenticationChecks, createSuccessAuthentication, getPasswordEncoder, getUserDetailsPasswordService, getUserDetailsService, getUserNotFoundEncodedPassword, retrieveUser
-
Methods inherited from class org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider
afterPropertiesSet, authenticate, doAfterPropertiesSet, getPostAuthenticationChecks, getPreAuthenticationChecks, getUserCache, isForcePrincipalAsString, isHideUserNotFoundExceptions, setAuthoritiesMapper, setForcePrincipalAsString, setHideUserNotFoundExceptions, setMessageSource, setPostAuthenticationChecks, setPreAuthenticationChecks, setUserCache
-
-
-
-
Constructor Detail
-
EmbeddedLoginAuthenticationProvider
public EmbeddedLoginAuthenticationProvider(OAuth2UserDetailsService userDetailsService, org.springframework.security.core.userdetails.UserDetailsPasswordService userDetailsPasswordService, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder)
-
-
Method Detail
-
supports
public boolean supports(Class<?> authentication)
- Specified by:
supportsin interfaceorg.springframework.security.authentication.AuthenticationProvider- Overrides:
supportsin classFormLoginAuthenticationProvider
-
-