• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Eugen: Securing REST API for one page app

 
Greenhorn
Posts: 21
4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm currently working on a project that is developing a UI using Ext JS Framework to produce a one-page application. We are considering creating a RESTful API specific for the application and leveraging the container-based SAML configuration (a corporate standard) to secure both the UI and the service. This would entail maintaining some user state within the service with the help of a filter. Even though the service would be dedicated to the UI (at least for the time being), it does go against REST statelessness. What is the preferred security pattern for REST API for one page JavaScript applications?

Thanks!
Doug
 
reply
    Bookmark Topic Watch Topic
  • New Topic