일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- NetworkImageView
- C언어
- 구포에서 삼량진
- android loadImage
- 구포에서 자전거
- 자바
- 구조체
- 창원에서 부산
- android imageView zoom
- 삼량진 자전거
- httpclient post
- android facebook
- c언어 구조체
- spring
- spring boot
- volley
- workbench
- 삼량진
- 부산에서 창원
- image zoom
- ImageLoad
- 자전거
- android ImageLoad
- 낙동강 종주
- elk stack
- mysql
- laravel
- 로드바이크
- 안드로이드 이미지 로드
- 부산에서 창원 자전거
Archives
- Today
- Total
목록Security (1)
은근한
Spring boot 현재 세션 가져오기
Spring에서 인터셉터나 필터, 컨트롤러 등에서 로그인한 사용자 정보를 가져 오고 싶을 때Authentication auth = SecurityContextHolder.getContext().getAuthentication(); Get the username of the logged in user: getPrincipal()Get the password of the authenticated user: getCredentials()Get the assigned roles of the authenticated user: getAuthorities()Get further details of the authenticated user: getDetails()4가지의 메소드가 있고, 유저이름을 알기위해서 getP..
카테고리 없음
2017. 9. 3. 03:16