Class IridaOauthSecurityConfig.AuthorizationServerConfig
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.config.security.IridaOauthSecurityConfig.AuthorizationServerConfig
-
- Enclosing class:
- IridaOauthSecurityConfig
@Configuration(proxyBeanMethods=false) protected static class IridaOauthSecurityConfig.AuthorizationServerConfig extends java.lang.ObjectClass for configuring the OAuth authorization server
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAuthorizationServerConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationConsentServiceauthorizationConsentService(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate, org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository)org.springframework.security.web.SecurityFilterChainauthorizationServerSecurityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http)org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationServiceauthorizationService(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.ClientSecretAuthenticationProvideroauthClientAuthProvider(org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository, org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService oAuth2AuthorizationService)org.springframework.security.oauth2.server.authorization.config.ProviderSettingsproviderSettings()
-
-
-
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()
-
-