Class JwtAuthCdiExtension

  • All Implemented Interfaces:
    Extension

    public class JwtAuthCdiExtension
    extends Object
    implements Extension
    JWT Authentication CDI extension class.
    • Constructor Detail

      • JwtAuthCdiExtension

        public JwtAuthCdiExtension()
    • Method Detail

      • before

        public void before​(@Observes
                           BeforeBeanDiscovery discovery)
        Initializes the extension prior to bean discovery.
        Parameters:
        discovery - bean discovery event
      • collectClaimProducer

        public void collectClaimProducer​(@Observes
                                         ProcessInjectionPoint<?,​?> pip)
        Process each injection point for Claim.
        Parameters:
        pip - event from CDI container
      • registerClaimProducers

        public void registerClaimProducers​(@Observes
                                           AfterBeanDiscovery abd,
                                           BeanManager bm)
        Register a claim producer bean for each Claim injection.
        Parameters:
        abd - event from CDI container
        bm - bean manager