You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can augment a projection with a new association, if the required fields for the on condition are present in the remote service. The use of managed associations isn't possible, because this requires to create new fields in the remote service.
756
756
<!--Does it matter if it's managed or unmanaged? In other section we say, that you shouldn't make it a managed assoc b/c that would lead to runtime errors. -->
@@ -864,7 +864,7 @@ Otherwise, you need to select the source item using that `where` block and take
864
864
[See an example how to handle navigations in Java.](https://github.com/SAP-samples/cloud-cap-risk-management/blob/ext-service-s4hc-suppliers-ui-java/srv/src/main/java/com/sap/cap/riskmanagement/handler/RiskServiceHandler.java){.learn-more .java}
865
865
866
866
### Limitations and Feature Matrix
867
-
#### Required Implementations for Mashups
867
+
#### Required Implementations for Mashups
868
868
869
869
You need additional logic, if remote entities are in the game. The following table shows what is required. "Local" is a database entity or a projection on a database entity.
870
870
@@ -1027,7 +1027,7 @@ cds:
1027
1027
:::
1028
1028
[Learn more about configuring destinations for Java.](../../java/cqn-services/remote-services){.learn-more}
1029
1029
1030
-
#### Use Application Defined Destinations
1030
+
#### Use Application Defined Destinations
1031
1031
1032
1032
If you don't want to use SAP BTP destinations, you can also define destinations, which means the URL, authentication type, and additional configuration properties, in your application configuration or code.
1033
1033
@@ -1064,9 +1064,9 @@ This is an example of a destination using basic authentication:
1064
1064
}
1065
1065
```
1066
1066
1067
-
[Learn more about providing project configuration values.](./../../node.js/cds-env#project-specific-configurations){.learn-more}
1067
+
[Learn more about providing project configuration values.](./../../node.js/cds-env#project-specific-configurations){.learn-more}
1068
1068
1069
-
[See all the supported destination properties.](#destination-properties){.learn-more}
1069
+
[See all the supported destination properties.](#destination-properties){.learn-more}
1070
1070
1071
1071
::: warning Warning: You should not put any sensitive information here!
1072
1072
@@ -1133,7 +1133,7 @@ For the _configuration path_, you **must** use the underscore ("`_`") character
1133
1133
1134
1134
There is no API to create a destination in Node.js programmatically. However, you can change the properties of a remote service before connecting to it, as shown in the previous example.
1135
1135
1136
-
##### Configure Application Defined Destinations in Java
1136
+
##### Configure Application Defined Destinations in Java
1137
1137
1138
1138
Destinations are configured in Spring Boot's _application.yaml_ file.
1139
1139
@@ -1239,7 +1239,7 @@ cds watch --profile hybrid
1239
1239
If you are developing in the Business Application Studio and want to connect to an on-premise system, you will need to do so via Business Application Studio's built-in proxy, for which you need to add configuration in an `.env` file. See [Connecting to External Systems From the Business Application Studio](https://sap.github.io/cloud-sdk/docs/js/guides/bas) for more details.
1240
1240
:::
1241
1241
1242
-
#### Run a Java Application with a Destination
1242
+
#### Run a Java Application with a Destination
1243
1243
1244
1244
Add a new profile `hybrid` to your _application.yaml_ file that configures the destination for the remote service.
Copy file name to clipboardExpand all lines: node.js/authentication.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -361,7 +361,7 @@ Please see [`@sap/xssec` documentation](https://www.npmjs.com/package/@sap/xssec
361
361
362
362
#### XSUAA Fallback
363
363
364
-
To ease your migration from XSUAA-based to IAS-based authentication, the `ias` strategy automatically supports tokens issued by XSUAA when you provide the necessary credentials at `cds.env.requires.xsuaa.credentials`.
364
+
To ease your migration from XSUAA-based to IAS-based authentication, the `ias` strategy automatically supports tokens issued by XSUAA when you provide the necessary credentials at `cds.env.requires.xsuaa.credentials`.
365
365
366
366
For standard bindings, add `xsuaa` to the list of required services as follows:
367
367
@@ -477,11 +477,11 @@ The following steps assume you've set up the [**Cloud Foundry Command Line Inter
477
477
If you don't know the API endpoint, refer to [Regions and API Endpoints Available for the Cloud Foundry Environment](https://help.sap.com/products/BTP/65de2977205c403bbc107264b8eccf4b/350356d1dc314d3199dca15bd2ab9b0e.html#loiof344a57233d34199b2123b9620d0bb41).
478
478
479
479
2. Go to the project you have created in [Getting started in a Nutshell](../get-started/bookshop).
480
-
480
+
481
481
#### Configure the Application
482
482
483
483
1. Configure your app for XSUAA-based authentication if not done yet:
484
-
484
+
485
485
```sh
486
486
cds add xsuaa --for hybrid
487
487
```
@@ -602,7 +602,7 @@ The resulting JWT token is sent to the application where it's used to enforce au
602
602
3. In your project folder run:
603
603
604
604
::: code-group
605
-
```sh [Mac/Linux]
605
+
```sh [macOS/Linux]
606
606
cds bind --exec -- npm start --prefix app/router
607
607
```
608
608
```cmd [Windows]
@@ -691,7 +691,7 @@ The login fails pointing to the correct OAuth configuration URL that is expected
691
691
cds add ams
692
692
npm install
693
693
```
694
-
694
+
695
695
This command installs `ams` and `ias` plugins, adds the required dependencies to `package.json` and updates `mta.yaml`.
696
696
697
697
Learn more about [**Adding AMS Support**](../guides/security/cap-users#adding-ams-support) and [**Adding IAS**](../guides/security/authentication#adding-ias).{.learn-more}
@@ -741,13 +741,13 @@ The login fails pointing to the correct OAuth configuration URL that is expected
741
741
```
742
742
743
743
#### Deploy the Application
744
-
744
+
745
745
1. Log in to Cloud Foundry:
746
746
```sh
747
747
cf l -a <api-endpoint>
748
748
```
749
749
If you don't know the API endpoint, refer to [Regions and API Endpoints Available for the Cloud Foundry Environment](https://help.sap.com/products/BTP/65de2977205c403bbc107264b8eccf4b/350356d1dc314d3199dca15bd2ab9b0e.html#loiof344a57233d34199b2123b9620d0bb41).
750
-
750
+
751
751
2. Pack and deploy the application:
752
752
753
753
```sh
@@ -757,13 +757,13 @@ The login fails pointing to the correct OAuth configuration URL that is expected
757
757
#### Assign Policies in the Administrative Console
758
758
759
759
1. Log in to your Administrative Console for IAS and go to `Applications & Resources`.
760
-
760
+
761
761
[Learn more about the Administrative Console for IAS.](/@external/guides/security/authentication#ias-admin){.learn-more}
762
762
763
763
2. Assign policies to IAS users or create custom policies, see [Cloud Deployment](../guides/security/cap-users#ams-deployment).
764
764
765
765
#### Start Hybrid Testing
766
-
766
+
767
767
1. Bind your local application to the Identity Service Instance:
768
768
769
769
```sh
@@ -798,7 +798,7 @@ The login fails pointing to the correct OAuth configuration URL that is expected
0 commit comments