Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! 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.