| Conditions | 1 |
| Total Lines | 14 |
| Code Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | package com.dawn.jat.illuminati; |
||
| 19 | @Override |
||
| 20 | protected void configure(HttpSecurity http) throws Exception { |
||
| 21 | http.authorizeRequests() |
||
| 22 | .antMatchers("/api/**").permitAll() |
||
| 23 | .anyRequest().authenticated() |
||
| 24 | .and() |
||
| 25 | .formLogin() |
||
| 26 | .loginPage("/login") |
||
| 27 | .defaultSuccessUrl("/cms", true) |
||
| 28 | .permitAll() |
||
| 29 | .and() |
||
| 30 | .logout() |
||
| 31 | .deleteCookies("JSESSIONID") |
||
| 32 | .permitAll(); |
||
| 33 | } |
||
| 41 |