public class JcrTenantUtils extends Object
Constructor and Description |
---|
JcrTenantUtils() |
Modifier and Type | Method and Description |
---|---|
static ITenant |
getCurrentTenant() |
static ITenant |
getDefaultTenant() |
static String |
getDefaultTenantPath() |
static String |
getPrincipalName(String principalId,
boolean isUser) |
static ITenantedPrincipleNameResolver |
getRoleNameUtils() |
static ITenant |
getTenant() |
static ITenant |
getTenant(String principalId,
boolean isUser) |
static String |
getTenantedRole(String principal) |
static String |
getTenantedUser(String username) |
static ITenantedPrincipleNameResolver |
getUserNameUtils() |
static boolean |
isTenantedUser(String username) |
static boolean |
isTenatedRole(String principal) |
public static ITenantedPrincipleNameResolver getUserNameUtils()
public static ITenantedPrincipleNameResolver getRoleNameUtils()
public static boolean isTenatedRole(String principal)
public static boolean isTenantedUser(String username)
public static ITenant getTenant()
public static ITenant getCurrentTenant()
public static String getDefaultTenantPath()
public static ITenant getDefaultTenant()
Copyright © 2017 Hitachi Vantara. All rights reserved.