Class DefaultUserToAuthenticationConverter

java.lang.Object
de.hybris.platform.servicelayer.security.spring.DefaultUserToAuthenticationConverter
All Implemented Interfaces:
UserToAuthenticationConverter

public class DefaultUserToAuthenticationConverter extends Object implements UserToAuthenticationConverter
This implementation copies username and password, converts all user groups to GrantedAuthoritys and puts them into a UsernamePasswordAuthenticationToken. Role names are prefixed, by default with "ROLE_" but this can be configured by setting the rolePrefix.
  • Constructor Details

    • DefaultUserToAuthenticationConverter

      public DefaultUserToAuthenticationConverter()
  • Method Details