class Http {

    public static String authenticatedUser(HttpServletRequest request,
            AuthorityList authorities) {
        Principal principal = authenticate(request, authorities);
        return principal.getFullName();
    }

}