get auth header in HttpServletRequest code example Example: how to get parameters from httpservletrequest request.getParameter("username");