Class B2BAcceleratorAuthenticationProvider
java.lang.Object
de.hybris.platform.spring.security.CoreAuthenticationProvider
de.hybris.platform.acceleratorstorefrontcommons.security.AbstractAcceleratorAuthenticationProvider
de.hybris.platform.b2bacceleratoraddon.security.B2BAcceleratorAuthenticationProvider
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.MessageSourceAware,org.springframework.security.authentication.AuthenticationProvider
Derived authentication provider supporting additional authentication checks. See
RejectUserPreAuthenticationChecks.
- prevent login without password for users created via CSCockpit
- prevent login as user in group admingroup
- prevent login as user if not authorised for B2B
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.spring.security.CoreAuthenticationProvider
CoreAuthenticationProvider.CoreAuthenticationException -
Field Summary
Fields inherited from class de.hybris.platform.acceleratorstorefrontcommons.security.AbstractAcceleratorAuthenticationProvider
BAD_CREDENTIALS, CORE_AUTHENTICATION_PROVIDER_BAD_CREDENTIALSFields inherited from class de.hybris.platform.spring.security.CoreAuthenticationProvider
messages -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidadditionalAuthenticationChecks(org.springframework.security.core.userdetails.UserDetails details, org.springframework.security.authentication.AbstractAuthenticationToken authentication) protected B2BUserGroupProvidervoidsetB2bUserGroupProvider(B2BUserGroupProvider b2bUserGroupProvider) Methods inherited from class de.hybris.platform.acceleratorstorefrontcommons.security.AbstractAcceleratorAuthenticationProvider
authenticate, getBruteForceAttackCounter, getModelService, getUserService, setBruteForceAttackCounter, setModelService, setUserServiceMethods inherited from class de.hybris.platform.spring.security.CoreAuthenticationProvider
afterPropertiesSet, createSuccessAuthentication, getPreAuthenticationChecks, getUserDetailsService, retrieveUser, setMessageSource, setPreAuthenticationChecks, setUserDetailsService, supports
-
Constructor Details
-
B2BAcceleratorAuthenticationProvider
public B2BAcceleratorAuthenticationProvider()
-
-
Method Details
-
additionalAuthenticationChecks
protected void additionalAuthenticationChecks(org.springframework.security.core.userdetails.UserDetails details, org.springframework.security.authentication.AbstractAuthenticationToken authentication) throws org.springframework.security.core.AuthenticationException - Overrides:
additionalAuthenticationChecksin classAbstractAcceleratorAuthenticationProvider- Throws:
org.springframework.security.core.AuthenticationException- See Also:
-
getB2bUserGroupProvider
-
setB2bUserGroupProvider
-