Community email notifications are disrupted. While we are working to resolve, please check on your favorite boards regularly to keep up with your conversations and new topics.
Team
Is it possible to GET OData data from within JSP code? It would GET from the local Windchill (localhost).
Do I have an authentication problem?
Solved! Go to Solution.
Petr:
As for authentication, I can see how in the JSP to get the username. Is the usr:pwd needed in the OData URL when the call is within Windchill?
cheers -- Rick
Petr:
But the user is already authenticated, for example
domain.com/Windchill/wtcore/jsp/test/dynAuth.jsp
or domain.com/Windchill/app/#wtcore/jsp/test/dynAuth.jsp
The user will not want to enter her password again. I can get the username from "<%=request.getRemoteUser()%>" and insert it in the WRS URL, but not the password.
No, scrub this question because there could not be a way to get the password here. It would be a major security problem.