Class IdcsMtRoleMapperRxProvider.MtCacheKey
- java.lang.Object
-
- io.helidon.security.providers.idcs.mapper.IdcsMtRoleMapperRxProvider.MtCacheKey
-
- Enclosing class:
- IdcsMtRoleMapperRxProvider
public static class IdcsMtRoleMapperRxProvider.MtCacheKey extends Object
Cache key for multitenant environments. Used when caching user grants. Suitable for use in maps and sets.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMtCacheKey(IdcsMtContext idcsMtContext, String username)New (immutable) cache key.protectedMtCacheKey(String idcsTenantId, String idcsAppName, String username)New (immutable) cache key.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()StringidcsAppName()IDCS Application ID.IdcsMtContextidcsMtContext()IDCS Multitenancy context.StringidcsTenantId()IDCS Tenant ID.Stringusername()Username.
-
-
-
Constructor Detail
-
MtCacheKey
protected MtCacheKey(String idcsTenantId, String idcsAppName, String username)
New (immutable) cache key.- Parameters:
idcsTenantId- IDCS tenant IDidcsAppName- IDCS application nameusername- username
-
MtCacheKey
protected MtCacheKey(IdcsMtContext idcsMtContext, String username)
New (immutable) cache key.- Parameters:
idcsMtContext- IDCS multitenancy contextusername- username
-
-
Method Detail
-
idcsTenantId
public String idcsTenantId()
IDCS Tenant ID.- Returns:
- tenant id of the cache record
-
username
public String username()
Username.- Returns:
- username of the cache record
-
idcsAppName
public String idcsAppName()
IDCS Application ID.- Returns:
- application id of the cache record
-
idcsMtContext
public IdcsMtContext idcsMtContext()
IDCS Multitenancy context.- Returns:
- IDCS multitenancy context of the cache record
-
-