public interface ICredentialsRenewer
Provides a way to renew credentials on behalf of a user.
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)
Called when initializing the service.
conf
- the storm cluster configuration.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)
credentials
- the credentials that may have something to renew.topologyConf
- topology configuration.topologyOwnerPrincipal
- the full principal name of the owner of the topologyCopyright © 2022 The Apache Software Foundation. All rights reserved.