class NavigationUtils {

    public String getDirectDashboardUrlForRole(HttpServletRequest request, Role role) {

        if (LIVE_PROJECTS_USER.equals(role)) {
            return liveProjectsLandingPageUrl;
        }

        String roleUrl = DEFAULT_LANDING_PAGE_URLS_FOR_ROLES.get(role);

        return getDirectToSameDomainUrl(request, roleUrl);
    }

    private  NavigationUtils();

}