This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Portal - getting started / understanding

 
Christopher McCauley
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am doing analysis on a web app that is struts based, we do an ldap lookup through EAServer to authenticate and then enter the struts framework upon success. It has been proposed that the login routine become a separate web application so that we can arrive at a home page and from there lauch other applications that will have varied framworks, etc.. Instantly, I thought, This is a request for a portal, and each "launch" point would be a portlet....

Would anyone care to share their understanding / interpretation of partals and perhaps guide me in a particular direction ( or two?)

Thanks.
Chris
 
Jason Moors
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Christopher,

If your only requirement is for authentication, then I probably wouldn't recommend modifying all your applications to run within Portlets.

Depending on web application server you could just implement a JAAS Login Module with a Servlet Filter (Servlet API 2.3) which would intercept requests before they reached the Struts ActionServlet.

Servlet Filters

I've implemented this approach in the past and it's very effective.

Another possibility is Acegi Security Framework which implements a complete authentication solutions, it relies on the Spring framwork, but provides Serlvet filter and most of the code out of the box.

I would say it's worth a look as it provides a Non-intrusive approach as the filters will sit on top of your application without the need to port your application to Portlets or get involved with Struts bridge.

http://acegisecurity.org/

Jason.

[ March 07, 2006: Message edited by: Jason Moors ]
[ March 07, 2006: Message edited by: Jason Moors ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic