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 theIdcsMtRoleMapperProvider.MultitenancyEndpoints. Caches the endpoints per tenant.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDefaultMultitenancyEndpoints(OidcConfig config)Creates endpoints from provided OIDC configuration using default URIs.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebTargetassertEndpoint(String tenantId)Asserter endpoint for a specific tenant.StringidcsInfraTenantId()The tenant id of the infrastructure tenant.WebTargettokenEndpoint(String tenantId)Token endpoint 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:IdcsMtRoleMapperProvider.MultitenancyEndpointsThe tenant id of the infrastructure tenant.- Specified by:
idcsInfraTenantIdin interfaceIdcsMtRoleMapperProvider.MultitenancyEndpoints- Returns:
- id of the tenant
-
assertEndpoint
public WebTarget assertEndpoint(String tenantId)
Description copied from interface:IdcsMtRoleMapperProvider.MultitenancyEndpointsAsserter endpoint for a specific tenant.- Specified by:
assertEndpointin interfaceIdcsMtRoleMapperProvider.MultitenancyEndpoints- Parameters:
tenantId- id of tenant to get the endpoint for- Returns:
- web target for the tenant
-
tokenEndpoint
public WebTarget tokenEndpoint(String tenantId)
Description copied from interface:IdcsMtRoleMapperProvider.MultitenancyEndpointsToken endpoint for a specific tenant.- Specified by:
tokenEndpointin interfaceIdcsMtRoleMapperProvider.MultitenancyEndpoints- Parameters:
tenantId- id of tenant to get the endpoint for- Returns:
- web target for the tenant
-
-