I am working on a tool where the user on click of the button opens a URI, takes screen shot and copies the image in a word document and sends the report to list of users. Im now working on invoking a URI from Java application, I am successful in opening a URI with the default browser, but the network asks for authentication, in such case the user has to give the username and password. I wanted to know is there a way to give the authentication details from the Java application , so that the tool is completely automated without any human intervention. And also the URI which i invoke requires username and password, can i also provide those credentials from the Java application. Please provide me solution for this im stuck with this.