On 7/27/16 2:42 AM, Jacob Carlborg wrote:

On Tue, 26 Jul 2016 12:08:46 -0400, Steven Schveighoffer wrote:

I'm going off of stackoverflow's recommendations:
http://stackoverflow.com/questions/319530/restful-authentication

"To be honest, a session managed on the Server is not truly Stateless."

Nobody said you had to store the session on the server ;). It can be stored in a cookie.

Just FYI, I gave in :)

I'm now using registerRestInterface after all. I realized that the
client I'm working with has great support for JSON serialization, but
would require manual work to set up traditional POST data. Many of the
other features of the rest interface system make it more attractive than
I first thought. Yeah, it's not exactly REST, oh well :)

I'm using the @before trick to manage the session, and it should work
fine for my purposes. I've also decided that specifying methods as UDA
isn't so bad.

Thanks for the discussion and recommendations!

-Steve