| | |
| | | .deny() |
| | | .and() |
| | | .sessionManagement() |
| | | .sessionCreationPolicy(SessionCreationPolicy.STATELESS) |
| | | .sessionCreationPolicy(SessionCreationPolicy.IF_REQUIRED) |
| | | .and() |
| | | .authorizeRequests() |
| | | .antMatchers("/api/authenticate").permitAll() |
| | | .antMatchers("/api/register").permitAll() |
| | | .antMatchers("/api/activate").permitAll() |
| | | .antMatchers("/api/testLogin/**").permitAll() |
| | | .antMatchers("/api/test/sendMsg/**").permitAll() |
| | | .antMatchers("/api/otp/**").permitAll() |
| | | .antMatchers("/api/login/validate/**").permitAll() |
| | | .antMatchers("/api/eService/authenticate").permitAll() |