Package swiss.trustbroker.oidc
Class OidcServerConfiguration
java.lang.Object
swiss.trustbroker.oidc.OidcServerConfiguration
-
Constructor Summary
ConstructorsConstructorDescriptionOidcServerConfiguration(OidcProperties oidcProperties, ClientConfigInMemoryRepository registeredClientRepository, RelyingPartyDefinitions relyingPartyDefinitions, TrustBrokerProperties trustBrokerProperties, ScriptService scriptService, tools.jackson.databind.ObjectMapper objectMapper, OidcEncryptionKeystoreService encryptionKeystoreService, OidcMetadataCacheService oidcMetadataCacheService, RelyingPartyService relyingPartyService, RelyingPartySetupService relyingPartySetupService, QoaMappingService qoaMappingService, OidcAuditService auditService) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.web.SecurityFilterChainauthorizationServerSecurityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http, org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService authorizationService, org.springframework.security.oauth2.jwt.JwtDecoder jwtDecoder, com.nimbusds.jose.jwk.source.JWKSource<com.nimbusds.jose.proc.SecurityContext> jwkSource, CustomOAuth2AuthorizationService customOAuth2AuthorizationService, org.springframework.security.oauth2.server.authorization.token.OAuth2TokenGenerator<org.springframework.security.oauth2.core.OAuth2Token> tokenGenerator) org.springframework.security.oauth2.server.authorization.settings.AuthorizationServerSettingsauthorizationService(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate, org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository, TrustBrokerProperties trustBrokerProperties, GlobalExceptionHandler globalExceptionHandler, Clock clock, MetricsService metricsService) org.springframework.security.oauth2.server.authorization.InMemoryOAuth2AuthorizationServiceorg.springframework.security.web.AuthenticationEntryPointentryPoint(RelyingPartyDefinitions relyingPartyDefinitions) org.springframework.security.core.session.SessionRegistry
-
Constructor Details
-
OidcServerConfiguration
public OidcServerConfiguration(OidcProperties oidcProperties, ClientConfigInMemoryRepository registeredClientRepository, RelyingPartyDefinitions relyingPartyDefinitions, TrustBrokerProperties trustBrokerProperties, ScriptService scriptService, tools.jackson.databind.ObjectMapper objectMapper, OidcEncryptionKeystoreService encryptionKeystoreService, OidcMetadataCacheService oidcMetadataCacheService, RelyingPartyService relyingPartyService, RelyingPartySetupService relyingPartySetupService, QoaMappingService qoaMappingService, OidcAuditService auditService)
-
-
Method Details
-
sessionRegistry
@Bean public org.springframework.security.core.session.SessionRegistry sessionRegistry() -
authorizationServerSecurityFilterChain
@Bean @Order(-2147483648) public 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.security.oauth2.jwt.JwtDecoder jwtDecoder, com.nimbusds.jose.jwk.source.JWKSource<com.nimbusds.jose.proc.SecurityContext> jwkSource, CustomOAuth2AuthorizationService customOAuth2AuthorizationService, org.springframework.security.oauth2.server.authorization.token.OAuth2TokenGenerator<org.springframework.security.oauth2.core.OAuth2Token> tokenGenerator) -
entryPoint
@Bean public org.springframework.security.web.AuthenticationEntryPoint entryPoint(RelyingPartyDefinitions relyingPartyDefinitions) -
authorizationService
@Bean @ConditionalOnProperty(value="trustbroker.config.serverMultiProcessed", havingValue="true", matchIfMissing=true) public CustomOAuth2AuthorizationService authorizationService(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate, org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository, TrustBrokerProperties trustBrokerProperties, GlobalExceptionHandler globalExceptionHandler, Clock clock, MetricsService metricsService) -
authorizationServiceDev
@Bean @ConditionalOnBooleanProperty(value="trustbroker.config.servermultiprocessed", havingValue=false) public org.springframework.security.oauth2.server.authorization.InMemoryOAuth2AuthorizationService authorizationServiceDev() -
authorizationServerSettings
@Bean public org.springframework.security.oauth2.server.authorization.settings.AuthorizationServerSettings authorizationServerSettings()
-