65
68
bool plugin::Authentication::isAuthenticated(const SecurityContext &sctx,
68
71
/* If we never loaded any auth plugins, just return true */
69
72
if (all_authentication.empty())
72
75
/* Use find_if instead of foreach so that we can collect return codes */
77
80
/* We only require one plugin to return success in order to authenticate.
78
81
* If iter is == end() here, that means that all of the plugins returned