• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Intercepting portlet request

 
Dorte Skriver
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there some kind of "beforeLoad/Render" mechanism in portlets, whereby you can receive a request, check credentials, and either continue loading portlet, or redirecting the user somewhere else, like a login page ??
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSR-286 provides portlet filters, be we don't have that luxury with JSR168.

Really, calling a standard code snipped at the beginning of a portlet do method might be the only approach.

It's always best if you can get declarative security implemented with your portlets. It gets rid of alot of headaches.

-Cameron McKenzie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic