Class IdcsMtRoleMapperProvider.DefaultMultitenancyEndpoints
java.lang.Object
io.helidon.security.providers.idcs.mapper.IdcsMtRoleMapperProvider.DefaultMultitenancyEndpoints
- All Implemented Interfaces:
IdcsMtRoleMapperProvider.MultitenancyEndpoints
- Enclosing class:
IdcsMtRoleMapperProvider
protected static class IdcsMtRoleMapperProvider.DefaultMultitenancyEndpoints
extends Object
implements IdcsMtRoleMapperProvider.MultitenancyEndpoints
Default implementation of the
IdcsMtRoleMapperProvider.MultitenancyEndpoints
.
Caches the endpoints per tenant.-
Constructor Summary
ModifierConstructorDescriptionprotected
Creates endpoints from provided OIDC configuration using default URIs. -
Method Summary
Modifier and TypeMethodDescriptionassertEndpoint
(String tenantId) Asserter endpoint URI for a specific tenant.The tenant id of the infrastructure tenant.tokenEndpoint
(String tenantId) Token endpoint URI for a specific tenant.
-
Constructor Details
-
DefaultMultitenancyEndpoints
Creates endpoints from provided OIDC configuration using default URIs.
- For Asserter endpoint:
/admin/v1/Asserter
- For Token endpoint:
/oauth2/v1/token?IDCS_CLIENT_TENANT=
- Parameters:
config
- IDCS base configuration
- For Asserter endpoint:
-
-
Method Details
-
idcsInfraTenantId
Description copied from interface:IdcsMtRoleMapperProvider.MultitenancyEndpoints
The tenant id of the infrastructure tenant.- Specified by:
idcsInfraTenantId
in interfaceIdcsMtRoleMapperProvider.MultitenancyEndpoints
- Returns:
- id of the tenant
-
assertEndpoint
Description copied from interface:IdcsMtRoleMapperProvider.MultitenancyEndpoints
Asserter endpoint URI for a specific tenant.- Specified by:
assertEndpoint
in interfaceIdcsMtRoleMapperProvider.MultitenancyEndpoints
- Parameters:
tenantId
- id of tenant to get the endpoint for- Returns:
- URI for the tenant
-
tokenEndpoint
Description copied from interface:IdcsMtRoleMapperProvider.MultitenancyEndpoints
Token endpoint URI for a specific tenant.- Specified by:
tokenEndpoint
in interfaceIdcsMtRoleMapperProvider.MultitenancyEndpoints
- Parameters:
tenantId
- id of tenant to get the endpoint for- Returns:
- URI for the tenant
-