org.apache.storm.security.auth

## 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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `prepare(Map<String,Object> conf)` 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 Detail

    - #### 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

Copyright © 2019 The Apache Software Foundation. All rights reserved.