public class AuthenticationManager
extends java.lang.Object
| Constructor and Description |
|---|
AuthenticationManager() |
AuthenticationManager(java.util.List<AuthenticationProvider> providers) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProvider(AuthenticationProvider provider) |
Authentication |
authenticate(Authentication authentication) |
void |
setAuthenticationEventPublisher(AuthenticationEventPublisher eventPublisher) |
public AuthenticationManager()
public AuthenticationManager(java.util.List<AuthenticationProvider> providers)
public Authentication authenticate(Authentication authentication) throws AuthenticationException
AuthenticationExceptionpublic void setAuthenticationEventPublisher(AuthenticationEventPublisher eventPublisher)
public void addProvider(AuthenticationProvider provider)