How to get JTS AuthUrl from rootservices rdf.
We have RM server running on https://xxxxxx:9443/rm and JTS is running on https://yyyyyyy:9443/jts.
We use Lyo sdk to interact with the Doors NG rest api .
while login we need authUrl to call rootServicesHelper.initFormClient(username, password, authUrl) .
My Question is how to automatically discover authUrl value from rootservices.rdf.
One answer
This https://jazz.net/wiki/bin/view/Main/NativeClientAuthentication explains the client authentication dance, including how to get auth URL.
This is pretty much all I know. In any example I have used I constructed the authUrl based on this.If a form challenge is encountered, a native client has to obtain the URI context from the target resource and appendj_security_check
to it. Then your client can POST the client credentials as per JEE spec.