Class IdcsMtRoleMapperRxProvider.DefaultMultitenancyEndpoints
- java.lang.Object
-
- io.helidon.security.providers.idcs.mapper.IdcsMtRoleMapperRxProvider.DefaultMultitenancyEndpoints
-
- All Implemented Interfaces:
IdcsMtRoleMapperRxProvider.MultitenancyEndpoints
- Enclosing class:
- IdcsMtRoleMapperRxProvider
protected static class IdcsMtRoleMapperRxProvider.DefaultMultitenancyEndpoints extends Object implements IdcsMtRoleMapperRxProvider.MultitenancyEndpoints
Default implementation of theIdcsMtRoleMapperRxProvider.MultitenancyEndpoints
. Caches the endpoints per tenant.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DefaultMultitenancyEndpoints(OidcConfig config)
Creates endpoints from provided OIDC configuration using default URIs.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URI
assertEndpoint(String tenantId)
Asserter endpoint URI for a specific tenant.String
idcsInfraTenantId()
The tenant id of the infrastructure tenant.URI
tokenEndpoint(String tenantId)
Token endpoint URI for a specific tenant.
-
-
-
Constructor Detail
-
DefaultMultitenancyEndpoints
protected DefaultMultitenancyEndpoints(OidcConfig config)
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 Detail
-
idcsInfraTenantId
public String idcsInfraTenantId()
Description copied from interface:IdcsMtRoleMapperRxProvider.MultitenancyEndpoints
The tenant id of the infrastructure tenant.- Specified by:
idcsInfraTenantId
in interfaceIdcsMtRoleMapperRxProvider.MultitenancyEndpoints
- Returns:
- id of the tenant
-
assertEndpoint
public URI assertEndpoint(String tenantId)
Description copied from interface:IdcsMtRoleMapperRxProvider.MultitenancyEndpoints
Asserter endpoint URI for a specific tenant.- Specified by:
assertEndpoint
in interfaceIdcsMtRoleMapperRxProvider.MultitenancyEndpoints
- Parameters:
tenantId
- id of tenant to get the endpoint for- Returns:
- URI for the tenant
-
tokenEndpoint
public URI tokenEndpoint(String tenantId)
Description copied from interface:IdcsMtRoleMapperRxProvider.MultitenancyEndpoints
Token endpoint URI for a specific tenant.- Specified by:
tokenEndpoint
in interfaceIdcsMtRoleMapperRxProvider.MultitenancyEndpoints
- Parameters:
tenantId
- id of tenant to get the endpoint for- Returns:
- URI for the tenant
-
-