Class HybrisAuthenticationProvider

  • All Implemented Interfaces:
    org.springframework.security.authentication.AuthenticationProvider

    @Deprecated(since="ages",
                forRemoval=true)
    public class HybrisAuthenticationProvider
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      HybrisAuthenticationProvider()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      org.springframework.security.core.Authentication authenticate​(org.springframework.security.core.Authentication authentication)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setAuthenticationService​(AuthenticationService authenticationService)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setUserToAuthenticationConverter​(UserToAuthenticationConverter userToAuthenticationConverter)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      boolean supports​(java.lang.Class authentication)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HybrisAuthenticationProvider

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

      • 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​(java.lang.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.