public final class WebSecurityManager
extends java.lang.Object
| Constructor and Description |
|---|
WebSecurityManager() |
| Modifier and Type | Method and Description |
|---|---|
static WebSecurityManager |
getSecurityManager(java.lang.String processName) |
static SslConfig |
getSslConfig() |
static SslConfig |
getSslConfig(SslConfig.SslConfigScope scope) |
boolean |
importUrlCertificate(java.lang.String importUrl,
java.lang.String truststore) |
public boolean importUrlCertificate(java.lang.String importUrl,
java.lang.String truststore)
public static WebSecurityManager getSecurityManager(java.lang.String processName)
public static SslConfig getSslConfig() throws java.lang.SecurityException
SslConfig for the current MapR cluster with SslConfig.SslConfigScope.SCOPE_ALL.java.lang.SecurityException - if the process doesn't have privilege or SSL is not configured.public static SslConfig getSslConfig(SslConfig.SslConfigScope scope) throws java.lang.SecurityException
SslConfig for the current MapR cluster with the specified SslConfig.SslConfigScope.java.lang.SecurityException - if the process doesn't have privilege or SSL is not configured.