security 적용 후 server start 시 궁금한 내용입니다.
- 작성자 :
- 김*성
- 작성일 :
- 2010-06-10 09:20:30
- 조회수 :
- 3,672
- 구분 :
- 실행환경
- 진행상태 :
- 완료
Q
질문1.
tomcat 서버 스타트시 아래와 같은 2010-06-10 09:13:04,768 WARN
FilterChainProxyPostProcessor Possible error 는 혹시 무시해도 되는 건가요.. 아니면 설정이 잘못 된건가요...
질문2. 서버 실행시 executed getRolesAndUrl() in securedobjectserviceimpl Class. 가 두번정도 실행되는데 그게 맞는건가요
[2010-06-10 09:13:04] [DEBUG]『org.springframework.jdbc.core.JdbcTemplate:query(666)』 Elapsed Time [0:00:00.023]
SELECT
a.resource_pattern url,
b.authority authority
FROM
ROLES_HIERARCHY a,
SECURED_RESOURCES b
WHERE
a.RESOURCE_ID = b.RESOURCE_ID
AND a.RESOURCE_TYPE = 'url'
ORDER BY
a.SORT_ORDER
2010-06-10 09:13:04,768 WARN : org.springframework.security.config.FilterChainProxyPostProcessor - Possible error: Filters at position 8 and 9 are both instances of org.springframework.security.intercept.web.FilterSecurityInterceptor
FilterChainProxyPostProcessor
tomcat 서버 스타트시 아래와 같은 2010-06-10 09:13:04,768 WARN
FilterChainProxyPostProcessor Possible error 는 혹시 무시해도 되는 건가요.. 아니면 설정이 잘못 된건가요...
질문2. 서버 실행시 executed getRolesAndUrl() in securedobjectserviceimpl Class. 가 두번정도 실행되는데 그게 맞는건가요
[2010-06-10 09:13:04] [DEBUG]『org.springframework.jdbc.core.JdbcTemplate:query(666)』 Elapsed Time [0:00:00.023]
SELECT
a.resource_pattern url,
b.authority authority
FROM
ROLES_HIERARCHY a,
SECURED_RESOURCES b
WHERE
a.RESOURCE_ID = b.RESOURCE_ID
AND a.RESOURCE_TYPE = 'url'
ORDER BY
a.SORT_ORDER
2010-06-10 09:13:04,768 WARN : org.springframework.security.config.FilterChainProxyPostProcessor - Possible error: Filters at position 8 and 9 are both instances of org.springframework.security.intercept.web.FilterSecurityInterceptor
FilterChainProxyPostProcessor
A
안녕하세요.. 김대성님..
첫번째 것은 FilterSecurityInterceptor가 중복 선언되어 있는 것 같습니다.
두번째 내용도 한번만 실행이 되면 될 것 같은데.. 중복 호출이 되는 것도 중복 선언이 된 것 같습니다.
정확한 원인은 관련 설정을 검토해 보시기 바랍니다.
그럼.. 즐거운 하루 되십시오.
감사합니다.
첫번째 것은 FilterSecurityInterceptor가 중복 선언되어 있는 것 같습니다.
두번째 내용도 한번만 실행이 되면 될 것 같은데.. 중복 호출이 되는 것도 중복 선언이 된 것 같습니다.
정확한 원인은 관련 설정을 검토해 보시기 바랍니다.
그럼.. 즐거운 하루 되십시오.
감사합니다.