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