mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-20 20:08:56 +00:00
In xpack the license state contains methods to determine whether a particular feature is allowed to be used. The one exception is allowsRealmTypes() which returns an enum of the types of realms allowed. This change converts the enum values to boolean methods. There are 2 notable changes: NONE is removed as we always fall back to basic license behavior, and NATIVE is not needed because it would always return true since we should always have a basic license.