Package 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
-
Method Details
-
prepare
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
-