Class IridaOauthSecurityConfig.ResourceServerConfig

  • Enclosing class:
    IridaOauthSecurityConfig

    @Configuration
    protected static class IridaOauthSecurityConfig.ResourceServerConfig
    extends java.lang.Object
    Class for configuring the OAuth resource server security
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ResourceServerConfig()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.core.convert.converter.Converter<org.springframework.security.oauth2.jwt.Jwt,​org.springframework.security.authentication.AbstractAuthenticationToken> jwtAuthenticationConverter()  
      org.springframework.security.web.SecurityFilterChain resourceServerSecurityFilterChain​(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 Detail

      • ResourceServerConfig

        protected ResourceServerConfig()
    • Method Detail

      • resourceServerSecurityFilterChain

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

        @Bean
        public org.springframework.core.convert.converter.Converter<org.springframework.security.oauth2.jwt.Jwt,​org.springframework.security.authentication.AbstractAuthenticationToken> jwtAuthenticationConverter()