3 Replies Latest reply on Nov 14, 2007 12:16 PM by Chris Laprun

    High-level information concerning the flow of a portal reque

    Vinh Nguyen Newbie

      Hello everyone,

      I am using Jboss-portal 2.6.2. Despite reading through all the documentation, I am struggling with understanding the flow of a portal request.

      For example, when requesting the default home page with http://somehost:8080/portal/, what is the flow of this request? How does the numerous *.sar, *.war under $JBOSS_HOME/server/default/deploy tie in to this request?

      Any insight would be appreciated.

        • 1. Re: High-level information concerning the flow of a portal r
          Chris Laprun Master

          May I ask why you are interested in these details?
          If you really want to know, the source is available... Start with org.jboss.portal.server.servlet.PortalServlet! ;)

          • 2. Re: High-level information concerning the flow of a portal r
            Vinh Nguyen Newbie

            Hi Chris,

            I am not interested in the gory details of the PortalServlet, I am more interested in the information at a higher level. For example, I am interested in the flow of a request when I click on the "login" link.
            The high-level overview will help me understand how to best customized the portal.

            The specific questions about the "login" request flow are:

            1. the url for the login link is http://host/webapplicationcontext/auth/portal/default/default. I know that /auth is mapped to the servlet descriptor of jboss-web-deployer and "/portal/default" is the portal name and its page. What is the last "/default"?

            2. The login form action is "j_security_check". When this request is sent to the server side and processed by PortalServlet, what happens after that?

            Regards

            • 3. Re: High-level information concerning the flow of a portal r
              Chris Laprun Master

               

              "tulumvinh" wrote:

              I am not interested in the gory details of the PortalServlet, I am more interested in the information at a higher level. For example, I am interested in the flow of a request when I click on the "login" link.
              The high-level overview will help me understand how to best customized the portal.


              I'm afraid that the details of what happens is mostly gory details... :)

              "tulumvinh" wrote:

              1. the url for the login link is http://host/webapplicationcontext/auth/portal/default/default. I know that /auth is mapped to the servlet descriptor of jboss-web-deployer and "/portal/default" is the portal name and its page. What is the last "/default"?


              http://docs.jboss.com/jbportal/v2.6.2/referenceGuide/html/urls.html

              "tulumvinh" wrote:

              2. The login form action is "j_security_check". When this request is sent to the server side and processed by PortalServlet, what happens after that?


              The reference guide (http://docs.jboss.com/jbportal/v2.6.2/referenceGuide/html/) might contain the information that you need. Without context of what you're trying to achieve, it's difficult to answer your query. Plus, an explanation of Portal internals are outside of the scope of this forum. One could make a point that such an overview should be more prominent in the documentation and, if you feel strongly about it, please open a JIRA task for it. Ultimately, though, the source is the best documentation for the internal behavior of Portal. If you need more help figuring things out, you might want to consider buying consulting and/or support from us...