목록분류 전체보기 (48)
인기쟁이 돌고래
cursor로 크롤링 하는 방법 왼쪽 상단에 보면 agent, editer mode 2가지가 있는데 editor 모드로 사용a. 옆/아래/chat 창 다 openb. chat창에 있는 지구본 모양 클릭하면 cursor안에서 웹사이트 띄우기 가능 (안보이면 chat창좀 키우면 됨)c. 저 버튼을 누르면d.개발자 모드처럼 element select 가능함e.select 하면 과 같이 element명이 찍힘. " 부분만 뽑아서 리스트업 해줘" 이런식으로 이야기 하면서 내가 원하는 작업을 진행하면 됨. chat하단 설정에는 drop down메뉴가 2가지 존재함agent : 기본적으로 개발할때 사용. 어떤걸 해달라고 명확하게 가이드를 줄 수 있을 경우plan : 만들고 싶은거에 대해서 어떻게 명령을 내려야할지..
1. Password Grant 구성요소(1) 토큰: PasswordAuthenticationToken public class PasswordAuthenticationToken extends AbstractAuthenticationToken { private final Authentication clientPrincipal; // client 인증 정보 private final String username; private final String password; private final Set scopes; private final Map additionalParameters; public PasswordAuthenticationToken(Authentication cli..
인증서버 구축을 해야하는데 기존 서비스의 poc에서 수정없이 인증서버만 쑉 갈아치워야 하는 상황.신규프로젝트이기 때문에 버전등은 모두 골라 쓸 수 있는 상황. (신난당) 프로젝트를 구성해보자.java21 + spring 3.5.5 + 아래 라이브러리를 쓰기함!// Securityimplementation 'org.springframework.boot:spring-boot-starter-security' //import된 버전 보니 6.5.3implementation 'org.springframework.boot:spring-boot-starter-oauth2-authorization-server' //import된 버전 보니 1.5.2implementation 'org.springframework.b..
코드에서 해당 Scope / Role을 사용(적용) 하려면? 1) 공통: 메서드 보안 켜기@Configuration@EnableMethodSecurity(prePostEnabled = true, securedEnabled = true) // @PreAuthorize / @Secured 사용class MethodSecurityConfig { } 2) 스코프 기반 권한 매핑 (SCOPE_…)@Configuration@EnableWebSecurityclass SecurityConfig { @Bean SecurityFilterChain security(HttpSecurity http) throws Exception { http .authorizeHttpRequests(auth -> auth ..
scope 나 role 정도만 쓰면 될 듯 ( 그 중에서도 우리는 Role만 써도 될듯) 코드에서 해당 Scope / Role을 사용(적용) 하려면? 1) 공통: 메서드 보안 켜기@Configuration@EnableMethodSecurity(prePostEnabled = true, securedEnabled = true) // @PreAuthorize / @Secured 사용class MethodSecurityConfig { } 2) 스코프 기반 권한 매핑 (SCOPE_…)@Configuration@EnableWebSecurityclass SecurityConfig { @Bean SecurityFilterChain security(HttpSecurity http) throws Exception {..