I connect to the https url via web browser giving access credential (user, password and temporary key generated via token), after the connection is instaurated is it possible to connect a java program using HttpsURLConnection method sharing the same connection created via browser or share the same Https Authentication details used from browser ?
The goal is to authenticate and then use a program written in Java to download the data sent from the website to the web browser (a sort of sniffer)
Is it possible to write something in Javascript, instead of a plugin as suggested by arkascha, in order to dowloand a web page sent using https using the credential already provided in another Firefox tab ?