15.7. Visibilities in Redis

Although Redis does not support native visibilities, GeoMesa can apply them for securing SimpleFeatures with cell-level security. Visibilities in Redis are currently available at the feature level.

See Authorizations for details on querying data with visibilities.

15.7.1. Feature Level Visibilities

Visibilities can be set on individual features using the simple feature user data:

import org.locationtech.geomesa.security.SecurityUtils;

SecurityUtils.setFeatureVisibility(feature, "admin&user")


feature.getUserData().put("geomesa.feature.visibility", "admin&user");