Class OAuth2ResourceServerAutoConfiguration

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

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

    • OAuth2ResourceServerAutoConfiguration

      public OAuth2ResourceServerAutoConfiguration()