@Deprecated
public class HybrisGroupBasedAuthenticationProvider
extends java.lang.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(java.util.Set<java.lang.String> authorizedGroups)
Deprecated.
|
void |
setUserToAuthenticationConverter(UserToAuthenticationConverter userToAuthenticationConverter)
Deprecated.
|
boolean |
supports(java.lang.Class authentication)
Deprecated.
|
public HybrisGroupBasedAuthenticationProvider()
public Authentication authenticate(Authentication authentication)
throws AuthenticationException
AuthenticationExceptionpublic boolean supports(java.lang.Class authentication)
public void setAuthenticationService(AuthenticationService authenticationService)
public void setUserToAuthenticationConverter(UserToAuthenticationConverter userToAuthenticationConverter)
public void setAuthorizedGroups(java.util.Set<java.lang.String> authorizedGroups)
Copyright © 2018 SAP SE. All Rights Reserved.