Friday July 11, 2008
Single Sign On using Sun Access Manager and JRuby
A couple of emails to achieve Single Sign On using Sun Access Manager
in a Rails app - that's pretty cool! A brief summary of the solution is:
Warbler builds a war
file out of your Rails app using jruby-rack. Drop your .jar libraries
in the rails lib dir. Muck with your web.xml so you can make it use a
filter. Drop the .war file on your server. Done. A little method called
servlet_request is now magically available to you. Call
servlet_request.getUserPrincipal : it's populated. It's not magic- it's
JRuby!
Read complete details here.
And guess what, this is deployed on GlassFish
:)
The blog summarizes the power of Java and agility of JRuby/Rails:
Anyway, that's why JRuby
is even more awesome. Let them write Java- I'll call it if I need it.
Technorati: rubyonrails
jruby ruby glassfish
accessmanager
singlesignon
sso stories
Posted by Arun Gupta in web2.0 | Comments[0]
|
|
|
|
|
Today's Page Hits: 3271
Total # blog entries: 994
| « November 2009 | ||||||
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
1 | 2 | 4 | 6 | 7 | ||
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | |||||
| Today | ||||||