Package io.smallrye.jwt.auth.cdi
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 Summary
Constructors Constructor Description PrincipalProducer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetJsonWebToken(org.eclipse.microprofile.jwt.JsonWebToken token)
-