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