WIF is only for .NET.
Have a look at SAML : SAML connectivity / toolkit and the links in that article. There are some Java WIF equivalents.
Or you could use a Java SAML library like OpenSAML - link in the article above - and go SAML to ADFS rater than WS Federation.
Or use something like OpenAM for the Java application and federate with ADFS.