diff --git a/shield/src/main/java/org/elasticsearch/shield/action/ShieldActionFilter.java b/shield/src/main/java/org/elasticsearch/shield/action/ShieldActionFilter.java index b386d8c487f..8bb2ac020b0 100644 --- a/shield/src/main/java/org/elasticsearch/shield/action/ShieldActionFilter.java +++ b/shield/src/main/java/org/elasticsearch/shield/action/ShieldActionFilter.java @@ -38,7 +38,7 @@ import static org.elasticsearch.shield.support.Exceptions.authorizationError; */ public class ShieldActionFilter extends AbstractComponent implements ActionFilter { - private static final Predicate LICESE_EXPIRATION_ACTION_MATCHER = Privilege.HEALTH_AND_STATS.predicate(); + private static final Predicate LICENSE_EXPIRATION_ACTION_MATCHER = Privilege.HEALTH_AND_STATS.predicate(); private final AuthenticationService authcService; private final AuthorizationService authzService; @@ -79,7 +79,7 @@ public class ShieldActionFilter extends AbstractComponent implements ActionFilte A functional requirement - when the license of shield is disabled (invalid/expires), shield will continue to operate normally, except all read operations will be blocked. */ - if (!licenseEnabled && LICESE_EXPIRATION_ACTION_MATCHER.apply(action)) { + if (!licenseEnabled && LICENSE_EXPIRATION_ACTION_MATCHER.apply(action)) { logger.error("blocking [{}] operation due to expired license. Cluster health, cluster stats and indices stats \n" + "operations are blocked on shield license expiration. All data operations (read and write) continue to work. \n" + "If you have a new license, please update it. Otherwise, please reach out to your support contact.", action);