79
74
/* Use find_if instead of foreach so that we can collect return codes */
80
75
vector<plugin::Authentication *>::iterator iter=
81
76
find_if(all_authentication.begin(), all_authentication.end(),
83
78
/* If iter is == end() here, that means that all of the plugins returned
84
79
* false, which in this case means they all succeeded. Since we want to
85
80
* return false on success, we return the value of the two being !=