Class SmallRyeJWTAuthCDIExtension

  • All Implemented Interfaces:
    jakarta.enterprise.inject.spi.Extension

    public class SmallRyeJWTAuthCDIExtension
    extends Object
    implements jakarta.enterprise.inject.spi.Extension
    Extension to support JWT producers as well as the internal components of SmallRye JWT in a CDI environment. Applications wishing to use MP-JWT with SmallRye should enable this extension by adding a file named META-INF/services/jakarta.enterprise.inject.spi.Extension to their project with a line giving the fully qualified class name of this class. Note, this extension is not enabled by default.
    Author:
    Michael Edgar <michael@xlate.io>
    • Constructor Detail

      • SmallRyeJWTAuthCDIExtension

        public SmallRyeJWTAuthCDIExtension()
    • Method Detail

      • registerOptionalClaimTypeProducer

        protected boolean registerOptionalClaimTypeProducer()