File tree Expand file tree Collapse file tree 8 files changed +14
-315
lines changed
SpringBootExcel/src/main/java/com/titstory/heowc
SpringBootRabbitMQ/src/main/java/com/tistory/heowc/domain
SpringBootSecurityJwt/src/main/java/com/tistory/heowc Expand file tree Collapse file tree 8 files changed +14
-315
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 55@ SuppressWarnings ("serial" )
66public class Base implements Serializable {
77
8-
98 private long index ;
109 private String content ;
1110
Original file line number Diff line number Diff line change 11package com .tistory .heowc .auth .jwt ;
22
3+ import com .tistory .heowc .auth .AuthFactory ;
34import com .tistory .heowc .util .JwtUtil ;
45import org .springframework .beans .factory .annotation .Autowired ;
56import org .springframework .stereotype .Component ;
67
7- import com .tistory .heowc .auth .AuthFactory ;
8-
98@ Component
109public class JwtFactory implements AuthFactory {
1110
Original file line number Diff line number Diff line change 11package com .tistory .heowc .auth .jwt ;
22
3- import java .io .IOException ;
4-
3+ import com .auth0 .jwt .JWT ;
4+ import com .fasterxml .jackson .databind .ObjectMapper ;
5+ import com .tistory .heowc .auth .UserDetailsImpl ;
6+ import com .tistory .heowc .domain .Member ;
57import com .tistory .heowc .util .JwtUtil ;
68import org .springframework .beans .factory .annotation .Autowired ;
79import org .springframework .security .authentication .BadCredentialsException ;
810import org .springframework .security .core .authority .AuthorityUtils ;
911import org .springframework .security .core .userdetails .UserDetailsService ;
1012import org .springframework .stereotype .Component ;
1113
12- import com .auth0 .jwt .JWT ;
13- import com .fasterxml .jackson .databind .ObjectMapper ;
14- import com .tistory .heowc .auth .UserDetailsImpl ;
15- import com .tistory .heowc .domain .Member ;
14+ import java .io .IOException ;
1615
1716@ Component
1817public class JwtUserDetailsService implements UserDetailsService {
Original file line number Diff line number Diff line change 11package com .tistory .heowc .config ;
22
3- import java .util .Arrays ;
4-
3+ import com .fasterxml .jackson .databind .ObjectMapper ;
4+ import com .tistory .heowc .auth .BaseSecurityHandler ;
5+ import com .tistory .heowc .auth .ajax .AjaxAuthenticationProvider ;
6+ import com .tistory .heowc .auth .ajax .filter .AjaxAuthenticationFilter ;
7+ import com .tistory .heowc .auth .jwt .JwtAuthenticationProvider ;
8+ import com .tistory .heowc .auth .jwt .filter .JwtAuthenticationFilter ;
9+ import com .tistory .heowc .auth .jwt .matcher .SkipPathRequestMatcher ;
510import org .springframework .beans .factory .annotation .Autowired ;
611import org .springframework .context .annotation .Configuration ;
712import org .springframework .http .HttpMethod ;
1520import org .springframework .security .web .authentication .UsernamePasswordAuthenticationFilter ;
1621import org .springframework .security .web .util .matcher .AntPathRequestMatcher ;
1722
18- import com .fasterxml .jackson .databind .ObjectMapper ;
19- import com .tistory .heowc .auth .BaseSecurityHandler ;
20- import com .tistory .heowc .auth .ajax .AjaxAuthenticationProvider ;
21- import com .tistory .heowc .auth .ajax .filter .AjaxAuthenticationFilter ;
22- import com .tistory .heowc .auth .jwt .JwtAuthenticationProvider ;
23- import com .tistory .heowc .auth .jwt .filter .JwtAuthenticationFilter ;
24- import com .tistory .heowc .auth .jwt .matcher .SkipPathRequestMatcher ;
23+ import java .util .Arrays ;
2524
2625@ Configuration
2726@ EnableWebSecurity
You can’t perform that action at this time.
0 commit comments