It's all about the answers!

Ask a question

Do I need to log off from RTC when accessing it using REST interface


0
1
Lewis Tsao (2174962) | asked Feb 25 '14, 3:11 a.m.
edited Feb 25 '14, 3:18 a.m. by Ralph Schoon (63.1k33646)

When using browser to access RTC I need to log off. Not too sure how Eclipse client handles that.

When I access RTC using OSLC and REST do I need to log off. If so how? I haven't found any thing that tells me how.

Also how do I 'drain' REST output if I encounter an error when processing output?

3 answers



permanent link
Krzysztof Kaźmierczyk (7.4k375103) | answered Feb 25 '14, 3:27 a.m.
Hi Lewis,
If you are using floating licenses, logging off releases this license so we recommend you logging off. Except that, it is a good practice (but I don't think it is necessary).

Handling errors in REST output is the same as handling in applications. It is recommended to handle them in any way and e.g. log out finally if you have any error.

Let us know if that helps.

Comments
Krzysztof Kaźmierczyk commented Feb 25 '14, 3:48 a.m.

Hi Lewis,
I have created new question from your comment. It is available here: https://jazz.net/forum/questions/143418/so-how-do-i-log-out-using-rest


permanent link
Henry Armburg Jennings (13076) | answered Nov 18 '14, 7:41 a.m.
 Hi Lewis,

Hope you've figured this out by now, but i think we did:

http://server:port/ccm/service/com.ibm.team.repository.service.internal.ILogoutRestService

with the cookies in the headers. There is also http://server:port/ccm/jauth-revoke-token in rootservices doc which I would assume is the more correct way to do it.

Henry

permanent link
David Pyke (11) | answered Oct 16 '20, 1:32 a.m.

 another option might be 


 https://server:port/<app>/ibm_security_logout

where <app> is ram , ccm etc..

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.