클라이언트 인증서 인증을 구성하기 위해 ClearQuest® Web
배치 디스크립터를 업데이트하십시오.
프로시저
- ClearQuest Web
배치 디스크립터 파일(web.xml)을 작업 디렉토리로
복사한 다음 파일 이름을 바꾸십시오. web.xml 파일은
다음 디렉토리에 있습니다.
- Windows®의 경우:
- %RATIONAL_COMMON%\CM\profiles\cmprofile\installedApps\dfltCell\TeamEAR.ear\cqweb.war\WEB-INF\web.xml
- UNIX® 시스템 및
Linux®의 경우:
- $RATIONAL_COMMON/CM/profiles/cmprofile/installedApps/dfltCell/TeamEAR.ear/cqweb.war/WEB-INF/web.xml
설명을 위해 이 주제의 단계에서는 사용자가 작업 디렉토리로 복사한
web.xml 파일의 이름을
web-client-cert.xml로 변경했다고 가정합니다.
- 보안 요소 절 <security-constraint>, <login-config>
및 <security-role> 앞뒤에 오는 주석 문자 <!-- 및
-->가 제거되도록 web-client-cert.xml 파일을
편집하십시오.
<security-constraint>
<web-resource-collection>
<web-resource-name>secure</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>ClearQuestUsers</role-name>
</auth-constraint>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
<login-conf>
<auth-method>CLIENT-CERT</auth-method>
</login-conf>
<security-role>
<role-name>ClearQuestUsers</role-name>
</security-role>
- WebSphere® Application
Server wsadmin 유틸리티를 사용하여
배치 디스크립터 변경을 적용하십시오.
- web-client-cert.xml 파일이 있는 작업 디렉토리로
변경하십시오.
- 명령 프롬프트 창에서 wsadmin 유틸리티를 시작하십시오.
- Windows의 경우:
- "%RATIONAL_COMMON%\cm\profiles\cmprofile\bin\wsadmin"
- UNIX 시스템 및
Linux의 경우:
- $RATIONAL_COMMON/cm/profiles/cmprofile/bin/wsadmin
- 다음 명령을 실행하십시오.
wsadmin> $AdminApp
update TeamEAR file {-operation update -contents web-client-cert.xml
-contenturi cqweb.war/WEB-INF/web.xml}
wsadmin> $AdminConfig
save
wsadmin> exit