you don't need the role to login in via the session method . You just
need the role when creating users or tokens via the api2.

D.

On Mon, Jul 12, 2010 at 9:01 AM, Imtiaz Ahmed H E <[email protected]> wrote:
> and how do you get this role ? Not having that role is probably why I'm 
> getting '403 Forbidden' in the following...
>
>
> imt...@imtiaz-20100131 /cygdrive/d/temp
> $ curl --dump-header headers -d "token=RCJ44VUZEOEES3NR1EZEIK32PF1BNOBQ"
> http:/
> /localhost:8080/api2/session
>
> imt...@imtiaz-20100131 /cygdrive/d/temp
> $ cat headers
> HTTP/1.1 403 Forbidden
> Expires: Sun, 11 Jul 2010 08:29:09 UTC
> Set-Cookie: JSESSIONID=d8a63eqezeownsy8qnayuhwy;Path=/
> Content-Length: 0
> Date: Sun, 11 Jul 2010 08:29:09 UTC
> Pragma: no-cache
> Content-Type: text/plain; charset=utf-8
> Cache-Control: no-cache; private; no-store
> X-Lift-Version: 2.0-SNAPSHOT
> Server: Jetty(6.1.24)
>
>
> imt...@imtiaz-20100131 /cygdrive/d/temp
> $
>
> Imtiaz

Reply via email to