Class RangerUtils
java.lang.Object
org.apache.polaris.extension.auth.ranger.utils.RangerUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.ranger.authz.model.RangerAccessInfotoAccessInfo(org.apache.polaris.core.persistence.PolarisResolvedPathWrapper entity, org.apache.polaris.core.auth.PolarisAuthorizableOperation authzOp, Set<String> privileges, String realmContextId) static StringtoResourcePath(List<org.apache.polaris.core.persistence.PolarisResolvedPathWrapper> resolvedPaths, String realmContextId) static StringtoResourcePath(org.apache.polaris.core.persistence.PolarisResolvedPathWrapper resolvedPath, String realmContextId) static StringtoResourceType(org.apache.polaris.core.entity.PolarisEntityType entityType) static org.apache.ranger.authz.model.RangerUserInfotoUserInfo(org.apache.polaris.core.auth.PolarisPrincipal principal)
-
Constructor Details
-
RangerUtils
public RangerUtils()
-
-
Method Details
-
toResourceType
-
toUserInfo
public static org.apache.ranger.authz.model.RangerUserInfo toUserInfo(org.apache.polaris.core.auth.PolarisPrincipal principal) -
toAccessInfo
-
toResourcePath
-
toResourcePath
-