Interface TenantFilter.PrincipalTenant
- Enclosing class:
TenantFilter
public static interface TenantFilter.PrincipalTenant
Maps an authenticated principal to its tenant, for
TenantFilter.authenticated(TenantFilter.PrincipalTenant).-
Method Summary
Modifier and TypeMethodDescriptiontenantOf(Authentication authentication) The tenant ofauthentication, or null when it has none.
-
Method Details
-
tenantOf
The tenant ofauthentication, or null when it has none.- Parameters:
authentication- the authenticated principal- Returns:
- the tenant identifier
- Throws:
Exception- when the lookup fails
-