HTTP Status 403 - CRJAZ1394E The user ID "ADMIN" i
Hi all,
Problem with browser firefox and IE:
I Installed and configured RQM version 3.1.2 in http and I can access to http://server:9080/qm/rootservices but if I try to go to http://server:9080/qm/authenticated/j_security_check , after putting the default login/pwd(ADMIN/ADMIN) I get an error message " HTTP Status 403 - CRJAZ1394E The user ID "ADMIN" is not a member of any Jazz J2EE roles but must be a member of one to access the repository."
I have the same problem with:
http://vmo443:9080/qm/oauth-authorize?oauth_token=83b53f43545b40c796e186f8f9650968
Problem with my java code:
When I use my java code in get response.getStatusLine().getStatusCode()=302
url : http://server:9080/qm/authenticated/j_security_check or http://vmo443:9080/qm/oauth-authorize?oauth_token=83b53f43545b40c796e186f8f9650968
username= password=ADMIN
public static void setupFormsAuth(String url, String username, String password) throws ClientProtocolException, IOException
{
//If this is our first request, initialized our httpclient
if (httpclient == null)
{
httpclient = new DefaultHttpClient();
setupLazySSLSupport(httpclient);
}
HttpPost httppost = new HttpPost(url);
StringEntity entity = new StringEntity("j_username=" + username + "&j_password=" + password);
//Set headers, accept only the types passed in
httppost.setHeader("Accept", "*/*");
httppost.setEntity(entity);
httppost.addHeader("Content-Type", "application/x-www-form-urlencoded; charset=utf-8");
httppost.addHeader("OSLC-Core-Version", "2.0");
//Get the response and return it
HttpResponse response = httpclient.execute(httppost);
//EntityUtils.consume(response.getEntity());
}
I don't understand why I get this error and I have not solution about
Can someone give me a lift?
Thanks in advance.
Problem with browser firefox and IE:
I Installed and configured RQM version 3.1.2 in http and I can access to http://server:9080/qm/rootservices but if I try to go to http://server:9080/qm/authenticated/j_security_check , after putting the default login/pwd(ADMIN/ADMIN) I get an error message " HTTP Status 403 - CRJAZ1394E The user ID "ADMIN" is not a member of any Jazz J2EE roles but must be a member of one to access the repository."
I have the same problem with:
http://vmo443:9080/qm/oauth-authorize?oauth_token=83b53f43545b40c796e186f8f9650968
Problem with my java code:
When I use my java code in get response.getStatusLine().getStatusCode()=302
url : http://server:9080/qm/authenticated/j_security_check or http://vmo443:9080/qm/oauth-authorize?oauth_token=83b53f43545b40c796e186f8f9650968
username= password=ADMIN
public static void setupFormsAuth(String url, String username, String password) throws ClientProtocolException, IOException
{
//If this is our first request, initialized our httpclient
if (httpclient == null)
{
httpclient = new DefaultHttpClient();
setupLazySSLSupport(httpclient);
}
HttpPost httppost = new HttpPost(url);
StringEntity entity = new StringEntity("j_username=" + username + "&j_password=" + password);
//Set headers, accept only the types passed in
httppost.setHeader("Accept", "*/*");
httppost.setEntity(entity);
httppost.addHeader("Content-Type", "application/x-www-form-urlencoded; charset=utf-8");
httppost.addHeader("OSLC-Core-Version", "2.0");
//Get the response and return it
HttpResponse response = httpclient.execute(httppost);
//EntityUtils.consume(response.getEntity());
}
I don't understand why I get this error and I have not solution about
Can someone give me a lift?
Thanks in advance.
One answer
Hi all,
Problem with browser firefox and IE:
I Installed and configured RQM version 3.1.2 in http and I can access to http://server:9080/qm/rootservices but if I try to go to http://server:9080/qm/authenticated/j_security_check , after putting the default login/pwd(ADMIN/ADMIN) I get an error message " HTTP Status 403 - CRJAZ1394E The user ID "ADMIN" is not a member of any Jazz J2EE roles but must be a member of one to access the repository."
I have the same problem with:
http://vmo443:9080/qm/oauth-authorize?oauth_token=83b53f43545b40c796e186f8f9650968
Problem with my java code:
When I use my java code in get response.getStatusLine().getStatusCode()=302
url : http://server:9080/qm/authenticated/j_security_check or http://vmo443:9080/qm/oauth-authorize?oauth_token=83b53f43545b40c796e186f8f9650968
username= password=ADMIN
public static void setupFormsAuth(String url, String username, String password) throws ClientProtocolException, IOException
{
//If this is our first request, initialized our httpclient
if (httpclient == null)
{
httpclient = new DefaultHttpClient();
setupLazySSLSupport(httpclient);
}
HttpPost httppost = new HttpPost(url);
StringEntity entity = new StringEntity("j_username=" + username + "&j_password=" + password);
//Set headers, accept only the types passed in
httppost.setHeader("Accept", "*/*");
httppost.setEntity(entity);
httppost.addHeader("Content-Type", "application/x-www-form-urlencoded; charset=utf-8");
httppost.addHeader("OSLC-Core-Version", "2.0");
//Get the response and return it
HttpResponse response = httpclient.execute(httppost);
//EntityUtils.consume(response.getEntity());
}
I don't understand why I get this error and I have not solution about
Can someone give me a lift?
Thanks in advance.
You many want to take a look at the source code for the RQM Copy Utility https://jazz.net/wiki/bin/view/Main/RQMCopyUtility. In the source code there is a class called JFSHttpsClient that handles the login.