Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Version: Windchill 13.0
Use Case: Switch from basic authentication in OOTB Windchill to form-based authentication following Help center instructions: https://support.ptc.com/help/windchill/r13.0.2.0/en/Windchill_Help_Center/WCAdvDeployGuide/WCAdvDepAuth_ConfigAltAuth_FormBasedAuth.html#
Description:
Hello,
First of all, when following the help center instructions, we couldn't found the resource without attribute in
<Windchill>/apacheConf/config/authResAdditions.xml file.
2- Where to put the configuration to let Tomcat knows that the app is configured with form-based, because it's not described in the help center page
3- The application url context does not redirect to the new form, it shows the following error:
ERROR : org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/Windchill].[MVCDispatcher] - Servlet.service() for servlet [MVCDispatcher] in context with path [/Windchill] threw exception [wt.method.AuthenticationException] with root cause wt.method.AuthenticationException
at wt.session.SessionAuthenticator.reauthenticateUser(SessionAuthenticator.java:251)
at wt.session.SessionAuthenticator.getUserName(SessionAuthenticator.java:157)
at wt.auth.AuthenticationServer.getUserName(AuthenticationServer.java:170)
at wt.session.StandardSessionManager.getAuthenticationName(StandardSessionManager.java:500)
at wt.session.StandardSessionManager.getPrincipal(StandardSessionManager.java:165)
The form is only displayed when requesting explicitly its URL: http://hostname/Windchill/login/login.jsp
But after put the wcadmin credentials, it shows the following error:
Any help please!
best regards,
Hi,
Have a look at this thread.
It may not solve your problem but it has lots of usefull info.
Cheers,
Bryan
Hello,
Thanks for you reply.
We checked this thread but it does not answer to our questions.
The goal is to configured the FBA in a standard Windchill PDMLink and it seems that we were unable to configure correctly the j_security_check mecanisum as in the topic you noticed.
After following the PTC documentation error page is always displayed (with HTTP code 200) and no logs from TOMCAT are generated:
It seems that we missed a configuration.