Class OAuth2ResourceServerConfigurer
java.lang.Object
org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter
io.jmix.securityoauth2.configurer.OAuth2ResourceServerConfigurer
- All Implemented Interfaces:
org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurer
- Direct Known Subclasses:
SecurityOAuth2AutoConfiguration.Oauth2ResourceServerConfiguration
public class OAuth2ResourceServerConfigurer
extends org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(org.springframework.security.config.annotation.web.builders.HttpSecurity http) void
configure
(org.springframework.security.oauth2.config.annotation.web.configurers.ResourceServerSecurityConfigurer resources) org.springframework.context.ApplicationEventPublisher
void
setApplicationEventPublisher
(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) void
setLocaleProvider
(RequestLocaleProvider localeProvider) void
setOauth2Properties
(SecurityOAuth2Properties oauth2Properties) void
setTokenMasker
(TokenMasker tokenMasker) void
setUserRepository
(UserRepository userRepository)
-
Constructor Details
-
OAuth2ResourceServerConfigurer
public OAuth2ResourceServerConfigurer()
-
-
Method Details
-
setApplicationEventPublisher
@Autowired public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) -
setTokenMasker
-
setLocaleProvider
-
setOauth2Properties
-
setUserRepository
-
getApplicationEventPublisher
public org.springframework.context.ApplicationEventPublisher getApplicationEventPublisher() -
getTokenMasker
-
getLocaleProvider
-
configure
public void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception - Specified by:
configure
in interfaceorg.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurer
- Overrides:
configure
in classorg.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter
- Throws:
Exception
-
configure
public void configure(org.springframework.security.oauth2.config.annotation.web.configurers.ResourceServerSecurityConfigurer resources) throws Exception - Specified by:
configure
in interfaceorg.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurer
- Overrides:
configure
in classorg.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter
- Throws:
Exception
-
getLastSecurityFilter
-