Module org.elasticsearch.security
Package org.elasticsearch.xpack.security.support
package org.elasticsearch.xpack.security.support
-
ClassDescriptionA registry that provides common cache invalidation services for caches that relies on the security index.Immutable implementation of
SecurityExtension.SecurityComponents.The features names here are constants that form part of our API contract.A utility for cli tools to capture file attributes before writing files, and to warn if the permissions/group/owner changes.A wrapper ofCachethat keeps a counter for invalidation calls in order to minimizes the possibility of caching stale results.An utility class that keeps an internal counter to ensure given runnable is only executed when the counter matches the expected value.A class that holds the built-in roles and their hash digests.A listener that is notified when the built-in roles change.A provider that provides the built-in roles and can notify subscribed listeners when the built-in roles change.Synchronizes built-in roles to the .security index.Utility class which provides helper method for calculating the hash of a role descriptor, determining the roles to upsert and the roles to delete.A provider of the built-in reserved roles.This interface allows adding support for reload operations (on secure settings change) in a generic way for security components.Manages the lifecycle, mapping and data upgrades/migrations of theRestrictedIndicesNames#SECURITY_MAIN_ALIASandRestrictedIndicesNames#SECURITY_MAIN_ALIASalias-index pair.When checking availability, check for availability of search or availability of all primariesState of the security index.Interface for creating SecurityMigrations that will be automatically applied once to existing .security indices IMPORTANT: A new index version needs to be added toIndexVersionsfor the migration to be triggeredResponsible for handling system indices for the Security pluginEvery change to the mapping of .security index must be versioned.