VBStudent
asked on
Set userid in Java Code
I have a java application that is connecting to a URL and downloading files using the following code:
HttpURLConnection connection = (HttpURLConnection) url;
Several different users will be using this application, however, I want the URL connection to think a specific user is calling it each time. Is there a way to change userid in the Java code so that it appears as though a specific user is running the application?
Thank You
HttpURLConnection connection = (HttpURLConnection) url;
Several different users will be using this application, however, I want the URL connection to think a specific user is calling it each time. Is there a way to change userid in the Java code so that it appears as though a specific user is running the application?
Thank You
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER