Securing REST API using custom tokens (stateless, no UI, no cookies, no basic authentication, no OAuth, no login page)
My sample app does exactly this – securing REST endpoints using Spring Security in a stateless scenario. Individual REST calls are authenticated using an HTTP header. Authentication information is stored on the server side in an in-memory cache and provides the same semantics as those offered by the HTTP session in a typical web application. … Read more