• Pingback: RE: Liferay with SugarCRM using iframe - Forums - Liferay.com()

  • Karel Balac

    Antonio, please do you have an english version of this article?

     
    • http://musarra.wordpress.com Antonio Musarra

      Hi Karel,
      at this moment I have not the english version of the article. I hope in the next days I will able translate this article.

      Thanks you.

       
  • Karel Balac

    Many thanks Antonio. But im unable where can i find part Listing 1 and 2:

    “Through the configuration properties you can enable the storage of the password (unencrypted) in session, and also specify the role to be assigned to users who need to be able to send your password to the outside through the iFrame portlet.” and “Listing 2 shows GetPassword() class IFrameUtil com.liferay.portlet.iframe.util package that retrieves the user’s password from the session, checking the association role/user using the method isPasswordTokenEnabled().”

    I have succesfully configured Iframe portlet by Figure 1, role by Figure 2 assigned to user, same users with passwords in Liferay and SugarCRM, byt i cannot find where to change “configuration properties where i can enable the storage of the password”

    Many thnaks for your help

    Karel

     
    • http://musarra.wordpress.com Antonio Musarra

      Hi Karel,
      the configuration shown in Listing 2 must be specified in the file portal-ext.properties. This file must be created or found within the directory webapps/ROOT/WEB-INF/classes.
      I have updated also article.

      Bye,
      Antonio.

       
      • Karel Balac

        Hi Antonio, I created fikle portal-ext.properties and now iframe send username correctly but password still not. I have error message “You must specify a valid username and password.”.
        Need I set somewhere Listing 1 – Get clear password from session?

        Thanks

        Karel

         
        • http://musarra.wordpress.com Antonio Musarra

          Hi Karle,
          Q: Need I set somewhere Listing 1 – Get clear password from session?
          R: No. This is the class to get the clear password of the user.
          After create the portal-ext.properties, have you restarted liferay?
          Do you remember that the passwords must be equal (between Liferay and SugarCRM)?

          Bye,
          Antonio.

           
  • Karel Balac

    Hi Antonio,

    After create the portal-ext.properties, have you restarted liferay? YES
    Do you remember that the passwords must be equal (between Liferay and SugarCRM)? also YES

    In my portal-ext.properties is only configuration showed on Listing 2, is it enough?

    Regards

    Karel

     
    • http://musarra.wordpress.com Antonio Musarra

      Hi Karel,
      Q:In my portal-ext.properties is only configuration showed on Listing 2, is it enough?
      R: YES
      It ‘s really weird.
      You also have the role associated with the user?

      Bye,
      Antonio.

       
      • Karel Balac

        Hi Antonio,

        You also have the role associated with the user? also YES

        its really weird

         
        • http://musarra.wordpress.com Antonio Musarra

          Hi Karel,
          try to send me (antonio.musarra@gmail.com) the configuration of the iFrame Portlet.

          Bye and a good week end.
          Antonio.

           
  • Karel Balac

    sended.

    Thanks

    Karel

     
Torna su
cellulare pc desktop