/** * Checks if security is enabled. * * @param conf Alluxio configuration * @return true if security is enabled, false otherwise */ public static boolean isSecurityEnabled(AlluxioConfiguration conf) { return isAuthenticationEnabled(conf) && isAuthorizationEnabled(conf); }
/** * Checks if security is enabled. * * @return true if security is enabled, false otherwise */ public static boolean isSecurityEnabled() { return isAuthenticationEnabled() && isAuthorizationEnabled(); }