类 DefaultDaoAuthenticationProvider
- java.lang.Object
-
- org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider
-
- org.springframework.security.authentication.dao.DaoAuthenticationProvider
-
- net.sinodawn.framework.security.support.DefaultDaoAuthenticationProvider
-
- 所有已实现的接口:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.MessageSourceAware,org.springframework.security.authentication.AuthenticationProvider
public class DefaultDaoAuthenticationProvider extends org.springframework.security.authentication.dao.DaoAuthenticationProviderAuthenticationProvider默认实现
-
-
字段概要
字段 修饰符和类型 字段 说明 protected CoreUserServiceuserService
-
构造器概要
构造器 构造器 说明 DefaultDaoAuthenticationProvider()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected voidadditionalAuthenticationChecks(org.springframework.security.core.userdetails.UserDetails userDetails, org.springframework.security.authentication.UsernamePasswordAuthenticationToken authentication)org.springframework.security.core.Authenticationauthenticate(org.springframework.security.core.Authentication authentication)-
从类继承的方法 org.springframework.security.authentication.dao.DaoAuthenticationProvider
createSuccessAuthentication, doAfterPropertiesSet, getPasswordEncoder, getUserDetailsService, retrieveUser, setPasswordEncoder, setUserDetailsPasswordService, setUserDetailsService
-
从类继承的方法 org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider
afterPropertiesSet, getPostAuthenticationChecks, getPreAuthenticationChecks, getUserCache, isForcePrincipalAsString, isHideUserNotFoundExceptions, setAuthoritiesMapper, setForcePrincipalAsString, setHideUserNotFoundExceptions, setMessageSource, setPostAuthenticationChecks, setPreAuthenticationChecks, setUserCache, supports
-
-
-
-
字段详细资料
-
userService
@Autowired @Lazy protected CoreUserService userService
-
-
方法详细资料
-
authenticate
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException- 指定者:
authenticate在接口中org.springframework.security.authentication.AuthenticationProvider- 覆盖:
authenticate在类中org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider- 抛出:
org.springframework.security.core.AuthenticationException
-
additionalAuthenticationChecks
protected void additionalAuthenticationChecks(org.springframework.security.core.userdetails.UserDetails userDetails, org.springframework.security.authentication.UsernamePasswordAuthenticationToken authentication) throws org.springframework.security.core.AuthenticationException- 覆盖:
additionalAuthenticationChecks在类中org.springframework.security.authentication.dao.DaoAuthenticationProvider- 抛出:
org.springframework.security.core.AuthenticationException
-
-