Class OAuth2ResourceServerAutoConfiguration

java.lang.Object
org.springframework.boot.security.oauth2.server.resource.autoconfigure.servlet.OAuth2ResourceServerAutoConfiguration

@AutoConfiguration(before={org.springframework.boot.security.autoconfigure.actuate.web.servlet.ManagementWebSecurityAutoConfiguration.class,org.springframework.boot.security.autoconfigure.SecurityAutoConfiguration.class,org.springframework.boot.security.autoconfigure.UserDetailsServiceAutoConfiguration.class}) @EnableConfigurationProperties(OAuth2ResourceServerProperties.class) @ConditionalOnClass(org.springframework.security.oauth2.server.resource.authentication.BearerTokenAuthenticationToken.class) @ConditionalOnWebApplication(type=SERVLET) @Import({org.springframework.boot.security.oauth2.server.resource.autoconfigure.servlet.Oauth2ResourceServerConfiguration.JwtConfiguration.class,org.springframework.boot.security.oauth2.server.resource.autoconfigure.servlet.Oauth2ResourceServerConfiguration.OpaqueTokenConfiguration.class}) public final class OAuth2ResourceServerAutoConfiguration extends Object
Auto-configuration for OAuth2 resource server support.
Since:
4.0.0
  • Constructor Details

    • OAuth2ResourceServerAutoConfiguration

      public OAuth2ResourceServerAutoConfiguration()