Refactors XML oauth ClientDetails into a DB based Java class