Class IdcsMtRoleMapperProvider.MtCacheKey
- java.lang.Object
- 
- io.helidon.security.providers.idcs.mapper.IdcsMtRoleMapperProvider.MtCacheKey
 
- 
- Enclosing class:
- IdcsMtRoleMapperProvider
 
 public static class IdcsMtRoleMapperProvider.MtCacheKey extends Object Cache key for multitenant environments. Used when caching user grants. Suitable for use in maps and sets.
- 
- 
Constructor SummaryConstructors Modifier Constructor Description protectedMtCacheKey(IdcsMtContext idcsMtContext, String username)New (immutable) cache key.protectedMtCacheKey(String idcsTenantId, String idcsAppName, String username)New (immutable) cache key.
 - 
Method SummaryAll 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- 
MtCacheKeyprotected MtCacheKey(String idcsTenantId, String idcsAppName, String username) New (immutable) cache key.- Parameters:
- idcsTenantId- IDCS tenant ID
- idcsAppName- IDCS application name
- username- username
 
 - 
MtCacheKeyprotected MtCacheKey(IdcsMtContext idcsMtContext, String username) New (immutable) cache key.- Parameters:
- idcsMtContext- IDCS multitenancy context
- username- username
 
 
- 
 - 
Method Detail- 
idcsTenantIdpublic String idcsTenantId() IDCS Tenant ID.- Returns:
- tenant id of the cache record
 
 - 
usernamepublic String username() Username.- Returns:
- username of the cache record
 
 - 
idcsAppNamepublic String idcsAppName() IDCS Application ID.- Returns:
- application id of the cache record
 
 - 
idcsMtContextpublic IdcsMtContext idcsMtContext() IDCS Multitenancy context.- Returns:
- IDCS multitenancy context of the cache record
 
 
- 
 
-