<?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>Portlet- or HttpServletRequest in DDMStorageAdapter.save(...)</title>
  <link rel="self" href="https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121519053" />
  <subtitle>Portlet- or HttpServletRequest in DDMStorageAdapter.save(...)</subtitle>
  <id>https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121519053</id>
  <updated>2026-10-15T09:46:51Z</updated>
  <dc:date>2026-10-15T09:46:51Z</dc:date>
  <entry>
    <title>RE: Portlet- or HttpServletRequest in DDMStorageAdapter.save(...)</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121522177" />
    <author>
      <name>Thorsten Ludewig</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121522177</id>
    <updated>2022-09-23T15:41:25Z</updated>
    <published>2022-09-23T06:46:11Z</published>
    <summary type="html">&lt;p&gt;Hi Olaf,&lt;/p&gt;
&lt;p&gt;thank you for your answer. I've written my own CVS and Jira storage
  adapter as backend for forms. It would be nice to have the client ip
  included into the stored data. Maybe i could solve this problem via a
  custom form field.&lt;/p&gt;
&lt;p&gt;Ciao&lt;/p&gt;
&lt;p&gt;Thorsten&lt;/p&gt;
&lt;p&gt;PS: I'm sorry i am not at the next CampusSource event. &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Thorsten Ludewig</dc:creator>
    <dc:date>2022-09-23T06:46:11Z</dc:date>
  </entry>
  <entry>
    <title>RE: Portlet- or HttpServletRequest in DDMStorageAdapter.save(...)</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121520072" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121520072</id>
    <updated>2022-09-20T15:11:42Z</updated>
    <published>2022-09-20T08:22:58Z</published>
    <summary type="html">&lt;p&gt;I don't think so - at least not every time: These APIs might as well
  be executed during batch execution, a timer, or other programmatic
  ways (e.g. in a Workflow), e.g. at times when there is no actual
  request - neither a Http- nor a Portlet-Request.&lt;/p&gt;
&lt;p&gt;What's the problem you're trying to solve with that? If it's
  permission-related (e.g. only a certain IP-range can execute a certain
  function when logged in), I'd rather go with a
  &amp;quot;RoleContributor&amp;quot;, which sets permissions programmatically.
  And then you can tie the permission for an operation to a role, which
  is granted or revoked based on the client's IP address.&lt;/p&gt;</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2022-09-20T08:22:58Z</dc:date>
  </entry>
  <entry>
    <title>Portlet- or HttpServletRequest in DDMStorageAdapter.save(...)</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121519052" />
    <author>
      <name>Thorsten Ludewig</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121519052</id>
    <updated>2022-09-19T16:25:11Z</updated>
    <published>2022-09-19T15:29:03Z</published>
    <summary type="html">&lt;p&gt;Is it possible to get access to the Portlet- or HttpServletRequest in
  a DDMStorageAdapter.save(...) method?  I need the browser-client IP-address.&lt;/p&gt;
&lt;p&gt;Ciao&lt;/p&gt;
&lt;p&gt;Thorsten&lt;/p&gt;</summary>
    <dc:creator>Thorsten Ludewig</dc:creator>
    <dc:date>2022-09-19T15:29:03Z</dc:date>
  </entry>
</feed>
