Class LocalUserDetailsAuthenticationProvider

java.lang.Object
org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider
org.springframework.security.authentication.dao.DaoAuthenticationProvider
com.avoka.fc.core.security.LocalUserDetailsAuthenticationProvider
All Implemented Interfaces:
IPortalAware, IUserQuery, org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.MessageSourceAware, org.springframework.security.authentication.AuthenticationProvider

public class LocalUserDetailsAuthenticationProvider extends org.springframework.security.authentication.dao.DaoAuthenticationProvider implements IUserQuery, IPortalAware
Provides a Local User Account Authentication Provider.
Since:
3.5.0
See Also:
  • DaoAuthenticationProvider
  • Field Summary

    Fields inherited from class org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider

    hideUserNotFoundExceptions, logger, messages
  • Constructor Summary

    Constructors
    Constructor
    Description
    Create a LocalAuthenticationProvider and initialize the default properties.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Return true if the user exists with the given authentication provider.
    Return the name of the Authentication Provider.
    void
    Set the name of the Authentication Provider.
    void
    setPortal(Portal portal)
    Set the object portal.

    Methods inherited from class org.springframework.security.authentication.dao.DaoAuthenticationProvider

    additionalAuthenticationChecks, createSuccessAuthentication, doAfterPropertiesSet, getPasswordEncoder, getUserDetailsService, retrieveUser, setPasswordEncoder, setUserDetailsPasswordService, setUserDetailsService

    Methods inherited from class org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider

    afterPropertiesSet, authenticate, getPostAuthenticationChecks, getPreAuthenticationChecks, getUserCache, isForcePrincipalAsString, isHideUserNotFoundExceptions, setAuthoritiesMapper, setForcePrincipalAsString, setHideUserNotFoundExceptions, setMessageSource, setPostAuthenticationChecks, setPreAuthenticationChecks, setUserCache, supports

    Methods inherited from class java.lang.Object

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

    • LocalUserDetailsAuthenticationProvider

      public LocalUserDetailsAuthenticationProvider()
      Create a LocalAuthenticationProvider and initialize the default properties.
  • Method Details

    • setName

      public void setName(String name)
      Set the name of the Authentication Provider.
      Parameters:
      name - the name of the Authentication Provider
    • getName

      public String getName()
      Return the name of the Authentication Provider.
      Returns:
      the name of the Authentication Provider
    • doesUserExist

      public boolean doesUserExist(String userId)
      Return true if the user exists with the given authentication provider.
      Specified by:
      doesUserExist in interface IUserQuery
      Parameters:
      userId - the unique user identifier (required)
      Returns:
      true if the user exists with the given authentication provider
      See Also:
    • setPortal

      public void setPortal(Portal portal)
      Set the object portal.
      Specified by:
      setPortal in interface IPortalAware
      Parameters:
      portal - the portal
      See Also: