Class DefaultTenantedPrincipleNameResolver

  • All Implemented Interfaces:
    org.pentaho.platform.api.mt.ITenantedPrincipleNameResolver

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

      • userNameNaturallyContainsEmbeddedTenantName

        public boolean userNameNaturallyContainsEmbeddedTenantName
    • Constructor Detail

      • DefaultTenantedPrincipleNameResolver

        public DefaultTenantedPrincipleNameResolver()
      • DefaultTenantedPrincipleNameResolver

        public DefaultTenantedPrincipleNameResolver​(String delimiter)
    • Method Detail

      • 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