<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>[SOLVED] Passing User Name and Password to an IFrame</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=4382215" />
  <subtitle>[SOLVED] Passing User Name and Password to an IFrame</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=4382215</id>
  <updated>2026-06-21T10:15:04Z</updated>
  <dc:date>2026-06-21T10:15:04Z</dc:date>
  <entry>
    <title>RE: [SOLVED] Passing User Name and Password to an IFrame</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=47390085" />
    <author>
      <name>chandan B</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=47390085</id>
    <updated>2015-01-07T09:47:46Z</updated>
    <published>2015-01-07T09:47:46Z</published>
    <summary type="html">Thanks, Its working correctly now. &lt;img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif" &gt;</summary>
    <dc:creator>chandan B</dc:creator>
    <dc:date>2015-01-07T09:47:46Z</dc:date>
  </entry>
  <entry>
    <title>RE: [SOLVED] Passing User Name and Password to an IFrame</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=45159932" />
    <author>
      <name>michael hamlett</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=45159932</id>
    <updated>2014-11-11T14:47:43Z</updated>
    <published>2014-11-11T14:47:43Z</published>
    <summary type="html">I am on Liferay 6.2&lt;br /&gt;using IFRAME and passing Form Variables&lt;br /&gt;@screen_name@ works&lt;br /&gt;@user_id@ does not work&lt;br /&gt;@email_address@ does not work&lt;br /&gt;&lt;br /&gt;in authentication type i put FORM&lt;br /&gt;in form method i put POST&lt;br /&gt;in field name i use Username&lt;br /&gt;in Value i put @screen_name@&lt;br /&gt;this method works&lt;br /&gt;&lt;br /&gt;if you use Value of anything else all you get when you retrieve the form variable is the text you put in the VALUE column&lt;br /&gt;&lt;br /&gt;Liferay you need to fix this</summary>
    <dc:creator>michael hamlett</dc:creator>
    <dc:date>2014-11-11T14:47:43Z</dc:date>
  </entry>
  <entry>
    <title>RE: Passing User Name and Password to an IFrame</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=44894527" />
    <author>
      <name>chandan B</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=44894527</id>
    <updated>2014-11-05T07:52:59Z</updated>
    <published>2014-11-05T07:52:59Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Alexandre Sarrazin:&lt;/div&gt;&lt;blockquote&gt;It work &lt;img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif" &gt; Thanks all&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How did it Work for you? Please give me the complete solution. I&amp;#39;m currently working on the Iframe. I&amp;#39;m using Liferay portal 6.2 CE.&lt;br /&gt;Should I change in the Portal-ext.properties.</summary>
    <dc:creator>chandan B</dc:creator>
    <dc:date>2014-11-05T07:52:59Z</dc:date>
  </entry>
  <entry>
    <title>RE: Passing User Name and Password to an IFrame</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=32716362" />
    <author>
      <name>Ilove Liferay</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=32716362</id>
    <updated>2013-12-26T04:02:55Z</updated>
    <published>2013-12-26T04:02:55Z</published>
    <summary type="html">I am trying to add an iFrame to a portlet, but I need to pass the user roles that the Liferay user has to the page that I am embedding with the iFrame.  Is there a way to do this?&lt;br /&gt;&lt;br /&gt;Thank you!</summary>
    <dc:creator>Ilove Liferay</dc:creator>
    <dc:date>2013-12-26T04:02:55Z</dc:date>
  </entry>
  <entry>
    <title>RE: Passing User Name and Password to an IFrame</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=25633112" />
    <author>
      <name>Justin Jiang</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=25633112</id>
    <updated>2013-06-14T03:53:23Z</updated>
    <published>2013-06-14T03:53:23Z</published>
    <summary type="html">please ensure you didn&amp;#39;t enable the CAS authentication.</summary>
    <dc:creator>Justin Jiang</dc:creator>
    <dc:date>2013-06-14T03:53:23Z</dc:date>
  </entry>
  <entry>
    <title>RE: Passing User Name and Password to an IFrame</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13224472" />
    <author>
      <name>sam liu</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13224472</id>
    <updated>2012-03-29T09:43:47Z</updated>
    <published>2012-03-29T09:43:47Z</published>
    <summary type="html">can you tell me how you wrote your html code?&lt;br /&gt;i tried everything i knew but still cant work...</summary>
    <dc:creator>sam liu</dc:creator>
    <dc:date>2012-03-29T09:43:47Z</dc:date>
  </entry>
  <entry>
    <title>RE: Passing User Name and Password to an IFrame</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=12714928" />
    <author>
      <name>Mohamed Rizwanuzaman</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=12714928</id>
    <updated>2012-02-27T12:11:26Z</updated>
    <published>2012-02-27T12:11:26Z</published>
    <summary type="html">What exactly i am looking for. Thanks..Its working. One quick update. If we enable session storing the password any secuirty issue will be there?</summary>
    <dc:creator>Mohamed Rizwanuzaman</dc:creator>
    <dc:date>2012-02-27T12:11:26Z</dc:date>
  </entry>
  <entry>
    <title>RE: Passing User Name and Password to an IFrame</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=12291436" />
    <author>
      <name>Alexandre Sarrazin</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=12291436</id>
    <updated>2012-01-31T08:21:42Z</updated>
    <published>2012-01-31T08:21:42Z</published>
    <summary type="html">It work &lt;img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif" &gt; Thanks all</summary>
    <dc:creator>Alexandre Sarrazin</dc:creator>
    <dc:date>2012-01-31T08:21:42Z</dc:date>
  </entry>
  <entry>
    <title>RE: Passing User Name and Password to an IFrame</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=12280985" />
    <author>
      <name>Alexandre Sarrazin</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=12280985</id>
    <updated>2012-01-30T15:21:35Z</updated>
    <published>2012-01-30T15:21:35Z</published>
    <summary type="html">The setting is active in ControlPanel but it doesn&amp;#39;t work , i don&amp;#39;t understand why.&lt;br /&gt;&lt;br /&gt;My portal-ext.properties :&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;session.shared.attributes=org.apache.struts.action.LOCALE,COMPANY_,USER_,LIFERAY_SHARED_,USER_PASSWORD&lt;br /&gt;session.shared.attributes.excludes=&lt;br /&gt;session.store.password=true&lt;br /&gt;session.test.cookie.support=true&lt;br /&gt;session.enable.phishing.protection=false&lt;/strong&gt;</summary>
    <dc:creator>Alexandre Sarrazin</dc:creator>
    <dc:date>2012-01-30T15:21:35Z</dc:date>
  </entry>
  <entry>
    <title>RE: Passing User Name and Password to an IFrame</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=12280891" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=12280891</id>
    <updated>2012-01-30T15:05:13Z</updated>
    <published>2012-01-30T15:05:13Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Alexandre Sarrazin:&lt;/div&gt;&lt;blockquote&gt;So, if i&amp;#39;m good understand , for use @password@ , it&amp;#39;s enough to put &amp;#34;session.store.password=true&amp;#34; ?&lt;br /&gt;because it doesn&amp;#39;t work.... &lt;img alt="emoticon" src="@theme_images_path@/emoticons/sad.gif" &gt;&lt;/blockquote&gt;&lt;br /&gt;Make sure you created portal-ext.properties, not portal-ext.properties.txt if you&amp;#39;re on windows and hide your file extensions by default.&lt;br /&gt;&lt;br /&gt;You can check if the setting is active by checking it in ControlPanel under &amp;#34;Server/ServerAdministration/portal properties&amp;#34;.</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2012-01-30T15:05:13Z</dc:date>
  </entry>
  <entry>
    <title>RE: Passing User Name and Password to an IFrame</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=12280525" />
    <author>
      <name>Alexandre Sarrazin</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=12280525</id>
    <updated>2012-01-30T14:11:53Z</updated>
    <published>2012-01-30T14:11:53Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Olaf Kock:&lt;/div&gt;&lt;blockquote&gt;&lt;div class="quote-title"&gt;Alexandre Sarrazin:&lt;/div&gt;&lt;blockquote&gt;I don&amp;#39;t find my file &amp;#34;portal-ext.properties&amp;#34; where is it ?&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/configuring-liferay-s-properties"&gt;https://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/configuring-liferay-s-properties&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And you&amp;#39;ll have to restart Liferay in order to pick up these changes&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So, if i&amp;#39;m good understand , for use @password@ , it&amp;#39;s enough to put &amp;#34;session.store.password=true&amp;#34; ?&lt;br /&gt;beacause it doesn&amp;#39;t work.... &lt;img alt="emoticon" src="@theme_images_path@/emoticons/sad.gif" &gt;</summary>
    <dc:creator>Alexandre Sarrazin</dc:creator>
    <dc:date>2012-01-30T14:11:53Z</dc:date>
  </entry>
  <entry>
    <title>RE: Passing User Name and Password to an IFrame</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=12280425" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=12280425</id>
    <updated>2012-01-30T14:03:42Z</updated>
    <published>2012-01-30T14:03:42Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Alexandre Sarrazin:&lt;/div&gt;&lt;blockquote&gt;I don&amp;#39;t find my file &amp;#34;portal-ext.properties&amp;#34; where is it ?&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/configuring-liferay-s-properties"&gt;https://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/configuring-liferay-s-properties&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And you&amp;#39;ll have to restart Liferay in order to pick up these changes</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2012-01-30T14:03:42Z</dc:date>
  </entry>
  <entry>
    <title>RE: Passing User Name and Password to an IFrame</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=12280410" />
    <author>
      <name>Alexandre Sarrazin</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=12280410</id>
    <updated>2012-01-30T14:01:27Z</updated>
    <published>2012-01-30T14:01:27Z</published>
    <summary type="html">Ok, i&amp;#39;ve my portal-ext.properties , and after i write just this : &lt;br /&gt;&lt;br /&gt;session.store.password=true &lt;br /&gt;&lt;br /&gt;And after ? &lt;img alt="emoticon" src="@theme_images_path@/emoticons/blush.gif" &gt;</summary>
    <dc:creator>Alexandre Sarrazin</dc:creator>
    <dc:date>2012-01-30T14:01:27Z</dc:date>
  </entry>
  <entry>
    <title>RE: Passing User Name and Password to an IFrame</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=12279304" />
    <author>
      <name>Hitoshi Ozawa</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=12279304</id>
    <updated>2012-01-30T13:50:33Z</updated>
    <published>2012-01-30T13:50:33Z</published>
    <summary type="html">&lt;blockquote&gt;I don&amp;#39;t find my file &amp;#34;portal-ext.properties&amp;#34; where is it ? &lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;You have to create it under \ROOT\WEB-INF\classes&lt;br /&gt;Try googling around because it&amp;#39;s been written in books, wiki, and serveral forum posts already.</summary>
    <dc:creator>Hitoshi Ozawa</dc:creator>
    <dc:date>2012-01-30T13:50:33Z</dc:date>
  </entry>
  <entry>
    <title>RE: Passing User Name and Password to an IFrame</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=12279156" />
    <author>
      <name>Alexandre Sarrazin</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=12279156</id>
    <updated>2012-01-30T13:44:25Z</updated>
    <published>2012-01-30T13:44:25Z</published>
    <summary type="html">I don&amp;#39;t find my file &amp;#34;portal-ext.properties&amp;#34; where is it ?</summary>
    <dc:creator>Alexandre Sarrazin</dc:creator>
    <dc:date>2012-01-30T13:44:25Z</dc:date>
  </entry>
  <entry>
    <title>RE: Passing User Name and Password to an IFrame</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=7341614" />
    <author>
      <name>James Falkner</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=7341614</id>
    <updated>2011-01-31T19:56:32Z</updated>
    <published>2011-01-31T19:56:32Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Patrice Laramee:&lt;/div&gt;&lt;blockquote&gt;&lt;div class="quote-title"&gt;Jason Morton:&lt;/div&gt;&lt;blockquote&gt;I am having a similar issue.  I am in an iFrame, using form auth, method POST.  I am getting the username but the password is coming up blank.  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;field name: username value: @email_address@&lt;br /&gt;field name: password value: @password@&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;result:&lt;br /&gt;&lt;br /&gt;username: test@liferay.com&lt;br /&gt;password:&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;I experience the same issue. Anyone filled a bug report or it&amp;#39;s a known bug/security feature?&lt;br /&gt;&lt;br /&gt;Thanks&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;I too noticed this.  It&amp;#39;s because the &amp;#34;password&amp;#34; field is filled in from session data, and so you have to enable the password to be stored in the session before this field will be correctly filled in.  &lt;br /&gt;&lt;br /&gt;So set &lt;span style="font-family: Courier New"&gt;session.store.password=true&lt;/span&gt; in your &lt;span style="font-family: Courier New"&gt;portal-ext.properties&lt;/span&gt;.</summary>
    <dc:creator>James Falkner</dc:creator>
    <dc:date>2011-01-31T19:56:32Z</dc:date>
  </entry>
  <entry>
    <title>RE: Passing User Name and Password to an IFrame</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=7340580" />
    <author>
      <name>Patrice Laramee</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=7340580</id>
    <updated>2011-01-31T19:33:19Z</updated>
    <published>2011-01-31T19:33:19Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Jason Morton:&lt;/div&gt;&lt;blockquote&gt;I am having a similar issue.  I am in an iFrame, using form auth, method POST.  I am getting the username but the password is coming up blank.  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;field name: username value: @email_address@&lt;br /&gt;field name: password value: @password@&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;result:&lt;br /&gt;&lt;br /&gt;username: test@liferay.com&lt;br /&gt;password:&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;I experience the same issue. Anyone filled a bug report or it&amp;#39;s a known bug/security feature?&lt;br /&gt;&lt;br /&gt;Thanks</summary>
    <dc:creator>Patrice Laramee</dc:creator>
    <dc:date>2011-01-31T19:33:19Z</dc:date>
  </entry>
  <entry>
    <title>RE: Passing User Name and Password to an IFrame</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=5599079" />
    <author>
      <name>Jason Morton</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=5599079</id>
    <updated>2010-08-18T14:09:30Z</updated>
    <published>2010-08-18T14:09:30Z</published>
    <summary type="html">I am having a similar issue.  I am in an iFrame, using form auth, method POST.  I am getting the username but the password is coming up blank.  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;field name: username value: @email_address@&lt;br /&gt;field name: password value: @password@&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;result:&lt;br /&gt;&lt;br /&gt;username: test@liferay.com&lt;br /&gt;password:</summary>
    <dc:creator>Jason Morton</dc:creator>
    <dc:date>2010-08-18T14:09:30Z</dc:date>
  </entry>
  <entry>
    <title>RE: Passing User Name and Password to an IFrame</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4400971" />
    <author>
      <name>Branden Boucher</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4400971</id>
    <updated>2009-12-23T16:43:45Z</updated>
    <published>2009-12-23T16:43:45Z</published>
    <summary type="html">I know that there are some other threads on some of these issues but I have not found my answers yet. Anyone else out there in the same boat?</summary>
    <dc:creator>Branden Boucher</dc:creator>
    <dc:date>2009-12-23T16:43:45Z</dc:date>
  </entry>
  <entry>
    <title>[SOLVED] Passing User Name and Password to an IFrame</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4382214" />
    <author>
      <name>Branden Boucher</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4382214</id>
    <updated>2009-12-16T19:00:19Z</updated>
    <published>2009-12-16T19:00:19Z</published>
    <summary type="html">I have been researching how to pass the user name and password to an IFrame and I noticed three issues.&lt;br /&gt;&lt;br /&gt;First, if there are multiple IFrames on one page and one of them is switched to use Form authentication, the other IFrames on the page are also affected and they all try to show the same page. Is there a fix for this?&lt;br /&gt;&lt;br /&gt;Second, even when you are just testing and only have one IFrame on the page that is switched to use basic authentication, you have to hard code in the login. If you switch to Form type authentication, there is no way to pass in the user name and password (or even just the user name) that was used by the user when he/she logged in to liferay. I did notice an updated proxy.jsp had been created and I tried using that, but it did not work. And that is where the Third issue comes in.&lt;br /&gt;&lt;br /&gt;Third, when I tried to use the updated proxy.jsp file and it didn&amp;#39;t work, I backed up the file and tried modifying it to throw in some test code. I then noticed when I tried to revert back to the backup file, the debug info still showed up. I later found the code modifications I had made inside of a proxy_jsp.class file. I am really worried that if I tried to make more changes, I will not be able to revert back to a backup. Can someone explain what is going on here?&lt;br /&gt;&lt;br /&gt;Please help me on these issues as they are stopping us from continuing on with some intended projects for Liferay.</summary>
    <dc:creator>Branden Boucher</dc:creator>
    <dc:date>2009-12-16T19:00:19Z</dc:date>
  </entry>
</feed>
