Package com.avoka.fc.core.security
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
-
-
Constructor Summary
Constructors Constructor Description LocalUserDetailsAuthenticationProvider()
Create a LocalAuthenticationProvider and initialize the default properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
doesUserExist(String userId)
Return true if the user exists with the given authentication provider.String
getName()
Return the name of the Authentication Provider.void
setName(String name)
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
-
-
-
-
Method Detail
-
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 interfaceIUserQuery
- Parameters:
userId
- the unique user identifier (required)- Returns:
- true if the user exists with the given authentication provider
- See Also:
IUserQuery.doesUserExist(String)
-
setPortal
public void setPortal(Portal portal)
Set the object portal.- Specified by:
setPortal
in interfaceIPortalAware
- Parameters:
portal
- the portal- See Also:
IPortalAware.setPortal(Portal)
-
-