@EnableWebSecurity
public class SalespointSecurityConfiguration
extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
AuthenticationManagerBuilder to work with the
UserDetailsService implementaiton as well as the PasswordEncoder we provide.
TODO: Pull EnableGlobalMethodSecurity in here as well as soon as it is supported on superclasses.| Constructor and Description |
|---|
SalespointSecurityConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.authentication.AuthenticationManager |
authenticationManagerBean()
Overridden to expose the
AuthenticationManager as a Spring bean. |
void |
configure(org.springframework.security.config.annotation.web.builders.WebSecurity web)
Allow anonymous access to resources by default.
|
@Bean
public org.springframework.security.authentication.AuthenticationManager authenticationManagerBean()
throws java.lang.Exception
AuthenticationManager as a Spring bean.authenticationManagerBean in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapterjava.lang.ExceptionWebSecurityConfigurerAdapter.authenticationManagerBean()public void configure(org.springframework.security.config.annotation.web.builders.WebSecurity web)
throws java.lang.Exception
configure in interface org.springframework.security.config.annotation.SecurityConfigurer<javax.servlet.Filter,org.springframework.security.config.annotation.web.builders.WebSecurity>configure in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapterjava.lang.Exception