12.07.2015 Views

4.3.1.Action의 역할 - Anyframe

4.3.1.Action의 역할 - Anyframe

4.3.1.Action의 역할 - Anyframe

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Authentication and Authorization13.2.2.Samples다음은 특정 URL에 접근 가능한 사용자 그룹(Role)을 지정하고 있는 struts-config-authorization.xml의Action 매핑 정보이다.위의 예에서 tester라는 USER_ID를 가진 사용자는 admin이란 GROUP에 속해 있으므로 authorization.do라는 요청을 수행할 수 있게 된다. roles 속성값이 부여되지 않은 Action의 경우에는 모든 사용자가 접근할 수 있음을 의미한다.62

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!