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