5 Replies Latest reply on Jan 11, 2007 10:18 AM by peterj

    Portal without login page

    vikash.anand

      Dear All;
      I am using JBoss Portal and have successfully deployed my portlets there.

      I access my page using following URL:
      http://172.16.3.255:8080/portal/portal/default/LocationBasedServices

      Whenever i use this url i get login page where i need to provide username and password.

      All i want is accessing my page directly without providing username and password....i mean login page should be removed. How should i do it? Please help me out.

      I tried searching on user forums but i did not got anything.

      Thanks and Regards;
      Vikash Anand.

        • 1. Re: Portal without login page
          theute

          If your page is not protected it should not drive you to the login page.

          Anything you changed/added ? No security-constraint in your -object.xml file ?

          • 2. Re: Portal without login page
            peterj

            Sign in as admin, go to the Admin page, Management Portlet. Expand the portal tree view so that your page shows up. Click on the page in the tree view, and then click on Security to the right of the tree view. For the "unchecked" role, select "view".

            • 3. Re: Portal without login page
              peterj

              And the equivalent in *-object-xml is to not define a < security-constraint > entry for your page.

              • 4. Re: Portal without login page
                vikash.anand

                I have not defined any < security-constraint > in my LBS-object.xml file. I tried using Security > Unchecked > View from Management Page as replied. Still it is not working....I am still getting login page....

                I also tried changing C:\jboss-4.0.3SP1\server\default\deploy\jboss-portal.sar\portal-server.war\WEB-INF\WEB.XML file ( <form-login-config> ) to point to my location i am seeing my page without login page but but no action is working.

                Please help me out.

                Thanks and Regards;
                Vikash Anand



                • 5. Re: Portal without login page
                  peterj

                  It sounds like you have things set up correctly. The only other thing I can think of is to view the security settings for the default portal and its pages, and see how they differ from the settings on your page. After all, you can view the default, news and test page without being logged in, and that is the behavior you want for your page.