역할 관리에서 method패턴 질문
- 작성자 :
- 최*환
- 작성일 :
- 2010-07-14 17:20:45
- 조회수 :
- 3,346
- 구분 :
- 실행환경
- 진행상태 :
- 완료
Q
url패턴은 jsp에서 forward를 했을 경우 보안이 적용되지 않습니다.;;
그래서 controller단의 method에 보안을 걸고 싶은데 패턴을 어떻게 줘야 하는지요...
그래서 controller단의 method에 보안을 걸고 싶은데 패턴을 어떻게 줘야 하는지요...
A
안녕하세요. 최동환님.
security 적용시 method 에 보안을 걸 경우 아래와 같이 적용하시기 바랍니다.
예1) - 한개의 method 에 authority적용
egovframework.template.author.service.EgovAuthorManageService.selectAuthorList
예2) - 클래스 전체 method 에 authority적용 egovframework.template.author.service.EgovAuthorManageService.*
참고로 controller가 호출하는 클래스에 적용하시기 바랍니다.
즐거운 하루되세요. 감사합니다.
security 적용시 method 에 보안을 걸 경우 아래와 같이 적용하시기 바랍니다.
예1) - 한개의 method 에 authority적용
egovframework.template.author.service.EgovAuthorManageService.selectAuthorList
예2) - 클래스 전체 method 에 authority적용 egovframework.template.author.service.EgovAuthorManageService.*
참고로 controller가 호출하는 클래스에 적용하시기 바랍니다.
즐거운 하루되세요. 감사합니다.