1 Reply Latest reply on Apr 27, 2007 12:08 PM by peterj

    login portlet

      I have read this page http://wiki.jboss.org/wiki/Wiki.jsp?page=PortletLogin and another hundred posts on this subject. surely there is a good way to create a login portlet that does not have to route its way through the login.jsp. Am I missing something?

        • 1. Re: login portlet
          peterj

          The Portal uses the standard authorization mechanisms offered by servlet containers. It is configured in jboss-portal.sar/portal-server.war/WEB-INF/web.xml. Currently, the setting is:

          <login-config>
           <auth-method>FORM</auth-method>
           <realm-name>JBoss Portal</realm-name>
           <form-login-config>
           <form-login-page>/login.jsp</form-login-page>
           <form-error-page>/error.jsp</form-error-page>
           </form-login-config>
           </login-config>


          You can change this to use some other authorization method (see the commented-out BASIS authorizatioin method earlier in the file) or even use some other JSP, but you are still limited to the servlet authorization mechanism.