Class OAuth2ResourceServerAutoConfiguration
- java.lang.Object
- org.springframework.boot.autoconfigure.security.oauth2.resource.servlet.OAuth2ResourceServerAutoConfiguration
@Configuration @AutoConfigureBefore(SecurityAutoConfiguration.class) @EnableConfigurationProperties(OAuth2ResourceServerProperties.class) @ConditionalOnClass(org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken.class) @ConditionalOnWebApplication(type=SERVLET) @Import({org.springframework.boot.autoconfigure.security.oauth2.resource.servlet.OAuth2ResourceServerJwkConfiguration.class,org.springframework.boot.autoconfigure.security.oauth2.resource.servlet.OAuth2ResourceServerWebSecurityConfiguration.class}) public class OAuth2ResourceServerAutoConfiguration extends Object
Auto-configuration
for OAuth resource server support.- Since:
- 2.1.0
Constructor Detail
OAuth2ResourceServerAutoConfiguration
public OAuth2ResourceServerAutoConfiguration()