Class DefaultTenantedPrincipleNameResolver

java.lang.Object
org.pentaho.platform.security.userroledao.DefaultTenantedPrincipleNameResolver
All Implemented Interfaces:
org.pentaho.platform.api.mt.ITenantedPrincipleNameResolver

public class DefaultTenantedPrincipleNameResolver extends Object implements org.pentaho.platform.api.mt.ITenantedPrincipleNameResolver
  • Field Details

    • DEFAULT_DELIMETER

      public static final String DEFAULT_DELIMETER
      See Also:
    • ALTERNATE_DELIMETER

      public static final String ALTERNATE_DELIMETER
      See Also:
    • userNameNaturallyContainsEmbeddedTenantName

      public boolean userNameNaturallyContainsEmbeddedTenantName
  • Constructor Details

    • DefaultTenantedPrincipleNameResolver

      public DefaultTenantedPrincipleNameResolver()
    • DefaultTenantedPrincipleNameResolver

      public DefaultTenantedPrincipleNameResolver(String delimiter)
  • Method Details

    • getTenant

      public org.pentaho.platform.api.mt.ITenant getTenant(String principalId)
      Specified by:
      getTenant in interface org.pentaho.platform.api.mt.ITenantedPrincipleNameResolver
    • getPrincipleName

      public String getPrincipleName(String principalId)
      Specified by:
      getPrincipleName in interface org.pentaho.platform.api.mt.ITenantedPrincipleNameResolver
    • getPrincipleId

      public String getPrincipleId(org.pentaho.platform.api.mt.ITenant tenant, String principleName)
      Specified by:
      getPrincipleId in interface org.pentaho.platform.api.mt.ITenantedPrincipleNameResolver
    • getUserNameNaturallyContainsEmbeddedTenantName

      public boolean getUserNameNaturallyContainsEmbeddedTenantName()
    • setUserNameNaturallyContainsEmbeddedTenantName

      public void setUserNameNaturallyContainsEmbeddedTenantName(boolean userNameNaturallyContainsEmbeddedTenantName)
    • getDelimeter

      public String getDelimeter()
    • setDelimeter

      public void setDelimeter(String delimeter)
    • getUserNameFollowsTenantName

      public boolean getUserNameFollowsTenantName()
    • setUserNameFollowsTenantName

      public void setUserNameFollowsTenantName(boolean userNameFollowsTenantName)
    • isValid

      public boolean isValid(String principleId)
      Specified by:
      isValid in interface org.pentaho.platform.api.mt.ITenantedPrincipleNameResolver