Modifier and Type | Method and Description |
---|---|
AuthenticationManagerBuilder |
AuthenticationManagerBuilder.authenticationEventPublisher(AuthenticationEventPublisher eventPublisher)
Sets the
AuthenticationEventPublisher |
AuthenticationManagerBuilder |
AuthenticationManagerBuilder.authenticationProvider(AuthenticationProvider authenticationProvider)
Add authentication based upon the custom
AuthenticationProvider
that is passed in. |
AuthenticationManagerBuilder |
AuthenticationManagerBuilder.eraseCredentials(boolean eraseCredentials) |
AuthenticationManagerBuilder |
AuthenticationManagerBuilder.parentAuthenticationManager(AuthenticationManager authenticationManager)
Allows providing a parent
AuthenticationManager that will be
tried if this AuthenticationManager was unable to attempt to
authenticate the provided Authentication . |
Modifier and Type | Method and Description |
---|---|
AuthenticationManagerBuilder |
AuthenticationConfiguration.authenticationManagerBuilder(ObjectPostProcessor<Object> objectPostProcessor) |
Modifier and Type | Method and Description |
---|---|
void |
GlobalAuthenticationConfigurerAdapter.configure(AuthenticationManagerBuilder auth) |
void |
GlobalAuthenticationConfigurerAdapter.init(AuthenticationManagerBuilder auth) |
Modifier and Type | Method and Description |
---|---|
protected void |
GlobalMethodSecurityConfiguration.configure(AuthenticationManagerBuilder auth)
Sub classes can override this method to register different types of authentication.
|
Constructor and Description |
---|
HttpSecurity(ObjectPostProcessor<Object> objectPostProcessor,
AuthenticationManagerBuilder authenticationBuilder,
Map<Class<Object>,Object> sharedObjects)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
protected void |
WebSecurityConfigurerAdapter.configure(AuthenticationManagerBuilder auth)
Used by the default implementation of
WebSecurityConfigurerAdapter.authenticationManager() to
attempt to obtain an AuthenticationManager . |
Copyright © 2019. All rights reserved.