일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 일드
- Spring Boot
- Value Chain
- 목표계획법
- 경여의사결정론
- 보이스
- 대기행렬모형
- CAPM
- 재무관리
- 재고관리모형
- 선형계획법
- Real Option
- 동저계획법
- SRM
- oauth
- 플래닝
- 정수계획법
- 프로젝트관리모형
- 수송모형
- 경영의사결정
- 심플렉스법
- Matcher
- 순현재가치
- 마코브분석
- 위험관리
- Spring Security
- 위험하에서의사결정
- 비선형계획
- 내부수익률
- 네트워크모형
- Today
- Total
목록분류 전체보기 (23)
어린왕자이야기

1. 암화화 체계 2. 대칭키 일반적으로 다른 암호화의 구성요소. 암호화 및 복호화에 동일한 키를 사용. 2.1.종류 Twofish, Serpent, AES(Rijndael), Camellia, Salsa20, ChaCha20, Blowfish, CAST5, Kuznyechik, RC4, DES, 3DES, Skipjack, Safer, IDEA 2.2.방식 Stream ciphers : 일반 텍스트 숫자가 의사 랜덤 암호 숫자 스트림(keystream)과 결합되는 대칭 키 암호. 비트 결합 연산은 XOR 혹은 배타적 연산 Synchronous stream ciphers Self-synchronizing stream ciphers Block ciphers : 고정 길이 ..
HTTP/1.1 200 OK Content-Type: application/json Cache-Control: no-store { "access_token":"MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3", "token_type":"Bearer", "expires_in":3600, "refresh_token":"IwOGYzYTlmM2YxOTQ5MGE3YmNmMDFkNTVk", "scope":"create" } 1. Authorization code grant type - Authorization code 는 클라이언트가 접근 토큰과 교환하는 임시 코드 - 인증서버에서는 authorization code를 사용하여 요청을 인증하거나 거부 - 인증 코드 흐름은 다른 권한 부여 유형에 비해 몇 ..

@Configuration public class ProjectConfig extends WebSecurityConfigurerAdapter { @Override protected void configure(HttpSecurity http) throws Exception { http.httpBasic(); http.authorizeRequests() .mvcMatchers("/product/{code:^[0-9]*$}") .permitAll() .anyRequest().denyAll(); } } 스프링 시큐리티에서 URL에 대하여 권한설정을 할때 사용하는 매처에 대해서 알아보자 antMatcher(AntPathRequestMatcher) servletPath + pathInfo URL에서 queryStr..
스프링부트 프로젝트를 하면 제일 많이 사용하는 데이터베이스가 우선은 h2 database인거 같다. h2 database를 사용하면서 오류에 대해서 정리를 해 보자. 1. Windows에서 임베디드 모드를 사용할때는 디렉토리 delimeter를 주의 spring.datasource.url=jdbc:h2:C:\local\programs\h2\bin\sample\spring spring.datasource.url=jdbc:h2:C:/local/programs/h2/bin/sample/spring 2. 오류발생 : org.h2.jdbc.JdbcSQLNonTransientConnectionException: File corrupted while reading record: null. Possible soluti..
스프링 시큐리티의 경우 컨트롤러나 서비스에서 현재 쓰레드 기반의 SecurityContextHolder를 이용해서 Authentication정보를 사용한다. 그러나 이 경우, 다른 쓰레드를 사용하는 경우 SecurityContextHolder가 전파되지 않는다. 이러한 상황에 대비해서 스프링 시큐리티에서는 다양한 유틸리티를 제공하고 있다. 1. 스프링에서 관리하는 쓰레드의 경우 @Bean public InitializingBean initializingBean() { return () -> SecurityContextHolder .setStrategyName(SecurityContextHolder.MODE_INHERITABLETHREADLOCAL); } @GetMapping("/bye") @Async()..