Class OAuth2AuthorizationServerAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.security.oauth2.server.servlet.OAuth2AuthorizationServerAutoConfiguration
@AutoConfiguration(before={OAuth2ResourceServerAutoConfiguration.class,SecurityAutoConfiguration.class,UserDetailsServiceAutoConfiguration.class})
@ConditionalOnClass(org.springframework.security.oauth2.server.authorization.OAuth2Authorization.class)
@ConditionalOnWebApplication(type=SERVLET)
@Import({org.springframework.boot.autoconfigure.security.oauth2.server.servlet.OAuth2AuthorizationServerConfiguration.class,org.springframework.boot.autoconfigure.security.oauth2.server.servlet.OAuth2AuthorizationServerWebSecurityConfiguration.class})
public class OAuth2AuthorizationServerAutoConfiguration
extends Object
Auto-configuration
for OAuth2 authorization server
support.
Note: This configuration and
OAuth2AuthorizationServerJwtAutoConfiguration
work together to ensure that the
ObjectPostProcessor
is defined
BEFORE UserDetailsServiceAutoConfiguration
so that a
UserDetailsService
can be created
if necessary.
- Since:
- 3.1.0
- Author:
- Steve Riesenberg
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
OAuth2AuthorizationServerAutoConfiguration
public OAuth2AuthorizationServerAutoConfiguration()
-