java.lang.Object
org.elasticsearch.xpack.security.authc.jwt.JwkSetLoader
All Implemented Interfaces:
Closeable, AutoCloseable, org.elasticsearch.core.Releasable

public class JwkSetLoader extends Object implements org.elasticsearch.core.Releasable
This class is responsible for loading the JWK set for PKC signature from either a file or URL. The JWK set is loaded once when the class is instantiated. Subsequent reloading is triggered by invoking the reload(ActionListener) method. The updated JWK set can be retrieved with the getContentAndJwksAlgs() method once loading or reloading is completed.
  • Constructor Details

  • Method Details

    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in interface org.elasticsearch.core.Releasable