@Service public class CustomAuthenticationProvider extends Object implements org.springframework.security.authentication.AuthenticationProvider
| Constructor and Description |
|---|
CustomAuthenticationProvider() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.core.Authentication |
authenticate(org.springframework.security.core.Authentication authentication)
called by spring security authenticationManager.authenticate
|
boolean |
supports(Class<? extends Object> authentication) |
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.AuthenticationProviderorg.springframework.security.core.AuthenticationExceptionCustomAuthenticationFilter.attemptAuthentication(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse),
UserNamePasswordAuthenticationFilterCopyright © 2016. All rights reserved.