Class PrincipalProducer

java.lang.Object
io.smallrye.jwt.auth.cdi.PrincipalProducer

@Priority(1) @Alternative @RequestScoped public class PrincipalProducer extends Object
Override the default CDI Principal bean to allow the injection of a Principal to be a JsonWebToken
  • Constructor Details

    • PrincipalProducer

      public PrincipalProducer()
  • Method Details

    • setJsonWebToken

      public void setJsonWebToken(org.eclipse.microprofile.jwt.JsonWebToken token)