Package org.onosproject.security
Class SecurityUtil
- java.lang.Object
-
- org.onosproject.security.SecurityUtil
-
@Beta public final class SecurityUtil extends java.lang.Object
Utility class to aid Security-Mode ONOS.
-
-
Field Summary
Fields Modifier and Type Field Description protected static ServiceDirectory
serviceDirectory
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SecurityAdminService
getSecurityService()
static boolean
isAppSecured(ApplicationId appId)
static boolean
isSecurityModeEnabled()
static void
register(ApplicationId appId)
-
-
-
Field Detail
-
serviceDirectory
protected static ServiceDirectory serviceDirectory
-
-
Method Detail
-
isSecurityModeEnabled
public static boolean isSecurityModeEnabled()
-
getSecurityService
public static SecurityAdminService getSecurityService()
-
isAppSecured
public static boolean isAppSecured(ApplicationId appId)
-
register
public static void register(ApplicationId appId)
-
-