Class IridaOauthSecurityConfig.ResourceServerConfig
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.config.security.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)
-
-
-
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()
-
-