Class ResourceServerConfiguration

java.lang.Object
io.jmix.securityoauth2.config.ResourceServerConfiguration
All Implemented Interfaces:
org.springframework.core.Ordered

@Configuration public class ResourceServerConfiguration extends Object implements org.springframework.core.Ordered
A copy of ResourceServerConfiguration that doesn't extend WebSecurityConfigurerAdapter.
  • Field Summary

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    org.springframework.security.web.SecurityFilterChain
    securityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
     
    void
    setConfigurers(List<org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurer> configurers)
     
    void
    setOrder(int order)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ResourceServerConfiguration

      public ResourceServerConfiguration()
  • Method Details

    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered
    • setOrder

      public void setOrder(int order)
    • setConfigurers

      @Autowired(required=false) public void setConfigurers(List<org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurer> configurers)
      Parameters:
      configurers - the configurers to set
    • securityFilterChain

      @Bean("sec_OAuthResourceServerSecurityFilterChain") @Order(250) public org.springframework.security.web.SecurityFilterChain securityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
      Throws:
      Exception