2 Replies Latest reply on Oct 23, 2007 9:51 AM by soon5

    Problem with own User Management Portlet

    soon5

      Hy there,

      I am currently developing a new User Management Portlet for JBoss Portal running on JBoss AS 4.2.1. Works fine so far, but i have a little problem.

      When I change the Password, it is correctly hashed and written into the Database, but when I log out and in again, the Login Module isn't using the Password from the DB. The Module uses the old Password. After a while, or when I restart the server the new password is used.

      In the original User Management Portlet there isn't that Problem. How can i force the Login Module to look into the Database?

      Thanks for help.

      Greetings Soon5

        • 1. Re: Problem with own User Management Portlet
          soon5

          Hy,

          I forgot,

          DB is Oracle 10g, Portal is Downloaded 2.6.1.

          Greetings Soon5

          • 2. Re: Problem with own User Management Portlet
            soon5

            Hy,

            I found out the source of the Problem. It's because i am using my own EJB with own Hibernate Mapping Classes to write the User data.

            I reduced the cache-time of the portal, so the Portal-Objects expire, and as i thougt, it works.

            Is there any command to force a refresh of the Portal-Hibernate Objects, so that I don't have to reduce the cache-time in the ehcache.xml File?

            Greetings Soon5