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,
Accepted answer
This answered my question and the problem is resolved.
https://jazz.net/wiki/bin/view/Main/DraftTeamProcessRestApi
Thanks everyone.
2 other answers
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
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.