Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Portal - getting started / understanding

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?)

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.


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