Contents
see List작성일 2014. 09. 29.
<?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns="http://www.springframework.org/schema/security" xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
http://www.springframework.org/schema/security
http://www.springframework.org/schema/security/spring-security-3.2.xsd">
<beans:bean class="org.springframework.security.authentication.dao.ReflectionSaltSource" id="saltSource">
<beans:property name="userPropertyToUse" value="username" />
</beans:bean>
<beans:bean class="org.springframework.security.authentication.encoding.ShaPasswordEncoder" id="passwordEncoder">
<beans:constructor-arg value="256" />
<beans:property name="encodeHashAsBase64" value="true" />
</beans:bean>
<http auto-config="true" use-expressions="true">
<intercept-url pattern="/resources/**" access="permitAll" />
<intercept-url pattern="/admin/**" access="hasRole('ROLE_ADMIN')" />
<intercept-url pattern="/add/**" access="hasAnyRole('ROLE_ADMIN','ROLE_USER')" />
<intercept-url pattern="/bbs/**" access="hasAnyRole('ROLE_ADMIN','ROLE_USER')" />
<form-login login-page="/account/login.phy" authentication-failure-url="/account/login.phy?login_error=1"
default-target-url="/index.phy" />
<logout logout-success-url="/account/login.phy" invalidate-session="true" />
<session-management>
<concurrency-control max-sessions="1"/>
</session-management>
</http>
<jdbc-user-service id="jdbcUserService" data-source-ref="phyDataSource"
users-by-username-query="select mem_email as username,mem_pass as password,1 as enabled
from MEMBER where mem_email = ?"
authorities-by-username-query="select email as username,authority
from AUTHORITIES where email = ?" />
<authentication-manager alias="authenticationManager">
<authentication-provider user-service-ref="jdbcUserService">
<password-encoder ref="passwordEncoder">
<salt-source ref="saltSource" />
</password-encoder>
</authentication-provider>
</authentication-manager>
</beans:beans>
spring
| No | 작성일 | Title |
|---|---|---|
| 2881 | 2026. 05. 25. | Spring API 오류 응답 표준화: ProblemDetail과 @RestControllerAdvice 실전 가이드 |
| 2813 | 2026. 05. 17. | Spring Boot 무중단 배포를 위한 Readiness·Liveness·Graceful Shutdown 실전 가이드 |
| 2611 | 2026. 04. 25. | Spring Security 7 Passkey(패스키) 완전 가이드: WebAuthn 기반 비밀번호 없는 인증 구현 |
| 2526 | 2026. 04. 17. | Spring Boot 3.4/3.5 + Spring Framework 7 핵심 신기능 실전 가이드: 구조적 로깅·Virtual Threads·API 버전닝 |
| 2492 | 2026. 04. 14. | Spring Boot 3.4 완벽 가이드: RestClient, OAuth2 개선, Virtual Threads 통합 |
| 2471 | 2026. 04. 13. | Spring Boot 3.5 핵심 기능 완벽 가이드: Structured Logging, Virtual Threads, SSL 설정 |
| 2451 | 2026. 04. 12. | Spring Boot 3.4 + Spring AI 실전 가이드: Virtual Threads와 MCP 통합 |
| 2427 | 2026. 04. 11. | Spring Boot 3.4 SSL 인증서 모니터링과 Graceful Shutdown 설정 가이드 |
| 2391 | 2026. 04. 09. | Spring Boot 3.5 실전 가이드 - 구조화 로깅, SSL 자동 설정, GraalVM 최적화 |
| 2370 | 2026. 04. 08. | Spring Boot 3.4/3.5 실전 가이드: Virtual Threads, GraalVM Native, 구조화 로깅 완전 정복 |