Class IridaOauthSecurityConfig.AuthorizationServerConfig

  • Enclosing class:
    IridaOauthSecurityConfig

    @Configuration(proxyBeanMethods=false)
    protected static class IridaOauthSecurityConfig.AuthorizationServerConfig
    extends java.lang.Object
    Class for configuring the OAuth authorization server
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationConsentService authorizationConsentService​(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate, org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository)  
      org.springframework.security.web.SecurityFilterChain authorizationServerSecurityFilterChain​(org.springframework.security.config.annotation.web.builders.HttpSecurity http)  
      org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService authorizationService​(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate, org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository)  
      org.springframework.security.oauth2.server.authorization.token.OAuth2TokenCustomizer<org.springframework.security.oauth2.server.authorization.token.JwtEncodingContext> jwtCustomizer()  
      org.springframework.security.oauth2.server.authorization.token.OAuth2TokenGenerator<org.springframework.security.oauth2.core.OAuth2Token> oAuth2TokenGenerator​(org.springframework.security.oauth2.jwt.JwtEncoder jwtEncoder, org.springframework.security.oauth2.server.authorization.token.OAuth2TokenCustomizer<org.springframework.security.oauth2.server.authorization.token.JwtEncodingContext> jwtCustomizer)  
      org.springframework.security.oauth2.server.authorization.authentication.ClientSecretAuthenticationProvider oauthClientAuthProvider​(org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository, org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService oAuth2AuthorizationService)  
      org.springframework.security.oauth2.server.authorization.config.ProviderSettings providerSettings()  
      • Methods inherited from class java.lang.Object

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

      • AuthorizationServerConfig

        protected AuthorizationServerConfig()
    • Method Detail

      • authorizationServerSecurityFilterChain

        @Bean
        @Order(-2147483648)
        public org.springframework.security.web.SecurityFilterChain authorizationServerSecurityFilterChain​(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
                                                                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • authorizationService

        @Bean
        public org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService authorizationService​(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate,
                                                                                                                        org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository)
      • authorizationConsentService

        @Bean
        public org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationConsentService authorizationConsentService​(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate,
                                                                                                                                      org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository)
      • oauthClientAuthProvider

        @Bean
        public org.springframework.security.oauth2.server.authorization.authentication.ClientSecretAuthenticationProvider oauthClientAuthProvider​(org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository,
                                                                                                                                                  org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService oAuth2AuthorizationService)
      • jwtCustomizer

        @Bean
        public org.springframework.security.oauth2.server.authorization.token.OAuth2TokenCustomizer<org.springframework.security.oauth2.server.authorization.token.JwtEncodingContext> jwtCustomizer()
      • oAuth2TokenGenerator

        @Bean
        public org.springframework.security.oauth2.server.authorization.token.OAuth2TokenGenerator<org.springframework.security.oauth2.core.OAuth2Token> oAuth2TokenGenerator​(org.springframework.security.oauth2.jwt.JwtEncoder jwtEncoder,
                                                                                                                                                                              org.springframework.security.oauth2.server.authorization.token.OAuth2TokenCustomizer<org.springframework.security.oauth2.server.authorization.token.JwtEncodingContext> jwtCustomizer)
      • providerSettings

        @Bean
        public org.springframework.security.oauth2.server.authorization.config.ProviderSettings providerSettings()