Class RoleMappingFileBootstrapCheck

java.lang.Object
org.elasticsearch.xpack.security.authc.support.RoleMappingFileBootstrapCheck
All Implemented Interfaces:
org.elasticsearch.bootstrap.BootstrapCheck

public class RoleMappingFileBootstrapCheck extends Object implements org.elasticsearch.bootstrap.BootstrapCheck
A BootstrapCheck that DnRoleMapper files exist and are valid (valid YAML and valid DNs)
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.elasticsearch.bootstrap.BootstrapCheck

    org.elasticsearch.bootstrap.BootstrapCheck.BootstrapCheckResult
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    org.elasticsearch.bootstrap.BootstrapCheck.BootstrapCheckResult
    check(org.elasticsearch.bootstrap.BootstrapContext context)
     
    static org.elasticsearch.bootstrap.BootstrapCheck
    create(org.elasticsearch.xpack.core.security.authc.RealmConfig realmConfig)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • check

      public org.elasticsearch.bootstrap.BootstrapCheck.BootstrapCheckResult check(org.elasticsearch.bootstrap.BootstrapContext context)
      Specified by:
      check in interface org.elasticsearch.bootstrap.BootstrapCheck
    • alwaysEnforce

      public boolean alwaysEnforce()
      Specified by:
      alwaysEnforce in interface org.elasticsearch.bootstrap.BootstrapCheck
    • create

      public static org.elasticsearch.bootstrap.BootstrapCheck create(org.elasticsearch.xpack.core.security.authc.RealmConfig realmConfig)