AnsweredAssumed Answered

REST-API problem

Question asked by thomas123 on Apr 18, 2013
Latest reply on Apr 22, 2013 by jbarrez
Hi,
I have just installed the 5.11 REST-API war-file on Tomcat6 with an Oracle database behind.
At startup, the tables in oracle were created, but no content is in there.

Now I want to follow the curl example (curl –basic –user kermit:kermit http://localhost:8080/activiti-rest/service/xxx) in the user guide but it always says:

<html>
<head>
   <title>Status page</title>
</head>
<body style="font-family: sans-serif;">
<p style="font-size: 1.2em;font-weight: bold;margin: 1em 0px;">Forbidden</p>
<p>Authentication is required</p>
<p>You can get technical details <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.4">here</a>.<br>
Please continue your visit at our <a href="/">home page</a>.
</p>
</body>
</html>

I have also created a user kermit and group kermit with role security-role directly with sql in the tables ACT_ID_GROUP and ACT_ID_USER and tried to login with kermit:kermit.

How can I manage the authentication?

Kind regards,
Thomas

Outcomes