Re: How can i authorize a 'bot' to access my REST resource?

2017-02-09 Thread Martin Grigorov
Hi, I see two options: 1) if you use http client (like Apache HttpClient or Okio) then you can login first and then go to the REST endpoint. Just make sure the client preserves the cookies 2) remove @AuthorizeResource and use other means to protect it, e.g. Basic Authentication. With Spring Securi

How can i authorize a 'bot' to access my REST resource?

2017-02-09 Thread Per Newgro
Hi, i've extended an org.wicketstuff.rest.resource.AbstractRestResource and mounted it in my WebApplication. Everything works so far. But i've annotated my Method with a role that shall be extracted from the session. I'm not quite sure how to 'login' my import command (CLI) as a user Has someo