Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Authentication using API and add users

In RQM v2, we use the following API commands to authenticate and add users to RQM,

https://RQMserver:9443/jazz/authenticated/identity

https://${server}:9443/jazz/j_security_check\

http://jazz.net/xmlns/prod/jazz/process/0.6/

https://${server}:9443/jazz/process/project-areas/${prj_uid}/members/${user}</jp06:url>

https://${server}:9443/jazz/users/${user}</jp06:user-url>

......

what are the equivalent API commands for RQM v4? Can somebody shed some lights on?

Thanks,

0 votes


Accepted answer

Permanent link

This answered my question and the problem is resolved.

https://jazz.net/wiki/bin/view/Main/DraftTeamProcessRestApi

Thanks everyone.

Ralph Schoon selected this answer as the correct answer

0 votes


2 other answers

Permanent link
There are several examples in the 'snippets' folder of the Plain Client Libraries

e.g.
public class Snippet1 {

    private static String REPOSITORY_ADDRESS = System.getProperty("repositoryAddress", "https://localhost:9443/jazz");
    private static String USER_AND_PASSWORD = System.getProperty("snippetUserAndPassword", "test");
   
    public static void main(String[] args) {
        TeamPlatform.startup();
        try {    
            IProgressMonitor monitor = new SysoutProgressMonitor();
            login(monitor);
        } catch (TeamRepositoryException e) {
            System.out.println("Unable to login: " + e.getMessage());
        } finally {
            TeamPlatform.shutdown();
        }
    }

You can download the appropriate version under the "All Downloads" tab.

0 votes

Comments

Is this the Plain Java Client Library for RTC? Can you shed some lights on where to down load it? I tried the "All Downloads" for RQM, RTC and Jazz Foundation but could not find it.

Thanks.

BTW, we are using PERL script

Just dor your information and in case of a need: the Plain Java Client Libraries can be downloaded from the RTC all downloads page in the zip section.


Permanent link
See com.ibm.rqm.url.client.RQMUrlUtlyLogin.login(String, String, String) in the RQM URL Utility (same version as your RQM server) source (https://jazz.net/wiki/bin/view/Main/RQMURLUtility#Accessing_the_Source) for the required HTTP requests to authenticate with the JTS server.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Jan 02 '13, 5:14 p.m.

Question was seen: 5,396 times

Last updated: Jan 24 '13, 11:49 a.m.

Confirmation Cancel Confirm