Interface ICredentialsRenewer

All Known Implementing Classes:
AbstractHadoopNimbusPluginAutoCreds, AutoHBaseNimbus, AutoHDFSNimbus, AutoHiveNimbus, AutoTGT

public interface ICredentialsRenewer
Provides a way to renew credentials on behalf of a user.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when initializing the service.
    void
    renew(Map<String,String> credentials, Map<String,Object> topologyConf, String topologyOwnerPrincipal)
    Renew any credentials that need to be renewed.
  • Method Details

    • prepare

      void prepare(Map<String,Object> conf)
      Called when initializing the service.
      Parameters:
      conf - the storm cluster configuration.
    • renew

      void renew(Map<String,String> credentials, Map<String,Object> topologyConf, String topologyOwnerPrincipal)
      Renew any credentials that need to be renewed. (Update the credentials if needed)
      Parameters:
      credentials - the credentials that may have something to renew.
      topologyConf - topology configuration.
      topologyOwnerPrincipal - the full principal name of the owner of the topology