Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Single Sign On in Ruby - Enterprise Ready!

Single Sign On in Ruby - Enterprise Ready!

Avatar for demisone@gmail.com

[email protected]

June 01, 2012
Tweet

Other Decks in Programming

Transcript

  1. Single Sign On (really) • Centralized (almost) authentication • Login

    once - be logged-in in multiple services • More than just "no password required" • Single Log Out • Actual "authenticator" can be an outsider (Facebook, Twitter, or whatever...)
  2. CAS • Not bad... • With a lot of free

    implementations : ◦ RubyCAS-Server ◦ Jasig CAS (Java) ◦ ... ◦
  3. SAML (2.0) • Complex • XML based • (Unhappy face

    here...) But : • Really the only de-facto standard • Implemented / supported by : ◦ Google ◦ Microsoft ◦ Oracle ◦ ...
  4. RSAML • Wrapper library around SAML 2.0 • Pure ruby

    • Most of the functionality required • Untouched for 2 years • Now maintained at github.com:rsaml/rsaml • Missing some functionality...
  5. Russo • Rails 3 engine • Reeeeeaaally KISS • Actually

    HTTP to SAML 2.0 library • SAML 2.0 logic in RSAML • No actual auth logic inside : ◦ Do it on the mounted app ◦ Use OmniAuth!!!
  6. Russo • Status : Core functionality should be there during

    this week • Use cases : Pretty open since most of the functionality is done on the mounted app • Learning curve : Pretty high - understanding SAML is required
  7. Why this presentation??? Please help!!! :) • Finish up RSAML

    ◦ XML Signing ◦ Unimplemented features • Complete Russo ◦ Single Log Out ◦ Support for other use cases ◦ Documentation