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