How would I go about supporting OpenID authentication in an Java web application?
openid4java might be what you're looking for.
Take a look at openid4java.