public class AutoSSL extends Object implements IAutoCredentials
User is responsible for referencing them from the topology code as filename.
| Modifier and Type | Field and Description |
|---|---|
static String |
SSL_FILES_CONF |
| Constructor and Description |
|---|
AutoSSL() |
| Modifier and Type | Method and Description |
|---|---|
static void |
deserializeSSLFile(String credsKey,
String directory,
Map<String,String> credentials) |
protected String |
getSSLWriteDirFromConf(Map<String,Object> conf) |
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<String,Object> conf) |
static void |
serializeSSLFile(String readFile,
Map<String,String> credentials) |
void |
updateSubject(Subject subject,
Map<String,String> credentials)
Called to update the subject on the worker side when new credentials are recieved.
|
public static final String SSL_FILES_CONF
public static void serializeSSLFile(String readFile, Map<String,String> credentials)
public static void deserializeSSLFile(String credsKey, String directory, Map<String,String> credentials)
public void prepare(Map<String,Object> conf)
prepare in interface IAutoCredentialspublic void populateCredentials(Map<String,String> credentials)
IAutoCredentialspopulateCredentials in interface IAutoCredentialscredentials - the credentials to be populated.public void updateSubject(Subject subject, Map<String,String> credentials)
IAutoCredentialsupdateSubject in interface IAutoCredentialssubject - the subject to optionally put credentials in.credentials - the credentials to be used.public void populateSubject(Subject subject, Map<String,String> credentials)
IAutoCredentialspopulateSubject in interface IAutoCredentialssubject - the subject to optionally put credentials in.credentials - the credentials to be used.Copyright © 2023 The Apache Software Foundation. All rights reserved.