<%
// controller construct
if (viaService) {

} else {
    // service construct
    if (databaseTypeMongodb) {
        beans.push({class: 'AuthorityRepository', instance: 'authorityRepository'});
    }
}
%>
