Class JcrTenantUtils


  • public class JcrTenantUtils
    extends Object
    • Constructor Detail

      • JcrTenantUtils

        public JcrTenantUtils()
    • Method Detail

      • getUserNameUtils

        public static org.pentaho.platform.api.mt.ITenantedPrincipleNameResolver getUserNameUtils()
      • getRoleNameUtils

        public static org.pentaho.platform.api.mt.ITenantedPrincipleNameResolver getRoleNameUtils()
      • getTenantedRole

        public static String getTenantedRole​(String principal)
      • isTenatedRole

        public static boolean isTenatedRole​(String principal)
      • getTenantedUser

        public static String getTenantedUser​(String username)
      • 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()
      • getPrincipalName

        public static String getPrincipalName​(String principalId,
                                              boolean isUser)
      • 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()