Using openID framework for authentication method in Openfire

We all know that openId has become such a popular method for user authentication, that’s why i was thinking if Openfire chat can server can use it as well. I know that openId communicate using http protocol while Openfire on XMPP , but i wanted to know can some how Openfire authorization module can be customized to use one of the openID java libraries for authentication (for a web browser based chat client). If possible how much effort it will take for someone experienced(not very experienced) with network programming in java?