Package com.i2group.disco.security.spi
Interface IDimension
public interface IDimension
A security dimension.
- Since:
- 13.2
-
Method Summary
Modifier and TypeMethodDescriptionGets the description of the security dimension.Gets the dimension values that the security dimension contains, indexed by their identifiers.Gets the display name of the security dimension.getId()
Gets the identifier of the security dimension.com.i2group.apollo.model.security.dynamic.transport.ResolutionMode
Gets theResolutionMode
, which determines how the dimension values affect access calculations.boolean
Indicates whether the order of the values in the security dimension is significant.
-
Method Details
-
getId
String getId()Gets the identifier of the security dimension.- Returns:
- See above.
-
getDisplayName
String getDisplayName()Gets the display name of the security dimension.- Returns:
- See above.
-
getDescription
String getDescription()Gets the description of the security dimension.- Returns:
- See above.
-
isOrdered
boolean isOrdered()Indicates whether the order of the values in the security dimension is significant.- Returns:
true
if the values have an order;false
otherwise.
-
getResolutionMode
com.i2group.apollo.model.security.dynamic.transport.ResolutionMode getResolutionMode()Gets theResolutionMode
, which determines how the dimension values affect access calculations.When a record has multiple values from a dimension whose resolution mode is
ANY
, users receive access if they have permission according to any of those values.When a record has multiple values from a dimension whose resolution mode is
ALL
, users receive access only if they have permission according to all of those values.- Returns:
- See above.
-
getDimensionValues
Map<String,IDimensionValue> getDimensionValues()Gets the dimension values that the security dimension contains, indexed by their identifiers.- Returns:
- See above.
-