return url
- 작성자 :
- 김*욱
- 작성일 :
- 2010-03-22 10:28:57
- 조회수 :
- 4,514
- 구분 :
- 공통컴포넌트
- 진행상태 :
- 완료
Q
설정파일중 context-security.xml 안에
<form-login login-processing-url="/j_spring_security_check"
authentication-failure-url="/common/login.jsp"
default-target-url="/index.jsp"
login-page="/common/login.jsp" />
<anonymous/>
<logout logout-success-url="/common/login.jsp"/>
<concurrent-session-control max-sessions="1" exception-if-maximum-exceeded="false" />
이분이 있는데 여기서
default-target-url="/index.jsp"
를 바꾸면 return url이 바뀌는건 알겠는데...
return url자체를 동적으로 바꿀수 있는 방법이 있는지 알고 싶습니다^^;;
default-target-url 자체를 파라미터로 넘길수 있는 방법이 있는지요???
관련자료 찾아보아도 해당되는 자료는 없더군요;; ㅠㅠ
<form-login login-processing-url="/j_spring_security_check"
authentication-failure-url="/common/login.jsp"
default-target-url="/index.jsp"
login-page="/common/login.jsp" />
<anonymous/>
<logout logout-success-url="/common/login.jsp"/>
<concurrent-session-control max-sessions="1" exception-if-maximum-exceeded="false" />
이분이 있는데 여기서
default-target-url="/index.jsp"
를 바꾸면 return url이 바뀌는건 알겠는데...
return url자체를 동적으로 바꿀수 있는 방법이 있는지 알고 싶습니다^^;;
default-target-url 자체를 파라미터로 넘길수 있는 방법이 있는지요???
관련자료 찾아보아도 해당되는 자료는 없더군요;; ㅠㅠ
A
안녕하세요.. 김도욱님..
파라미터 spring-security-redirect로 로그인 후 가실 페이지를 넘기시면..
default-target-url로 넘어가기 전에 해당 URL로 넘어가도록 되어 있습니다.
그럼.. 즐거운 하루되십시오.
감사합니다.
파라미터 spring-security-redirect로 로그인 후 가실 페이지를 넘기시면..
default-target-url로 넘어가기 전에 해당 URL로 넘어가도록 되어 있습니다.
그럼.. 즐거운 하루되십시오.
감사합니다.