spring(10)
-
Spring Security - Persistance
본 장은 아래 문서를 참고해서 작성했습니다. Persisting Authentication :: Spring SecurityThe first time a user requests a protected resource, they are prompted for credentials. One of the most common ways to prompt for credentials is to redirect the user to a log in page. A summarized HTTP exchange for an unauthenticated user requesting a protdocs.spring.io Session 세션은 일정 기간 또는 어떤 일을 완료할 때까지 유지되는 사용자 행동 단위입니다. (출처 ..
2024.07.13 -
Spring Security - Authentication
본 장은 아래 문서를 참고해서 작성했습니다. Authentication :: Spring SecuritySpring Security provides comprehensive support for Authentication. We start by discussing the overall Servlet Authentication Architecture. As you might expect, this section is more abstract describing the architecture without much discussion on how it appldocs.spring.io Authentication 이전 Spring Security - 개요 글에서 인증(authentication)에 대해 설명..
2024.07.07 -
Spring Security - Servlet이란?
Outsider 사실 서버 보안은 문단속을 잘 하면 됩니다.적은 언제나 외부에 있기 때문이죠. 물론 내부의 적을 경계할 수도 있지만, 경계 강도가 강해질 수록 개발이 피곤해지고 생산성이 줄어듭니다.필자도 실무에 있어서 내부 보안 정책이 하나 둘 추가될 때마다 - 그 의미는 나름 이해하지만,이에 맞출 동안 다른 업무를 못한다는 것에 많은 피로감이 생길 때가 많습니다. 그렇기에 문단속만 잘 해두면,이렇게 피곤해할 일도 없고 외부의 적으로부터 안전하게 우리 서버를 지킬 수 있습니다. 서론이 길었는데, 스프링의 문단속은 서블릿(servlet)으로부터 시작합니다. Servlet 서블릿을 이해하기 위해서는 개념을 외우기보다는 역할을 아는 게 더 낫습니다.이를 위해 스프링에서 클라이언트의 요청과 응답을 ..
2024.07.06 -
Spring Security - 개요
본 장은 아래 문서를 참고해서 작성했습니다. Spring Security :: Spring SecurityIf you are ready to start securing an application see the Getting Started sections for servlet and reactive. These sections will walk you through creating your first Spring Security applications. If you want to understand how Spring Security works, you candocs.spring.io Spring Security spring security는 인증(authentication), 인가(authorizati..
2024.07.04 -
SpringBootTest에 HSQL 데이터베이스 적용기
HSQL? Spring 문서의 Data 항목을 보면 간단하게 만들 수 있는 Embeded DataSource를 소개해줍니다. DataThe Spring Framework provides extensive support for working with SQL databases, from direct JDBC access using JdbcClient or JdbcTemplate to complete “object relational mapping” technologies such as Hibernate. Spring Data provides an additional level ofdocs.spring.io 그냥 쉽게 말해 외부 데이터베이스 연결 없이 자체 구축되는 데이터베이스라고 이해하고 있습니다.후보군은 ..
2024.05.03 -
테스트 시 발생하는 위험 메시지 무시해보기
Background 사실 이 글을 작성하면서 조금 께름칙하네요.모름지기 시스템에서 뱉는 불편하다는 메시지는 잘 알고 해결해야될 듯 한데,이번 경우는 더 파고들어도 뭐가 안 나오고, 크게 걱정 없다는 조언? 들이 있어서 무시해보기로 합니다. 우리 시간은 소중하고, 짜증나는 빨간색 글씨를 없애기 위함이죠 A Java agent has been loaded dynamically 첫 번째 Warning입니다.WARNING: A Java agent has been loaded dynamically (/home/park/.gradle/caches/modules-2/files-2.1/net.bytebuddy/byte-buddy-agent/1.14.12/be4984cb6fd1ef1d11f218a648889df..
2024.05.01