public interface ICredentialsRenewer
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.
|
void prepare(Map<String,Object> conf)
conf
- the storm cluster configuration.void renew(Map<String,String> credentials, Map<String,Object> topologyConf, String topologyOwnerPrincipal)
credentials
- the credentials that may have something to renew.topologyConf
- topology configuration.topologyOwnerPrincipal
- the full principal name of the owner of the topologyCopyright © 2023 The Apache Software Foundation. All rights reserved.