3 Replies Latest reply on Dec 12, 2006 11:45 PM by vipinmpd08

    Custom profile information for users

    muted

      Hi,

      I'm currently trying out JBoss portal for an upcoming project. We'd need to have customized user profiles with some specific data fields that are required. I browsed the DB structure and that seems to support it, as the profile information is stored as key/value pairs. However, based on a brief overview of the user/profile classes, the profile data seems to be hard coded into the User-class and it's implementations.

      Is there any way to introduce custom profiles without having to use a 3rd-party user control through single sign-on or should I just focus on that? We have no other requirements for user control so using the Portal's own system would be enough in every other aspect.

      -Pekka

        • 1. Re: Custom profile information for users
          muted

          Sorry for the self-reply, but instead of a shameless self-bump, I have a follow-up question.

          Reading through the developer forums and the 2.6DR Javadoc, I noticed the ProfileMap and UserProfileModule-classes that would seem to indicate that the ability to create custom profile attributes is coming in 2.6. Is this assumption correct?

          • 2. Re: Custom profile information for users
            bdaw

            In 2.4 I think that you are able to store any property name you want - it's not strictly defined anywhere like "theme" prop. Just some of them are mapped to "jbp_user" columns and ProfileMap use UserImpl methods to store them in hibernate mapped pojo.

            For 2.6 you will be able to define user properties available in the profile. Although it'll be defined in portal configuration so not mutable on the runtime.

            • 3. Re: Custom profile information for users
              vipinmpd08


              Hi

              but how to search frm the map collections

              Thanks