Expose methods to improve usability
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
This commit is contained in:
parent
6345cadc60
commit
e6ecd4b73c
|
|
@ -13,7 +13,7 @@ public class SpiffeContextFactory {
|
|||
|
||||
private static String SSL_PROTOCOL = "TLSv1.2";
|
||||
|
||||
static SSLContext getSSLContext() {
|
||||
public static SSLContext getSSLContext() {
|
||||
try {
|
||||
SSLContext sslContext = SSLContext.getInstance(SSL_PROTOCOL);
|
||||
sslContext.init(
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ public class SpiffeIdManager {
|
|||
private static final SpiffeIdManager INSTANCE = new SpiffeIdManager();
|
||||
private static final Logger LOGGER = Logger.getLogger(SpiffeIdManager.class.getName());
|
||||
|
||||
static SpiffeIdManager getInstance() {
|
||||
public static SpiffeIdManager getInstance() {
|
||||
return INSTANCE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue