Spring context for hostname, port and credentials