public final class CustomRestrictionPolicyValue extends Object
| Constructor and Description |
|---|
CustomRestrictionPolicyValue(CustomRestrictionPolicyType policyType)
Constructs a
CustomRestrictionPolicyValue without imposing any
restriction |
CustomRestrictionPolicyValue(CustomRestrictionPolicyType policyType,
CustomRestrictionPolicyFilterType filterType,
String condition,
CustomMaskingExpression defaultMaskingExpression,
Map<String,CustomMaskingExpression> sensitiveFields) |
CustomRestrictionPolicyValue(CustomRestrictionPolicyType policyType,
CustomRestrictionPolicyFilterType filterType,
String condition,
Set<String> sensitiveFields)
Constructs a
CustomRestrictionPolicyValue which may impose some
restriction |
| Modifier and Type | Method and Description |
|---|---|
String |
getCondition()
Returns the condition that will be added to the query when the custom
policy evaluates to
CustomRestrictionPolicyType.ACCEPT_WITH_FILTER |
CustomMaskingExpression |
getDefaultMaskingExpression()
Returns the default masking expression used for those fields using Default
CustomMaskingExpression.Type |
CustomRestrictionPolicyFilterType |
getFilterType()
Returns the action to be taken for all the rows that do not verify the
condition when the custom policy evaluates to
CustomRestrictionPolicyType.ACCEPT_WITH_FILTER |
CustomRestrictionPolicyType |
getPolicyType()
Returns the action to be taken as a result of custom policy evaluation
|
Set<String> |
getSensitiveFields()
Returns the set of field names that will be used to decide how the
restriction will be applied when the custom policy evaluates to
CustomRestrictionPolicyType.ACCEPT_WITH_FILTER |
Map<String,CustomMaskingExpression> |
getSensitiveFieldsExpressions()
Returns the map of field names that will be used to decide how the
restriction will be applied when the custom policy evaluates to
CustomRestrictionPolicyType.ACCEPT_WITH_FILTER. |
public CustomRestrictionPolicyValue(CustomRestrictionPolicyType policyType)
CustomRestrictionPolicyValue without imposing any
restrictionpolicyType - Action to be taken as a result of custom policy evaluationpublic CustomRestrictionPolicyValue(CustomRestrictionPolicyType policyType, CustomRestrictionPolicyFilterType filterType, String condition, Set<String> sensitiveFields)
CustomRestrictionPolicyValue which may impose some
restrictionpolicyType - Action to be taken as a result of custom policy evaluationfilterType - Action to be taken for all the rows that do not verify the
condition when policyType is
ACCEPT_WITH_FILTER.condition - Condition that will be added to the query when
policyType is
ACCEPT_WITH_FILTER.sensitiveFields - Set of field names that will be used to decide how the
restriction indicated by filterType will be appliedpublic CustomRestrictionPolicyValue(CustomRestrictionPolicyType policyType, CustomRestrictionPolicyFilterType filterType, String condition, CustomMaskingExpression defaultMaskingExpression, Map<String,CustomMaskingExpression> sensitiveFields)
public CustomRestrictionPolicyFilterType getFilterType()
CustomRestrictionPolicyType.ACCEPT_WITH_FILTERCustomRestrictionPolicyType.ACCEPT_WITH_FILTERpublic String getCondition()
CustomRestrictionPolicyType.ACCEPT_WITH_FILTERCustomRestrictionPolicyType.ACCEPT_WITH_FILTERpublic Set<String> getSensitiveFields()
CustomRestrictionPolicyType.ACCEPT_WITH_FILTERCustomRestrictionPolicyType.ACCEPT_WITH_FILTERpublic Map<String,CustomMaskingExpression> getSensitiveFieldsExpressions()
CustomRestrictionPolicyType.ACCEPT_WITH_FILTER. The mapping value is the CustomMaskingExpression
applied for each field.CustomRestrictionPolicyType.ACCEPT_WITH_FILTER. The mapping value is the
CustomMaskingExpression
applied for each field.public CustomMaskingExpression getDefaultMaskingExpression()
CustomMaskingExpression.TypeCustomMaskingExpression.Type.public CustomRestrictionPolicyType getPolicyType()
Copyright © 2024 Denodo Technologies. All rights reserved.