Home  /  Questions  /  Question

60   95.3
Sep 05, 2013

How to add Authentication of Request in REST Interface

In the previous version of Pattern In Action there are 3 security values for a request: ClientTag, AccessToken, and User Credentials.
In the Spark 4.5 platform there is no REST security validation. 

How can I add this?  Is it possible to implement this?

508   99.9
Sep 05, 2013
One possible way to implement REST security is to authenticate the client with a username and password in the first request.
Then the server returns a security token which should be used in each subsequent REST request for the duration of the session.

Of course, there are different alternatives.
You can look at Facebook, Twitter, etc for examples. 

Hope this helps. 
Jack Poorte