public boolean isAllAuthorized(final WebContext context, final SessionStore sessionStore, final Iterable<UserProfile> profiles) {
        for (val profile : profiles) {
            if (!isProfileAuthorized(context, sessionStore, profile)) {
                return handleError(context, sessionStore);
            }
        }
        return true;
    }
If all profiles are authorized.

@param context the web context
@param sessionStore the session store
@param profiles the user profiles
@return whether all profiles are authorized
pac4j-core/src/main/java/org/pac4j/core/authorization/authorizer/ProfileAuthorizer.java