It's all about the answers!

Ask a question

Authentication using API and add users


Li Chen (11923742) | asked Jan 02 '13, 5:14 p.m.

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,

Accepted answer


permanent link
Li Chen (11923742) | answered Jan 24 '13, 11:19 a.m.

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

2 other answers



permanent link
Kevin Ramer (4.5k9185200) | answered Jan 03 '13, 8:49 a.m.
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.

Comments
Li Chen commented Jan 07 '13, 3:45 p.m.

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.


Li Chen commented Jan 07 '13, 3:45 p.m.

BTW, we are using PERL script


Ralph Schoon commented Jan 24 '13, 11:49 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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
Paul Slauenwhite (8.4k12) | answered Jan 03 '13, 12:34 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
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.

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.