I am testing SSO with SP (Spring-SAML) and IDP (WSO2IS). They are working fine on browser.
Now I want to bring it to a Java standalone application. Providing user credentials and SP URL, then a user can log in the application and access SP. To implement this, basically I need to use HTTPClient (for handling Cookie, POST, Redirect, Auto-POST) and follow the SAML message flow as it happens on browser.
I would like to know the most efficient way to do it. Is there any library or example?
Your help is highly appreciated.