@Configuration public class JwtAuthenticationSecurityConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
private Authorizer |
authorizer |
private IdpUserGroupService |
idpUserGroupService |
private Duration |
keyRotationPeriod |
private NiFiProperties |
niFiProperties |
private static Set<String> |
REQUIRED_CLAIMS |
private StateManagerProvider |
stateManagerProvider |
| Constructor and Description |
|---|
JwtAuthenticationSecurityConfiguration(NiFiProperties niFiProperties,
Authorizer authorizer,
IdpUserGroupService idpUserGroupService,
StateManagerProvider stateManagerProvider) |
| Modifier and Type | Method and Description |
|---|---|
StandardAuthenticationEntryPoint |
authenticationEntryPoint() |
org.springframework.security.oauth2.server.resource.web.BearerTokenAuthenticationFilter |
bearerTokenAuthenticationFilter(org.springframework.security.authentication.AuthenticationManager authenticationManager) |
BearerTokenProvider |
bearerTokenProvider() |
org.springframework.security.oauth2.server.resource.web.BearerTokenResolver |
bearerTokenResolver() |
com.nimbusds.jwt.proc.JWTClaimsSetVerifier<com.nimbusds.jose.proc.SecurityContext> |
claimsSetVerifier() |
org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler |
commandScheduler() |
com.nimbusds.jose.proc.JWSKeySelector<com.nimbusds.jose.proc.SecurityContext> |
jwsKeySelector() |
StandardJwsSignerProvider |
jwsSignerProvider() |
StandardJwtAuthenticationConverter |
jwtAuthenticationConverter() |
org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationProvider |
jwtAuthenticationProvider() |
org.springframework.security.oauth2.jwt.JwtDecoder |
jwtDecoder() |
JwtLogoutListener |
jwtLogoutListener() |
com.nimbusds.jwt.proc.JWTProcessor<com.nimbusds.jose.proc.SecurityContext> |
jwtProcessor() |
JwtRevocationService |
jwtRevocationService() |
org.springframework.security.oauth2.core.OAuth2TokenValidator<org.springframework.security.oauth2.jwt.Jwt> |
jwtRevocationValidator() |
KeyExpirationCommand |
keyExpirationCommand() |
KeyGenerationCommand |
keyGenerationCommand() |
RevocationExpirationCommand |
revocationExpirationCommand() |
StandardVerificationKeySelector |
verificationKeySelector() |
VerificationKeyService |
verificationKeyService() |
private final NiFiProperties niFiProperties
private final Authorizer authorizer
private final IdpUserGroupService idpUserGroupService
private final StateManagerProvider stateManagerProvider
private final Duration keyRotationPeriod
@Autowired public JwtAuthenticationSecurityConfiguration(NiFiProperties niFiProperties, Authorizer authorizer, IdpUserGroupService idpUserGroupService, StateManagerProvider stateManagerProvider)
@Bean public org.springframework.security.oauth2.server.resource.web.BearerTokenAuthenticationFilter bearerTokenAuthenticationFilter(org.springframework.security.authentication.AuthenticationManager authenticationManager)
@Bean public org.springframework.security.oauth2.server.resource.web.BearerTokenResolver bearerTokenResolver()
@Bean public StandardAuthenticationEntryPoint authenticationEntryPoint()
@Bean public org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationProvider jwtAuthenticationProvider()
@Bean public org.springframework.security.oauth2.jwt.JwtDecoder jwtDecoder()
@Bean public org.springframework.security.oauth2.core.OAuth2TokenValidator<org.springframework.security.oauth2.jwt.Jwt> jwtRevocationValidator()
@Bean public JwtRevocationService jwtRevocationService()
@Bean public JwtLogoutListener jwtLogoutListener()
@Bean public com.nimbusds.jwt.proc.JWTProcessor<com.nimbusds.jose.proc.SecurityContext> jwtProcessor()
@Bean public com.nimbusds.jose.proc.JWSKeySelector<com.nimbusds.jose.proc.SecurityContext> jwsKeySelector()
@Bean public com.nimbusds.jwt.proc.JWTClaimsSetVerifier<com.nimbusds.jose.proc.SecurityContext> claimsSetVerifier()
@Bean public StandardJwtAuthenticationConverter jwtAuthenticationConverter()
@Bean public BearerTokenProvider bearerTokenProvider()
@Bean public StandardJwsSignerProvider jwsSignerProvider()
@Bean public StandardVerificationKeySelector verificationKeySelector()
@Bean public VerificationKeyService verificationKeyService()
@Bean public KeyGenerationCommand keyGenerationCommand()
@Bean public KeyExpirationCommand keyExpirationCommand()
@Bean public RevocationExpirationCommand revocationExpirationCommand()
@Bean public org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler commandScheduler()
Copyright © 2023 Apache NiFi Project. All rights reserved.