Skip to content

Commit 7c176a7

Browse files
authored
fix SciAuthorizationsProvider name (#34)
1 parent a97a4a0 commit 7c176a7

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docs/Authorization/TechnicalCommunication.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ final ApiMapper principalPropagationApiMapper = ApiMapper.ofMap(PRINCIPAL_PROPAG
143143
### Mapping registration
144144
Finally, a bit of configuration is required to register the mapping functions, so that the correct policies apply when external requests are made against the API permission groups.
145145

146-
The mapping can be registered in `IdentityServiceAuthProvider` (Node.js) / `IdentityServiceAuthFactory` (Java) and its subclasses, such as `HybridAuthProvider` (Node.js) / `HybridAuthFactory` (Java).
146+
The mapping can be registered in `IdentityServiceAuthProvider` (Node.js) / `SciAuthorizationsProvider` (Java) and its subclasses, such as `HybridAuthProvider` (Node.js) / `HybridAuthorizationsProvider` (Java).
147147

148148
::: info
149149
These classes implement the special handling for the `principal-propagation` API permission group described [above](#authorization-via-api-permission-groups).
@@ -185,7 +185,7 @@ import static com.sap.cloud.security.ams.api.App2AppFlow.TECHNICAL_USER;
185185
public class AmsAuthProviderConfiguration {
186186

187187
@Autowired
188-
private IdentityServiceAuthProvider authProvider;
188+
private SciAuthorizationsProvider authProvider;
189189

190190
@PostConstruct
191191
public void configureAuthProvider() {
@@ -200,13 +200,13 @@ public class AmsAuthProviderConfiguration {
200200
```
201201

202202
```java [Java]
203-
import com.sap.cloud.security.ams.core.IdentityServiceAuthProvider;
203+
import com.sap.cloud.security.ams.core.SciAuthorizationsProvider;
204204

205205
import static com.sap.cloud.security.ams.api.App2AppFlow.RESTRICTED_PRINCIPAL_PROPAGATION;
206206
import static com.sap.cloud.security.ams.api.App2AppFlow.TECHNICAL_USER;
207207

208-
IdentityServiceAuthProvider authProvider =
209-
IdentityServiceAuthProvider.create(ams)
208+
SciAuthorizationsProvider authProvider =
209+
SciAuthorizationsProvider.create(ams)
210210
.withApiMapper(TECHNICAL_USER_API_MAPPER, TECHNICAL_USER)
211211
.withApiMapper(PRINCIPAL_PROPAGATION_API_MAPPER, RESTRICTED_PRINCIPAL_PROPAGATION);
212212
```

0 commit comments

Comments
 (0)