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 protected
MtCacheKey(IdcsMtContext idcsMtContext, String username)
New (immutable) cache key.protected
MtCacheKey(String idcsTenantId, String idcsAppName, String username)
New (immutable) cache key.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
String
idcsAppName()
IDCS Application ID.IdcsMtContext
idcsMtContext()
IDCS Multitenancy context.String
idcsTenantId()
IDCS Tenant ID.String
username()
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
-
-