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 Details

    • OAuth2ResourceServerConfigurer

      public OAuth2ResourceServerConfigurer()
  • Method Details

    • setApplicationEventPublisher

      @Autowired public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
    • setTokenMasker

      @Autowired public void setTokenMasker(TokenMasker tokenMasker)
    • setLocaleProvider

      @Autowired public void setLocaleProvider(RequestLocaleProvider localeProvider)
    • setOauth2Properties

      @Autowired public void setOauth2Properties(SecurityOAuth2Properties oauth2Properties)
    • setUserRepository

      @Autowired public void setUserRepository(UserRepository userRepository)
    • getApplicationEventPublisher

      public org.springframework.context.ApplicationEventPublisher getApplicationEventPublisher()
    • getTokenMasker

      public TokenMasker getTokenMasker()
    • getLocaleProvider

      public RequestLocaleProvider getLocaleProvider()
    • configure

      public void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
      Specified by:
      configure in interface org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurer
      Overrides:
      configure in class org.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 interface org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurer
      Overrides:
      configure in class org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter
      Throws:
      Exception
    • getLastSecurityFilter

      public LastSecurityFilter getLastSecurityFilter()