Package org.apache.storm.security.auth
Interface ICredentialsRenewer
- 
- All Known Implementing Classes:
- AbstractHadoopNimbusPluginAutoCreds,- AutoHBaseNimbus,- AutoHDFSNimbus,- AutoHiveNimbus,- AutoTGT
 
 public interface ICredentialsRenewerProvides a way to renew credentials on behalf of a user.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprepare(Map<String,Object> conf)Called when initializing the service.voidrenew(Map<String,String> credentials, Map<String,Object> topologyConf, String topologyOwnerPrincipal)Renew any credentials that need to be renewed.
 
- 
- 
- 
Method Detail- 
preparevoid prepare(Map<String,Object> conf) Called when initializing the service.- Parameters:
- conf- the storm cluster configuration.
 
 - 
renewvoid 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
 
 
- 
 
-