Tomcat 구성에 서브렛 필터 추가
ThingWorx 미인증 사용자는 인증 자격 증명을 위해 Windchill IDP 인증 필터를 사용하여 Windchill 로그인 양식으로 리디렉션됩니다. 인증에 성공하면 ThingWorx 응용 프로그램이 키와 사용자 이름을 수신합니다.
필터는 ThingWorx Tomcat 설치 디렉토리에 있는 web.xml에서 ThingWorx 측에 구성됩니다. 다음 단계를 따르십시오.
1. Apache Tomcat과 Integration Runtime을 중지합니다.
2. ThingWorx-Navigate-Release-<버전>-bundle.zip의 idp 폴더에 있는 ptc-identity-provider-authentication-filter-{버전}.jar를 ThingWorx Tomcat 설치 디렉터리 아래의 WEB-INF/lib 디렉터리로 복사합니다.
3. Tomcat-install\webapps\Thingworx\WEB-INF\web.xml에서 web.xml 파일로 이동합니다.
4. Tomcat-install\webapps\Thingworx\WEB-INF에서 web.xml 파일의 복사본을 만들어 다른 위치에 저장합니다.
5. Tomcat-install\webapps\Thingworx\WEB-INF의 web.xml을 ThingWorx-Navigate-Release-<버전>-bundle\idp\twx-8.5.x의 web.xml로 바꿉니다.
6. web.xml을 열고 IdentityProviderAuthenticationFilter 및 IdentityProviderKeyValidationFilter 필터에서 [http or https]://[windchill-host]:[windchill-port]/windchill-web-app]에 Windchill Server 세부 정보를 추가합니다.
7. Tomcat과 Integration Runtime을 시작합니다.
|
Windchill의 web.xml에서 authparam 값을 정의한 후에는 기본 제공 값이 더 이상 유효하지 않습니다. 올바른 데이터를 가져오려면 ptc-windchill-integration-connector-proxy에서 Session User Query Parameter의 값을 변경합니다.
|