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
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.
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.