Class IdcsMtRoleMapperProvider.MtCacheKey
java.lang.Object
io.helidon.security.providers.idcs.mapper.IdcsMtRoleMapperProvider.MtCacheKey
- Enclosing class:
IdcsMtRoleMapperProvider
Cache key for multitenant environments.
Used when caching user grants.
Suitable for use in maps and sets.
-
Constructor Summary
ModifierConstructorDescriptionprotected
MtCacheKey
(IdcsMtContext idcsMtContext, String username) New (immutable) cache key.protected
MtCacheKey
(String idcsTenantId, String idcsAppName, String username) New (immutable) cache key. -
Method Summary
-
Constructor Details
-
MtCacheKey
New (immutable) cache key.- Parameters:
idcsTenantId
- IDCS tenant IDidcsAppName
- IDCS application nameusername
- username
-
MtCacheKey
New (immutable) cache key.- Parameters:
idcsMtContext
- IDCS multitenancy contextusername
- username
-
-
Method Details
-
idcsTenantId
IDCS Tenant ID.- Returns:
- tenant id of the cache record
-
username
Username.- Returns:
- username of the cache record
-
idcsAppName
IDCS Application ID.- Returns:
- application id of the cache record
-
idcsMtContext
IDCS Multitenancy context.- Returns:
- IDCS multitenancy context of the cache record
-
equals
-
hashCode
public int hashCode()
-