<?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>Access Rest API without Authentication</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=117830888" />
  <subtitle>Access Rest API without Authentication</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=117830888</id>
  <updated>2026-04-04T01:02:19Z</updated>
  <dc:date>2026-04-04T01:02:19Z</dc:date>
  <entry>
    <title>RE: Access Rest API without Authentication</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117831698" />
    <author>
      <name>Gohel Manoj</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117831698</id>
    <updated>2019-11-20T12:03:30Z</updated>
    <published>2019-11-20T12:03:30Z</published>
    <summary type="html">I got a solution for that refer below link&lt;a href="https://portal.liferay.dev/docs/7-2/deploy/-/knowledge_base/d/service-access-policies#managing-service-access-policies"&gt;&lt;br /&gt;&lt;br /&gt;https://portal.liferay.dev/docs/7-2/deploy/-/knowledge_base/d/service-access-policies#managing-service-access-policies&lt;/a&gt;</summary>
    <dc:creator>Gohel Manoj</dc:creator>
    <dc:date>2019-11-20T12:03:30Z</dc:date>
  </entry>
  <entry>
    <title>Access Rest API without Authentication</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117830887" />
    <author>
      <name>Gohel Manoj</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117830887</id>
    <updated>2019-11-20T09:56:44Z</updated>
    <published>2019-11-20T09:56:44Z</published>
    <summary type="html">Hi,&lt;br /&gt;I create one sample rest service using &lt;a href="http://www.javasavvy.com/liferay-7-rest-webservices-tutorial/"&gt;this link&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Problem is when I access this API via postman or any other rest-client without basic auth it gives below error.&lt;br /&gt;&lt;br /&gt; &amp;lt;?xml version=&amp;#34;1.0&amp;#34; encoding=&amp;#34;UTF-8&amp;#34; standalone=&amp;#34;yes&amp;#34;?&amp;gt;&amp;lt;Forbidden&amp;gt;&amp;lt;message&amp;gt;Access denied to org.javasavvy.leave.rest.application.LeaveRestControllerApplication#morning&amp;lt;/message&amp;gt;&amp;lt;/Forbidden&amp;gt;&lt;br /&gt;&lt;br /&gt;But if I add basic auth, then it works properly.So how we can access this API without basic auth.?LR Version : liferay-ce-portal-7.2.0-ga1&lt;br /&gt;Appreciate your help!&lt;br /&gt;Thanks in advance ..!!</summary>
    <dc:creator>Gohel Manoj</dc:creator>
    <dc:date>2019-11-20T09:56:44Z</dc:date>
  </entry>
</feed>
