public class MPJWTExtension extends Object implements javax.enterprise.inject.spi.Extension
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(javax.enterprise.inject.spi.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(javax.enterprise.inject.spi.AfterDeploymentValidation event,
javax.enterprise.inject.spi.BeanManager beanManager) |
void |
observeBeforeBeanDiscovery(javax.enterprise.inject.spi.BeforeBeanDiscovery bbd,
javax.enterprise.inject.spi.BeanManager beanManager)
Register the MPJWTProducer JsonWebToken producer bean
|
public void observeBeforeBeanDiscovery(@Observes
javax.enterprise.inject.spi.BeforeBeanDiscovery bbd,
javax.enterprise.inject.spi.BeanManager beanManager)
bbd - before discovery eventbeanManager - cdi bean managerpublic void addTypeToClaimProducer(@Observes
javax.enterprise.inject.spi.ProcessBeanAttributes pba)
pba - the ProcessBeanAttributesClaimProviderBeanAttributespublic void afterDeploymentValidation(@Observes
javax.enterprise.inject.spi.AfterDeploymentValidation event,
javax.enterprise.inject.spi.BeanManager beanManager)
Copyright © 2018 JBoss by Red Hat. All rights reserved.