Class HybrisAuthenticationProvider

java.lang.Object
de.hybris.platform.servicelayer.security.spring.HybrisAuthenticationProvider
All Implemented Interfaces:
org.springframework.security.authentication.AuthenticationProvider

@Deprecated(since="ages", forRemoval=true) public class HybrisAuthenticationProvider extends Object implements org.springframework.security.authentication.AuthenticationProvider
Deprecated, for removal: This API element is subject to removal in a future version.
since ages
Spring security Authentication provider using the AuthenticationService to perform authentication. Uses a UserToAuthenticationConverter to convert a hybris UserModel to an Authentication object.
  • Constructor Details

    • HybrisAuthenticationProvider

      public HybrisAuthenticationProvider()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • authenticate

      public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      authenticate in interface org.springframework.security.authentication.AuthenticationProvider
      Throws:
      org.springframework.security.core.AuthenticationException
    • supports

      public boolean supports(Class authentication)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      supports in interface org.springframework.security.authentication.AuthenticationProvider
    • setAuthenticationService

      public void setAuthenticationService(AuthenticationService authenticationService)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setUserToAuthenticationConverter

      public void setUserToAuthenticationConverter(UserToAuthenticationConverter userToAuthenticationConverter)
      Deprecated, for removal: This API element is subject to removal in a future version.