Replace the general producer method BeanAttributes with one bound to the collected injection site
types to properly reflect all of the type locations the producer method applies to.
Set the producer method bean name to the claim name + the injection site type
getName() - Method in class org.wildfly.swarm.microprofile.jwtauth.deployment.auth.jaas.JWTCredential
This just parses the token without validation to extract one of the following in order to obtain
the name to be used for the principal:
upn
preferred_username
subject
If there is an exception it sets the name to INVALID_TOKEN_NAME and saves the exception for access
via JWTCredential.getJwtException()
A DeploymentProcessor implementation for the MP-JWT custom authentication mechanism that adds support
for that mechanism to any war the declares a login-config/auth-method = MP-JWT.
A CDI extension that provides a producer for the current authenticated JsonWebToken based on a thread
local value that is managed by the JWTAuthMechanism request
authentication handler.
A class that tracks the current validated MP-JWT and associated JsonWebToken via a thread
local to provide a @RequestScoped JsonWebToken producer method.
MPJWTProducer() - Constructor for class org.wildfly.swarm.microprofile.jwtauth.deployment.auth.cdi.MPJWTProducer