0 Replies Latest reply on May 2, 2007 11:43 AM by David Hoffman

    Accessing Response Object in a Portal Auth Module

    David Hoffman Newbie

      Using:

      http://wiki.jboss.org/wiki/Wiki.jsp?page=AccessingServletRequestForAuthentication

      I am able to access the HttpServletRequest with the following code:

      HttpServletRequest request = (HttpServletRequest)PolicyContext.getContext("javax.servlet.http.HttpServletRequest");
      


      I need to access the response object in order to set a cookie upon completion of login, before releasing the user to the portal. Is there a similar method that is just undocumented for accessing the response object?