The Artima Developer Community
Sponsored Link

Java Buzz Forum
Container Managed Security: If your standard covers a lowest common denominator. Please add hooks!

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
dion

Posts: 5028
Nickname: dion
Registered: Feb, 2003

Dion Almaer is the Editor-in-Chief for TheServerSide.com, and is an enterprise Java evangelist
Container Managed Security: If your standard covers a lowest common denominator. Please add hooks! Posted: Jan 18, 2005 4:33 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by dion.
Original Post: Container Managed Security: If your standard covers a lowest common denominator. Please add hooks!
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
Latest Java Buzz Posts
Latest Java Buzz Posts by dion
Latest Posts From techno.blog(Dion)

Advertisement
I understand that a lot of standards end up being lowest common denominators. That is one of the issues with design by commitee. However, I wish that the standards would have defined hooks that allow you to write code which uses the standard but adds on functionality. Take the Servlet API for an example. This is one of the better APIs in J2EE. It is pretty darn portable. I try really hard to be able to have a .war that can be placed in a container and have it just run, but this isn't always the case. If I have to open up a server.xml I think I failed :) One example is Container Managed Security. Their are a couple of features that I really wish were in the spec. How about the ability to LOG OUT (not just nuking the session!). What about enhancing the security piece? Take a login box. Form-based security allows you to setup a username and password and get authentication/authorization going. However, what if you want to do something like a 'Remember me?' check box, or the security image that I talked about last week. Since the spec doesn't have any hooks, and doesn't easily allow a filter to kick in before the security piece, this becomes really tough. Well, on some servlet containers. Remember Me? functionality is built into Resin. I don't have to do a thing. But, unless I know that I want to only run on Resin, I am kinda stuck. I said before that I wanted to be able to create a .war file that runs in any container. To do this now I use another system for handling security. Trying to get around the CMS system is more trouble than it is worth. Is there a nice programatic API to log someone in and out? No. For this reason I end up using something like Acegi Security for Spring. Come on guys, give me some hooks! And, let's not get started on JAAS and how there isn't a standard API to create users/groups in the system! Argh!

Read: Container Managed Security: If your standard covers a lowest common denominator. Please add hooks!

Topic: Professional Swing: Threading Previous Topic   Next Topic Topic: Mike Spille on Groovy

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use