WSFederation and SAML library for Java based web applications