| | |
| | | .authorizeRequests() |
| | | .antMatchers("/test/**").permitAll() |
| | | .and().exceptionHandling().accessDeniedHandler(new OAuth2AccessDeniedHandler()); |
| | | |
| | | /*http.requestMatchers() |
| | | .antMatchers("/screen/**") |
| | | .and() |
| | | .authorizeRequests() |
| | | .antMatchers("/screen/**").permitAll() |
| | | .and() |
| | | .exceptionHandling() |
| | | .accessDeniedHandler(new OAuth2AccessDeniedHandler());*/ |
| | | |
| | | /*http.requestMatchers() |
| | | .antMatchers("/mobile/**") |
| | | .and() |
| | | .authorizeRequests() |
| | | .antMatchers("/mobile/**").permitAll() |
| | | .and() |
| | | .exceptionHandling() |
| | | .accessDeniedHandler(new OAuth2AccessDeniedHandler());*/ |
| | | } |
| | | } |