<?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>Very Simple JSON REST service in Liferay CE 7.1.2 GA3</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=113139202" />
  <subtitle>Very Simple JSON REST service in Liferay CE 7.1.2 GA3</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=113139202</id>
  <updated>2026-04-03T20:47:13Z</updated>
  <dc:date>2026-04-03T20:47:13Z</dc:date>
  <entry>
    <title>RE: Very Simple JSON REST service in Liferay CE 7.1.2 GA3</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113155339" />
    <author>
      <name>Dennis Schilakowski</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113155339</id>
    <updated>2019-04-11T14:55:24Z</updated>
    <published>2019-04-11T14:55:24Z</published>
    <summary type="html">Thanks you! It&amp;#39;s working fine.</summary>
    <dc:creator>Dennis Schilakowski</dc:creator>
    <dc:date>2019-04-11T14:55:24Z</dc:date>
  </entry>
  <entry>
    <title>RE: Very Simple JSON REST service in Liferay CE 7.1.2 GA3</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113141225" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113141225</id>
    <updated>2019-04-11T12:21:13Z</updated>
    <published>2019-04-11T12:21:13Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;You have two options:&lt;br&gt;-) Create a 7.0 rest service. It still works in 7.1&lt;br&gt;-) Add the necessary properties for anonymous access:&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;
@Component(
    property = {
        JaxrsWhiteboardConstants.JAX_RS_APPLICATION_BASE + "=/greetings",
        JaxrsWhiteboardConstants.JAX_RS_NAME + "=Greetings.Rest",
        "oauth2.scopechecker.type=none",
        "auth.verifier.guest.allowed=true",
    },
    service = Application.class
)
&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;https://community.liferay.com/de/forums/-/message_boards/message/112794830&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2019-04-11T12:21:13Z</dc:date>
  </entry>
  <entry>
    <title>Very Simple JSON REST service in Liferay CE 7.1.2 GA3</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113139201" />
    <author>
      <name>Dennis Schilakowski</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113139201</id>
    <updated>2019-04-11T12:05:40Z</updated>
    <published>2019-04-11T12:05:40Z</published>
    <summary type="html">Hello everybody,&lt;br /&gt;I would like to implement a really simple REST service which can be reached without authentication.&lt;br /&gt;Yes he should be public :-).&lt;br /&gt;&lt;br /&gt;The &amp;#34;rest&amp;#34; template from the Liferay IDE creates a JAX-RS which would be the right approach and my favorite, unfortunately I can not reach the service without authentication.&lt;br /&gt;&lt;br /&gt;Does anyone have an idea how I can deactivate the authentication for a certain context or it exists even an alternative to the JAX-RS?&lt;br /&gt;&lt;br /&gt;Many Greetings,&lt;br /&gt;Dennis</summary>
    <dc:creator>Dennis Schilakowski</dc:creator>
    <dc:date>2019-04-11T12:05:40Z</dc:date>
  </entry>
</feed>
