Class JcrTenantUtils
- java.lang.Object
-
- org.pentaho.platform.repository2.unified.jcr.JcrTenantUtils
-
public class JcrTenantUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description JcrTenantUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
getUserNameUtils
public static org.pentaho.platform.api.mt.ITenantedPrincipleNameResolver getUserNameUtils()
-
getRoleNameUtils
public static org.pentaho.platform.api.mt.ITenantedPrincipleNameResolver getRoleNameUtils()
-
isTenatedRole
public static boolean isTenatedRole(String principal)
-
isTenantedUser
public static boolean isTenantedUser(String username)
-
getTenant
public static org.pentaho.platform.api.mt.ITenant getTenant(String principalId, boolean isUser)
-
getTenant
public static org.pentaho.platform.api.mt.ITenant getTenant()
-
getCurrentTenant
public static org.pentaho.platform.api.mt.ITenant getCurrentTenant()
-
getDefaultTenantPath
public static String getDefaultTenantPath()
-
getDefaultTenant
public static org.pentaho.platform.api.mt.ITenant getDefaultTenant()
-
-