Class AccountSaltSource

  • All Implemented Interfaces:
    org.springframework.security.authentication.dao.SaltSource

    public class AccountSaltSource
    extends Object
    implements org.springframework.security.authentication.dao.SaltSource
    Provide a UserAccount password salt source.
    • Constructor Detail

      • AccountSaltSource

        public AccountSaltSource()
    • Method Detail

      • getSalt

        public Object getSalt​(org.springframework.security.core.userdetails.UserDetails userDetails)
        Return the password salt for the given user details object.
        Specified by:
        getSalt in interface org.springframework.security.authentication.dao.SaltSource
        Parameters:
        userDetails - the user details object
        Returns:
        the password salt for the given user details object
        See Also:
        SaltSource.getSalt(UserDetails)