(String)storedRequest.get("clientId"), null, true, new HashSet((List)storedRequest.get("scope")),
null, null, null, null);
DBObject userAuthorization = (DBObject)source.get("userAuthentication");
Object principal = getPrincipalObject(userAuthorization.get("principal"));
Authentication userAuthentication = new UsernamePasswordAuthenticationToken(principal,
userAuthorization.get("credentials"), getAuthorities((List) userAuthorization.get("authorities")));
return new OAuth2Authentication(oAuth2Request, userAuthentication );
}