public interface IAutoCredentials
Provides a way to automatically push credentials to a topology and to retreave them in the worker.
Modifier and Type | Method and Description |
---|---|
void |
populateCredentials(Map<String,String> credentials)
Called to populate the credentials on the client side.
|
void |
populateSubject(Subject subject,
Map<String,String> credentials)
Called to initially populate the subject on the worker side with credentials passed in.
|
void |
prepare(Map conf) |
void |
updateSubject(Subject subject,
Map<String,String> credentials)
Called to update the subject on the worker side when new credentials are recieved.
|
void prepare(Map conf)
void populateCredentials(Map<String,String> credentials)
Called to populate the credentials on the client side.
credentials
- the credentials to be populated.void populateSubject(Subject subject, Map<String,String> credentials)
Called to initially populate the subject on the worker side with credentials passed in.
subject
- the subject to optionally put credentials in.credentials
- the credentials to be used.void updateSubject(Subject subject, Map<String,String> credentials)
Called to update the subject on the worker side when new credentials are recieved. This means that populateSubject has already been called on this subject.
subject
- the subject to optionally put credentials in.credentials
- the credentials to be used.Copyright © 2019 The Apache Software Foundation. All Rights Reserved.