<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Seeking Advice on Custom Authentication for CAPM Serv... in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/seeking-advice-on-custom-authentication-for-capm-services-with-hana-cloud/qaa-p/13913597#M4889099</link>
    <description>Hi Rahul, Security is embedded in the CAP framework. Running 'cds add xsuaa' will do the trick. To read more about it, I suggest the CAP documentation here: &lt;A href="https://cap.cloud.sap/docs/guides/security/" target="_blank"&gt;https://cap.cloud.sap/docs/guides/security/&lt;/A&gt;</description>
    <pubDate>Mon, 21 Oct 2024 08:43:20 GMT</pubDate>
    <dc:creator>Willem_Pardaens</dc:creator>
    <dc:date>2024-10-21T08:43:20Z</dc:date>
    <item>
      <title>Seeking Advice on Custom Authentication for CAPM Services with HANA Cloud Database</title>
      <link>https://community.sap.com/t5/technology-q-a/seeking-advice-on-custom-authentication-for-capm-services-with-hana-cloud/qaq-p/13759967</link>
      <description>&lt;P&gt;Good day to everyone,&lt;/P&gt;&lt;P&gt;I'm new to the CAPM world and have recently started learning its concepts. We've developed CAP services and now need to secure them by implementing authorization and authentication.&lt;/P&gt;&lt;P&gt;SAP provides XSUAA, which ensures that only authorized users can access endpoints by establishing a trusted connection with identity providers for user authentication. This concept works well from SAP's perspective.&lt;/P&gt;&lt;P&gt;However, in our scenario, we have developed CAPM services that are bound to a HANA Cloud Database (HDI Containers). Our database/schema contains a users table (ID, Name, Username, Password). We want to implement a system where authorization and authentication occur only if the user exists in our user table.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rahuljain257_0-1720898754410.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/136309i6EAD6FB85BEE0FC8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rahuljain257_0-1720898754410.png" alt="rahuljain257_0-1720898754410.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Instead of authenticating users against identity providers, I want to validate users against the records in our tables and generate a token if the records exist.&lt;/P&gt;&lt;P&gt;Is this approach correct? In ASP.NET Web API, we usually follow this practice.&lt;/P&gt;&lt;P&gt;Looking forward to your suggestions.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Rahul Jain&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jul 2024 19:35:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/seeking-advice-on-custom-authentication-for-capm-services-with-hana-cloud/qaq-p/13759967</guid>
      <dc:creator>rahuljain257</dc:creator>
      <dc:date>2024-07-13T19:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Seeking Advice on Custom Authentication for CAPM Serv...</title>
      <link>https://community.sap.com/t5/technology-q-a/seeking-advice-on-custom-authentication-for-capm-services-with-hana-cloud/qaa-p/13760564#M4836860</link>
      <description>&lt;P&gt;I would suggest to rethink this approach. The CAP framework relies on best practices for a lot of topics, including security. It uses BTP roles and HDI users to establish/govern access and connectivity to the service layer and database layer, and 'outsources' token handling to the XSUAA service.&lt;/P&gt;&lt;P&gt;If you want to use a custom list of users, I suggest to look at importing them to IAS so you can assign roles to them to access your application:&amp;nbsp;&lt;A href="https://help.sap.com/docs/cloud-identity-services/cloud-identity-services/import-or-update-users-for-specific-application" target="_blank"&gt;https://help.sap.com/docs/cloud-identity-services/cloud-identity-services/import-or-update-users-for-specific-application&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 07:12:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/seeking-advice-on-custom-authentication-for-capm-services-with-hana-cloud/qaa-p/13760564#M4836860</guid>
      <dc:creator>Willem_Pardaens</dc:creator>
      <dc:date>2024-07-15T07:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Seeking Advice on Custom Authentication for CAPM Serv...</title>
      <link>https://community.sap.com/t5/technology-q-a/seeking-advice-on-custom-authentication-for-capm-services-with-hana-cloud/qaa-p/13907311#M4888986</link>
      <description>William_Pardaens - I am new to BTP World and learning. Can you please let me know where should I start to integrate User Authentication in CAP ? ?</description>
      <pubDate>Sun, 20 Oct 2024 08:56:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/seeking-advice-on-custom-authentication-for-capm-services-with-hana-cloud/qaa-p/13907311#M4888986</guid>
      <dc:creator>rahuljain257</dc:creator>
      <dc:date>2024-10-20T08:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Seeking Advice on Custom Authentication for CAPM Serv...</title>
      <link>https://community.sap.com/t5/technology-q-a/seeking-advice-on-custom-authentication-for-capm-services-with-hana-cloud/qaa-p/13913597#M4889099</link>
      <description>Hi Rahul, Security is embedded in the CAP framework. Running 'cds add xsuaa' will do the trick. To read more about it, I suggest the CAP documentation here: &lt;A href="https://cap.cloud.sap/docs/guides/security/" target="_blank"&gt;https://cap.cloud.sap/docs/guides/security/&lt;/A&gt;</description>
      <pubDate>Mon, 21 Oct 2024 08:43:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/seeking-advice-on-custom-authentication-for-capm-services-with-hana-cloud/qaa-p/13913597#M4889099</guid>
      <dc:creator>Willem_Pardaens</dc:creator>
      <dc:date>2024-10-21T08:43:20Z</dc:date>
    </item>
  </channel>
</rss>

