I am using linkedin-j library for authenication
I want to persist the LinkedIn Access token object.
LinkedInOAuthService oAuthService = LinkedInOAuthServiceFactory
.getInstance()
.createLinkedInOAuthService(
LK_CONSUMER_KEY, LK_CONSUMER_SECRET
);
//Need to persist this accessToken
LinkedInAccessToken accessToken = oAuthService
.getOAuthAccessToken(liToken, oauthVerifier);