Package com.mapr.web.security
Class WebSecurityConfig
java.lang.Object
com.mapr.web.security.WebSecurityConfig
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionsetProcessName(String processName) The static singleton instance of this class must be initialized by calling this method and passing a valid string identifying the process name
-
Field Details
-
CONFIG
-
-
Method Details
-
getProcessName
-
getSslConfig
- Returns:
- Instance of
SslConfigfor the current MapR cluster withSslConfig.SslConfigScope.SCOPE_ALL. - Throws:
SecurityException- if the process doesn't have privilege or SSL is not configured.
-
getSslConfig
- Returns:
- Instance of
SslConfigfor the current MapR cluster with the specifiedSslConfig.SslConfigScope. - Throws:
SecurityException- if the process doesn't have privilege or SSL is not configured.
-
setProcessName
The static singleton instance of this class must be initialized by calling this method and passing a valid string identifying the process name The process name is used to create Java property names of many configurations of this library.
-