title: What are analogs for classes from *autoconfigure.security.oauth2 and *security.oauth2 for Spring Boot 2.1.1.RELEASE?
body: <p>What are analogs for classes from *autoconfigure.security.oauth2 and *security.oauth2 for Spring Boot 2.1.1.RELEASE version of spring-boot-starter-parent?</p>
  
  <p>They are removed in this version.</p>
  
  <pre><code>import org.springframework.boot.autoconfigure.security.oauth2.resource.ResourceServerProperties;
  import org.springframework.boot.autoconfigure.security.oauth2.resource.UserInfoTokenServices;
  
  import org.springframework.security.oauth2.client.OAuth2ClientContext;
  import org.springframework.security.oauth2.client.OAuth2RestTemplate;
  import org.springframework.security.oauth2.client.filter.OAuth2ClientAuthenticationProcessingFilter;
  import org.springframework.security.oauth2.client.filter.OAuth2ClientContextFilter;
  import org.springframework.security.oauth2.client.token.grant.code.AuthorizationCodeResourceDetails;
  import org.springframework.security.oauth2.config.annotation.web.configuration.EnableOAuth2Client;
  </code></pre>