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 (2074150) | asked Feb 25 '14, 3:11 a.m.
edited Feb 25 '14, 3:18 a.m. by Ralph Schoon (55.5k23642)

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?

2 answers



permanent link
Krzysztof Ka┼║mierczyk (7.3k34390) | 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

Your answer


Register or to post your answer.