Class OAuth2AuthorizationServerConfigurer
java.lang.Object
io.jmix.securityoauth2.configurer.OAuth2AuthorizationServerConfigurer
- All Implemented Interfaces:
org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurer
- Direct Known Subclasses:
SecurityOAuth2AutoConfiguration.Oauth2AuthorizationServerConfiguration
public class OAuth2AuthorizationServerConfigurer
extends Object
implements org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(org.springframework.security.oauth2.config.annotation.configurers.ClientDetailsServiceConfigurer clients) void
configure
(org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerEndpointsConfigurer endpoints) void
configure
(org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerSecurityConfigurer security) org.springframework.security.web.SecurityFilterChain
securityFilterChain
(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
-
Constructor Details
-
OAuth2AuthorizationServerConfigurer
public OAuth2AuthorizationServerConfigurer()
-
-
Method Details
-
configure
public void configure(org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerSecurityConfigurer security) throws Exception - Specified by:
configure
in interfaceorg.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurer
- Throws:
Exception
-
configure
public void configure(org.springframework.security.oauth2.config.annotation.configurers.ClientDetailsServiceConfigurer clients) throws Exception - Specified by:
configure
in interfaceorg.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurer
- Throws:
Exception
-
configure
public void configure(org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerEndpointsConfigurer endpoints) - Specified by:
configure
in interfaceorg.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurer
-
securityFilterChain
@Bean("sec_OAuthAuthorizationServerSecurityFilterChain") @Order(200) public org.springframework.security.web.SecurityFilterChain securityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception - Throws:
Exception
-