Class JwtAuthenticationSecurityConfiguration

java.lang.Object
org.apache.nifi.web.security.configuration.JwtAuthenticationSecurityConfiguration

@Configuration public class JwtAuthenticationSecurityConfiguration extends Object
JSON Web Token Configuration for Authentication Security
  • Field Details

    • REQUIRED_CLAIMS

      private static final Set<String> REQUIRED_CLAIMS
    • niFiProperties

      private final NiFiProperties niFiProperties
    • authorizer

      private final Authorizer authorizer
    • stateManagerProvider

      private final StateManagerProvider stateManagerProvider
    • keyRotationPeriod

      private final Duration keyRotationPeriod
  • Constructor Details

  • Method Details

    • bearerTokenAuthenticationFilter

      @Bean public org.springframework.security.oauth2.server.resource.web.authentication.BearerTokenAuthenticationFilter bearerTokenAuthenticationFilter(org.springframework.security.authentication.AuthenticationManager authenticationManager)
    • bearerTokenResolver

      @Bean public org.springframework.security.oauth2.server.resource.web.BearerTokenResolver bearerTokenResolver()
    • authenticationEntryPoint

      @Bean public StandardAuthenticationEntryPoint authenticationEntryPoint()
    • jwtAuthenticationProvider

      @Bean public org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationProvider jwtAuthenticationProvider()
    • jwtDecoder

      @Bean public org.springframework.security.oauth2.jwt.JwtDecoder jwtDecoder()
    • jwtRevocationValidator

      @Bean public org.springframework.security.oauth2.core.OAuth2TokenValidator<org.springframework.security.oauth2.jwt.Jwt> jwtRevocationValidator()
    • jwtRevocationService

      @Bean public JwtRevocationService jwtRevocationService()
    • jwtLogoutListener

      @Bean public JwtLogoutListener jwtLogoutListener()
    • jwtProcessor

      @Bean public com.nimbusds.jwt.proc.JWTProcessor<com.nimbusds.jose.proc.SecurityContext> jwtProcessor()
    • jwsKeySelector

      @Bean public com.nimbusds.jose.proc.JWSKeySelector<com.nimbusds.jose.proc.SecurityContext> jwsKeySelector()
    • claimsSetVerifier

      @Bean public com.nimbusds.jwt.proc.JWTClaimsSetVerifier<com.nimbusds.jose.proc.SecurityContext> claimsSetVerifier()
    • jwtAuthenticationConverter

      @Bean public StandardJwtAuthenticationConverter jwtAuthenticationConverter()
    • bearerTokenProvider

      @Bean public BearerTokenProvider bearerTokenProvider()
    • issuerProvider

      @Bean public IssuerProvider issuerProvider()
    • jwsSignerProvider

      @Bean public StandardJwsSignerProvider jwsSignerProvider()
    • verificationKeySelector

      @Bean public StandardVerificationKeySelector verificationKeySelector()
    • verificationKeyService

      @Bean public VerificationKeyService verificationKeyService()
    • keyGenerationCommand

      @Bean public KeyGenerationCommand keyGenerationCommand()
    • keyExpirationCommand

      @Bean public KeyExpirationCommand keyExpirationCommand()
    • revocationExpirationCommand

      @Bean public RevocationExpirationCommand revocationExpirationCommand()
    • commandScheduler

      @Bean public org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler commandScheduler()