Class PrincipalProducer
- java.lang.Object
-
- be.atbash.runtime.security.jwt.inject.PrincipalProducer
-
@Priority(1) @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)
-