Package io.jmix.securityoauth2.config
Class AuthorizationServerSecurityConfiguration
java.lang.Object
io.jmix.securityoauth2.config.AuthorizationServerSecurityConfiguration
@Configuration
@Import({org.springframework.security.oauth2.config.annotation.configuration.ClientDetailsServiceConfiguration.class,org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerEndpointsConfiguration.class})
public class AuthorizationServerSecurityConfiguration
extends Object
A copy of
AuthorizationServerSecurityConfiguration
that doesn't extend WebSecurityConfigurerAdapter
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(org.springframework.security.oauth2.config.annotation.configurers.ClientDetailsServiceConfigurer clientDetails) protected void
configure
(org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerSecurityConfigurer oauthServer) org.springframework.security.web.SecurityFilterChain
securityFilterChain
(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
-
Constructor Details
-
AuthorizationServerSecurityConfiguration
public AuthorizationServerSecurityConfiguration()
-
-
Method Details
-
configure
@Autowired public void configure(org.springframework.security.oauth2.config.annotation.configurers.ClientDetailsServiceConfigurer clientDetails) throws Exception - Throws:
Exception
-
securityFilterChain
@Bean("sec_AuthorizationServerSecurityFilterChain") @Order(150) public org.springframework.security.web.SecurityFilterChain securityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception - Throws:
Exception
-
configure
protected void configure(org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerSecurityConfigurer oauthServer) throws Exception - Throws:
Exception
-