org.wildfly.swarm.microprofile.jwtauth.deployment.auth

## Class JWTAuthMethodExtension

- java.lang.Object
- - org.wildfly.swarm.microprofile.jwtauth.deployment.auth.JWTAuthMethodExtension

-     public class JWTAuthMethodExtension
      extends Object

  An extension that add support for the MP-JWT custom authentication mechanism

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JWTAuthMethodExtension()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `handleDeployment(DeploymentInfo deploymentInfo, ServletContext servletContext)` This registers the JWTAuthMechanismFactory under the "MP-JWT" mechanism name

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JWTAuthMethodExtension

          public JWTAuthMethodExtension()

  - ### Method Detail

    - #### handleDeployment

          public void handleDeployment(DeploymentInfo deploymentInfo,
                                       ServletContext servletContext)

      This registers the JWTAuthMechanismFactory under the "MP-JWT" mechanism name
      Parameters:
        `deploymentInfo` - - the deployment to augment
        `servletContext` - - the ServletContext for the deployment

Copyright © 2017 JBoss by Red Hat. All rights reserved.