@SuppressWarnings("rawtypes")
 public boolean equals(Object o) {
   if (!(o instanceof OAuth2ServiceProviderConnection)) {
     return false;
   }
   OAuth1ServiceProviderConnection other = (OAuth1ServiceProviderConnection) o;
   return key.equals(other.key);
 }