Insted of using portletSession, you can use HttpSession object to store such 
information, try this code snippet:


  | 
  | import javax.security.jacc.PolicyContext;
  | import javax.security.jacc.PolicyContextException;
  | import javax.servlet.http.HttpServletRequest;
  | import javax.servlet.http.HttpSession;
  | 
  | request = (HttpServletRequest) 
PolicyContext.getContext("javax.servlet.http.HttpServletRequest");
  | request = (HttpServletRequest) 
PolicyContext.getContext("javax.servlet.http.HttpServletRequest");
  | 
  | HttpSession httpSession = request.getSession();

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246095#4246095

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246095
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to