@Deprecated public class HybrisGroupBasedAuthenticationProvider extends Object
AuthenticationService to perform authentication. Uses a
UserToAuthenticationConverter to convert a hybris UserModel to an Authentication object.
Restricts authentication to users belonging to a specific user group. For example, the Spring MVC store utilizes this
authentication provider to restrict authentication to only users belonging to the customer group.| Constructor and Description |
|---|
HybrisGroupBasedAuthenticationProvider()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Authentication |
authenticate(Authentication authentication)
Deprecated.
|
void |
setAuthenticationService(AuthenticationService authenticationService)
Deprecated.
|
void |
setAuthorizedGroups(Set<String> authorizedGroups)
Deprecated.
|
void |
setUserToAuthenticationConverter(UserToAuthenticationConverter userToAuthenticationConverter)
Deprecated.
|
boolean |
supports(Class authentication)
Deprecated.
|
public HybrisGroupBasedAuthenticationProvider()
public Authentication authenticate(Authentication authentication)
throws AuthenticationException
AuthenticationExceptionpublic boolean supports(Class authentication)
public void setAuthenticationService(AuthenticationService authenticationService)
public void setUserToAuthenticationConverter(UserToAuthenticationConverter userToAuthenticationConverter)
Copyright © 2017 SAP SE. All Rights Reserved.