Closed
Description
Sample @EnableWebSecurity
for Implicit Grant type.
@EnableWebSecurity
public class SecurityConfig extends WebSecurityConfigurerAdapter {
@Override
protected void configure(HttpSecurity http) throws Exception {
http
.authorizeRequests()
.anyRequest().authenticated()
.and()
.apply(new ImplicitGrantConfigurer<>());
}
}