I am tasked with creating a Java Client Application that can run from Windows or Linux and access corporate web servers using SSO.
This is an application to monitor response times of those servers. The first version of this application connects to HTTP and HTTPS servers using a proxy to "record" and then "simulate" HTTP(S) request/response pairs. These
pairs are grouped into "Steps" that are timed as they are initially recorded. At designated intervals the recordings are replayed as "simulations" and the response times noted for comparison.
If something changes in these response times the application can communicate those changes to a human. The actual content of the request/response pairs is not important. The timings are.
The next version of this application needs to use Windows SSO to access secure web sites from within a corporate firewall.
I have managed to figure out how to obtain a javax.security.auth.login.LoginContext using the waffle.jaas.WindowsLoginModule.
Now I need to "bless" my jar file so that the simulator code can run using SSO. Clearly I do not have the same file structure as Tomcat so I do not have a simple way to access Realms and give permissions to jar files like Tomcat does with
Am I on the right track here? Any hints or live examples would be much appreciated.