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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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