Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 파워목업
- 스프링
- power mockup
- 트래픽요금
- 스프링 프로젝트
- Servlet
- iftop
- jsp 배우기
- 권한관리
- HeidiSQL
- 스프링시큐리티
- Traffic
- 트래픽 제한
- 스프링 시큐리티
- jsp project
- shaping
- jdk 설치
- 초과 트래픽
- 초과트래픽
- jsp 처음
- 트래픽
- 스프링 시작하기
- JSP
- Spring
- home.jsp
- 톰캣 설치
- 스프링 처음
- 트래픽제한
- error
- 트래픽 요금
Archives
- Today
- Total
이니미니
Role in Spring security 본문
<security:http auto-config="true" access-decision-manager-ref="accessDecisionManager"> ... </security:http> <bean id="accessDecisionManager" class="org.springframework.security.vote.AffirmativeBased"> <property name="allowIfAllAbstainDecisions" value="false" /> <property name="decisionVoters"> <list> <bean class="org.springframework.security.vote.RoleVoter"> <property name="rolePrefix" value="" /> </bean> </list> </property> </bean>
role은 "ROLE_"로 시작해야 한다.(error point)
다른 role을 사용하는 시스템에
Spring Security를 연결하는 경우
Access Decision Manager를 정의,
RoleVoter에 prefix를 재설정한다
'web > spring' 카테고리의 다른 글
spring 시작 (0) | 2018.03.22 |
---|---|
spring 설치와 시작 (1) | 2018.03.22 |
Comments