public class SecurityUtil extends Object
Modifier and Type | Method and Description |
---|---|
static SecurityMode |
getSecurityMode(String securityMode)
Gets the SecurityMode value from its String name.
|
static String |
getSecurityModeText(SecurityMode securityMode)
Gets the text value of a security mode.
|
public static SecurityMode getSecurityMode(@NonNull String securityMode)
securityMode
- the security mode, can be null
.null
if not found.public static String getSecurityModeText(@NonNull SecurityMode securityMode)
securityMode
- the security mode.null
if not is found.