on 02-24-2023 9:07 AM
I am referring to URL:
https://cap.cloud.sap/docs/java/getting-started
Please get back to me on the following feedback:
Why does it request a user/password in the sample project
Thanks in advance
Saludos
Raquel
The reason for that is the secure by default principle. If security is configured (e.g. Spring security via cds-starter-cloudfoundry), all endpoints are authenticated. In case of mock configuration (no xsuaa or identity binding), the Java runtime automatically creates default mock users you can use.
In development scenarop you can also configure authentication to a more relaxed mode, e.g. only endpoints with authorizations (@restriction, @requires) are authenticated. See details here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
8 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.