4 Replies Latest reply on May 1, 2008 1:23 PM by peterj

    login using email

    erezharari

      can jboss portal be configured to use email as user name in login and other operations?
      can i just place the email in the user name field?

        • 1. Re: login using email
          peterj

          If you configure the portal to use ldap for login, it is possible to use the user's email address for login, provided, of course, that the ldap information includes the user's email address (I know that MS Active Directory stores the email address).

          • 2. Re: login using email
            erezharari

            good,
            and when using a DB implementation?
            is there any way?

            • 3. Re: login using email
              loucs

              the simpliest way i can think now is using your own registration portlet where you ask for an email and put it in the userName property of the Identity API, as well as creating your own login.jsp page, where you replace the login label with the word email. (report to the portal reference guide, where youn can find the modules used for account creation in the identity API chapter (HibernateUserModule.createUser or something like that...)

              hope this help,

              --
              Lucas
              Montes

              • 4. Re: login using email
                peterj

                As long as the email address is in the database, then yes you can create a login module that uses the email address as the user's name. (Actually, you can use any information available in either ldap or a database as the login information, such as phone number, date of birth, even street address, though it prevents confusion if the information is unique.)