절대적 발전

  • 홈
  • 태그
  • 방명록

spring security 2

Spring Security OAuth2 - Authorization endpoint

AuthorizationServerEndpointsConfigurer에서 PathMapping 메소드를 제공한다. 이 메서드는 두 개의 변수를 받는다. 기본 경로 (프레임워크가 제공) 커스텀 경로 ("/"로 시작) public AuthorizationServerEndpointsConfigurer pathMapping(String defaultPath, String customPath) { this.patternMap.put(defaultPath, customPath); return this; } 프레임워크가 제공하는 경로는 다음과 같다 Authorization Endpoint: /oauth/authorize Token Endpoint: /oauth/token Approval Endpoint: /oauth..

Spring 2020.10.07

Spring Security + Rest

Spring Security는 기본적으로 인증 과정에서의 결과를 redirect로 처리합니다. 인증 성공 시 success page 인증 실패 시 failure page 비인가 접근 시 authentication page 크게 세가지의 행동에 대한 처리를 page redirect가 아닌 response를 반환하게 만들면 됩니다. 이러한 컨셉을 잡고 구현해 나가봅시다. 모든 소스는 https://github.com/lteawoo/RestSpringSecurity에서 확인 하실 수 있습니다. Spring Security 기본 인증의 경우 UsernamePasswordAuthenticationFilter에서 formlogin 요청을 필터링하여 처리합니다. 이 클래스는 AbstractAuthenticationP..

Spring 2020.02.19
1
더보기
프로필사진

  • 분류 전체보기 (83)
    • 프로그래밍 (8)
    • IDE (3)
    • Java (13)
    • Spring (12)
    • Node.js (2)
    • Vue.js (1)
    • Flutter (5)
    • IT Tip (6)
    • Infrastructure (5)
    • 스터디-Spring (27)
    • 스터디-알고리즘 (1)

Tag

node, android, 플러터, 소프트웨어 아키텍쳐, DART, docker, Spring, JPA, Security, frontend, EffectiveJava, java, 스프링, 안드로이드, thymeleaf, windows10, 개발, Flutter, querydsl, 튜토리얼,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

Calendar

«   2025/05   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :

티스토리툴바