<?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>Basic Authentication using email and password of logged in user</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120493730" />
  <subtitle>Basic Authentication using email and password of logged in user</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120493730</id>
  <updated>2026-06-07T17:16:23Z</updated>
  <dc:date>2026-06-07T17:16:23Z</dc:date>
  <entry>
    <title>RE: Basic Authentication using email and password of logged in user</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120492573" />
    <author>
      <name>Mohammed Yasin</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120492573</id>
    <updated>2020-12-09T06:29:01Z</updated>
    <published>2020-12-09T06:29:01Z</published>
    <summary type="html">&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Basic Authentication Base64 encoded credentials - Needs to be formed
  using username and password  as below,&lt;/p&gt;
&lt;p&gt;In Header you can pass below values &lt;br /&gt;Name - Authorization&lt;/p&gt;
&lt;p&gt;Value -  Basic Base64(username:password)&lt;/p&gt;
&lt;p&gt;You can refer below &lt;/p&gt;
&lt;p&gt;
  &lt;a href="https://www.baeldung.com/httpclient-4-basic-authentication"&gt;https://www.baeldung.com/httpclient-4-basic-authentication&lt;/a&gt;&lt;/p&gt;</summary>
    <dc:creator>Mohammed Yasin</dc:creator>
    <dc:date>2020-12-09T06:29:01Z</dc:date>
  </entry>
  <entry>
    <title>Basic Authentication using email and password of logged in user</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120493729" />
    <author>
      <name>Upender Kashyap</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120493729</id>
    <updated>2020-12-09T18:36:16Z</updated>
    <published>2020-12-08T04:45:48Z</published>
    <summary type="html">&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am trying to call Liferay commerce API which requires Basic
  Authentication. If I hardcode email password it works well, but I want
  to access Basic Authentication Base64 encoded credentials. Can anyone
  please let me know how can I access these in liferay.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</summary>
    <dc:creator>Upender Kashyap</dc:creator>
    <dc:date>2020-12-08T04:45:48Z</dc:date>
  </entry>
</feed>
