Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
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.