Class AuthServerAutoConfiguration.AuthorizationServerSecurityConfiguration

java.lang.Object
io.jmix.autoconfigure.authserver.AuthServerAutoConfiguration.AuthorizationServerSecurityConfiguration
Enclosing class:
AuthServerAutoConfiguration

@Configuration(proxyBeanMethods=false) public static class AuthServerAutoConfiguration.AuthorizationServerSecurityConfiguration extends Object
  • Field Details

  • Constructor Details

    • AuthorizationServerSecurityConfiguration

      public AuthorizationServerSecurityConfiguration(AuthServerProperties authServerProperties)
  • Method Details

    • authorizationServerCorsSecurityFilterChain

      @Bean("authsr_AuthorizationServerCorsSecurityFilterChain") @Order(205) public org.springframework.security.web.SecurityFilterChain authorizationServerCorsSecurityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
      Enables CORS for pre-flight requests to OAuth2 endpoints
      Throws:
      Exception
    • authorizationServerSecurityFilterChain

      @Bean("authsr_AuthorizationServerSecurityFilterChain") @Order(200) public org.springframework.security.web.SecurityFilterChain authorizationServerSecurityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
      Throws:
      Exception
    • loginFormSecurityFilterChain

      @Bean("authsr_LoginFormSecurityFilterChain") @Order(210) public org.springframework.security.web.SecurityFilterChain loginFormSecurityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
      Throws:
      Exception
    • oAuth2AuthorizationService

      @Bean @ConditionalOnMissingBean public org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService oAuth2AuthorizationService()
    • authorizationServerSettings

      @Bean public org.springframework.security.oauth2.server.authorization.settings.AuthorizationServerSettings authorizationServerSettings()
    • inMemoryRegisteredClientRoleAssignmentRepository

      @Bean @ConditionalOnMissingBean(RegisteredClientRoleAssignmentRepository.class) public InMemoryRegisteredClientRoleAssignmentRepository inMemoryRegisteredClientRoleAssignmentRepository()