class OAuthClientDetailsService {

  public void fillDefaultValues(OAuthClientDetails oauthClientDetails) {
    oauthClientDetails.setResourceIds(defaultResourceIds);
    oauthClientDetails.setScope(defaultScope);
    oauthClientDetails.setAuthorizedGrantTypes(defaultAuthorizedGrantTypes);
    oauthClientDetails.setAuthorities(defaultAuthorities);
    oauthClientDetails.setAdditionalInformation(defaultAdditionalInformation);
    oauthClientDetails.setAutoapprove(defaultAutoapprove);
  }

}