public class JMXSecretsProvider extends Object implements JMXSecretsProviderMBean
Constructor and Description |
---|
JMXSecretsProvider() |
Modifier and Type | Method and Description |
---|---|
void |
addSecret(String id,
String secret)
Add a secret through JMX
|
void |
clear()
Clear all secrets
|
String |
getSecret(String id) |
void |
removeSecret(String id)
Remove a Secret for given ID
|
public void addSecret(String id, String secret)
JMXSecretsProviderMBean
addSecret
in interface JMXSecretsProviderMBean
id
- identify for what this secret issecret
- Secretpublic void removeSecret(String id)
JMXSecretsProviderMBean
removeSecret
in interface JMXSecretsProviderMBean
id
- identify for what this secret ispublic void clear()
JMXSecretsProviderMBean
clear
in interface JMXSecretsProviderMBean
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.