<?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>liferay 6.2 GA5 Curl https url getting exception":"java.lang.SecurityExcept</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119618867" />
  <subtitle>liferay 6.2 GA5 Curl https url getting exception":"java.lang.SecurityExcept</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119618867</id>
  <updated>2026-04-04T00:47:42Z</updated>
  <dc:date>2026-04-04T00:47:42Z</dc:date>
  <entry>
    <title>RE: liferay 6.2 GA5 Curl https url getting exception":"java.lang.SecurityEx</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119629065" />
    <author>
      <name>Krzysztof Gołębiowski</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119629065</id>
    <updated>2020-07-22T08:09:29Z</updated>
    <published>2020-07-22T08:09:29Z</published>
    <summary type="html">Usually, for CAS you use &lt;em&gt;screenName&lt;/em&gt; instead of an email address. If I&amp;#39;m not mistaken, setting &lt;em&gt;screenName&lt;/em&gt; as default authentication method in the portal affects also the way you authenticate against JSONWS. That&amp;#39;s my guess, try using &lt;em&gt;screenName&lt;/em&gt; instead of email.</summary>
    <dc:creator>Krzysztof Gołębiowski</dc:creator>
    <dc:date>2020-07-22T08:09:29Z</dc:date>
  </entry>
  <entry>
    <title>liferay 6.2 GA5 Curl https url getting exception":"java.lang.SecurityExcept</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119618866" />
    <author>
      <name>srini vasulu</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119618866</id>
    <updated>2020-07-21T16:11:10Z</updated>
    <published>2020-07-21T16:11:10Z</published>
    <summary type="html">Hi ,&lt;br /&gt;In liferay 6.2 GA5 i am using the curl to get the remote calls and getting the authentication exception.&lt;br /&gt;passing like below&lt;br /&gt;&lt;br /&gt;C:\curl-7.71.1-win64-mingw\bin&amp;gt;curl https://something.net/api/jsonws/user/get-user-by-email-address -u test@liferay:test -d companyId=10153 -d emailAddress=&amp;#39;test@liferay.com&amp;#39;&lt;br /&gt;&lt;br /&gt;here we are using the CAS to login &lt;br /&gt;&lt;br /&gt;getting below message&lt;br /&gt;&lt;br /&gt;{&amp;#34;message&amp;#34;:&amp;#34;Authenticated access required&amp;#34;,&amp;#34;exception&amp;#34;:&amp;#34;java.lang.SecurityException&amp;#34;}&lt;br /&gt;Please let me know what&amp;#39;s the mistake here?&lt;br /&gt;Thanks,&lt;br /&gt;Srini</summary>
    <dc:creator>srini vasulu</dc:creator>
    <dc:date>2020-07-21T16:11:10Z</dc:date>
  </entry>
</feed>
