public class StrippedDownAuthProvider extends Object implements org.springframework.security.authentication.AuthenticationProvider
DaoAuthenticationProvider
/
AbstractUserDetailsAuthenticationProvider
that avoids much of the overhead
associated with that class.Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger |
Constructor and Description |
---|
StrippedDownAuthProvider() |
Modifier and Type | Method and Description |
---|---|
org.springframework.security.core.Authentication |
authenticate(org.springframework.security.core.Authentication authentication) |
void |
setPasswordEncoder(org.springframework.security.crypto.password.PasswordEncoder passwordEncoder)
Sets the PasswordEncoder instance to be used to encode and validate
passwords.
|
void |
setUserDetailsService(org.springframework.security.core.userdetails.UserDetailsService userDetailsService) |
boolean |
supports(Class<?> authentication) |
@CallTimeLogger.PerfLogged public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException
authenticate
in interface org.springframework.security.authentication.AuthenticationProvider
org.springframework.security.core.AuthenticationException
public boolean supports(Class<?> authentication)
supports
in interface org.springframework.security.authentication.AuthenticationProvider
public void setPasswordEncoder(org.springframework.security.crypto.password.PasswordEncoder passwordEncoder)
public void setUserDetailsService(org.springframework.security.core.userdetails.UserDetailsService userDetailsService)
Copyright © 2015–2018 The Apache Software Foundation. All rights reserved.