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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPrincipleId
(org.pentaho.platform.api.mt.ITenant tenant, String principleName) getPrincipleName
(String principalId) org.pentaho.platform.api.mt.ITenant
boolean
boolean
boolean
void
setDelimeter
(String delimeter) void
setUserNameFollowsTenantName
(boolean userNameFollowsTenantName) void
setUserNameNaturallyContainsEmbeddedTenantName
(boolean userNameNaturallyContainsEmbeddedTenantName)
-
Field Details
-
DEFAULT_DELIMETER
- See Also:
-
ALTERNATE_DELIMETER
- See Also:
-
userNameNaturallyContainsEmbeddedTenantName
public boolean userNameNaturallyContainsEmbeddedTenantName
-
-
Constructor Details
-
DefaultTenantedPrincipleNameResolver
public DefaultTenantedPrincipleNameResolver() -
DefaultTenantedPrincipleNameResolver
-
-
Method Details
-
getTenant
- Specified by:
getTenant
in interfaceorg.pentaho.platform.api.mt.ITenantedPrincipleNameResolver
-
getPrincipleName
- Specified by:
getPrincipleName
in interfaceorg.pentaho.platform.api.mt.ITenantedPrincipleNameResolver
-
getPrincipleId
- Specified by:
getPrincipleId
in interfaceorg.pentaho.platform.api.mt.ITenantedPrincipleNameResolver
-
getUserNameNaturallyContainsEmbeddedTenantName
public boolean getUserNameNaturallyContainsEmbeddedTenantName() -
setUserNameNaturallyContainsEmbeddedTenantName
public void setUserNameNaturallyContainsEmbeddedTenantName(boolean userNameNaturallyContainsEmbeddedTenantName) -
getDelimeter
-
setDelimeter
-
getUserNameFollowsTenantName
public boolean getUserNameFollowsTenantName() -
setUserNameFollowsTenantName
public void setUserNameFollowsTenantName(boolean userNameFollowsTenantName) -
isValid
- Specified by:
isValid
in interfaceorg.pentaho.platform.api.mt.ITenantedPrincipleNameResolver
-