JAAS vs. Container-Managed Security
I'm digging into JAAS this afternoon as I enjoy the vacancy of the Winter Break at DU's Penrose Library. Man, what a great school - I used to love it when we'd get off 6 weeks for Christmas Break - from Thanksgiving through January - how sweet is that!?
The reason I'm writing on this cold (32°F) afternon is to get some thoughts on JAAS in web applications. I'm giving it about a paragraph of coverage, explaining that it's mainly for declaring authentication and authorization in policy files. Furthermore, it's only invoked when running your application (or Tomcat) with a security manager. However, it's not really needed in web applications because 1) container-managed/web.xml is good enough, and 2) authentication mechanisms never really need to be that fine-grained. Whaddya think? Am I wrong, does it deserve more coverage? Don't most app servers use JAAS under the covers?
Posted by Erik Hatcher on December 04, 2002 at 10:00 PM MST #
Posted by Matt Raible on December 05, 2002 at 12:44 AM MST #
Posted by Matt Raible on December 05, 2002 at 12:56 AM MST #
Posted by Matt Raible on December 05, 2002 at 01:12 AM MST #
Posted by F. Degenaar on December 06, 2002 at 07:15 AM MST #
Posted by Matt on December 09, 2002 at 01:56 PM MST #
Posted by F. Degenaar on December 13, 2002 at 05:47 AM MST #
I want to use jaas with my struts application in sunone 6.1. Can anyone help me with any sample source code? Does sunone 6.1 support jaas?
Thank you
Posted by tushar on January 31, 2006 at 12:15 PM MST #