It's all about the answers!

Ask a question

How to get JTS AuthUrl from rootservices rdf.


Amit Kumar (38419) | asked Dec 07 '18, 8:24 a.m.

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



permanent link
Ralph Schoon (63.3k33646) | answered Jul 31 '19, 1:44 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

This https://jazz.net/wiki/bin/view/Main/NativeClientAuthentication explains the client authentication dance, including how to get auth URL.


If a form challenge is encountered, a native client has to obtain the URI context from the target resource and append  j_security_check  to it. Then your client can POST the client credentials as per JEE spec. 

This is pretty much all I know. In any example I have used I constructed the authUrl based on this.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.