public class MPJWTExtension extends Object
JWTAuthMechanism
request
authentication handler.
This also installs the producer methods for the discovered:
JWTAuthMechanism
Modifier and Type | Class and Description |
---|---|
static class |
MPJWTExtension.ClaimIP
The representation of an @Claim annotated injection site
|
static class |
MPJWTExtension.ClaimIPType
A key for a claim,injection site type pair
|
Constructor and Description |
---|
MPJWTExtension() |
Modifier and Type | Method and Description |
---|---|
void |
addTypeToClaimProducer(ProcessBeanAttributes pba)
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.
|
void |
afterDeploymentValidation(AfterDeploymentValidation event,
BeanManager beanManager) |
void |
observeBeforeBeanDiscovery(BeforeBeanDiscovery bbd,
BeanManager beanManager)
Register the MPJWTProducer JsonWebToken producer bean
|
public void observeBeforeBeanDiscovery(BeforeBeanDiscovery bbd, BeanManager beanManager)
bbd
- before discovery eventbeanManager
- cdi bean managerpublic void addTypeToClaimProducer(ProcessBeanAttributes pba)
pba
- the ProcessBeanAttributesClaimProviderBeanAttributes
public void afterDeploymentValidation(AfterDeploymentValidation event, BeanManager beanManager)
Copyright © 2019 JBoss by Red Hat. All rights reserved.