Class DerefMiddlewareHandler

  • All Implemented Interfaces:
    LightHttpHandler, MiddlewareHandler, io.undertow.server.HttpHandler

    public class DerefMiddlewareHandler
    extends Object
    implements MiddlewareHandler
    This is the middleware handler that is responsible for sending the by reference token to OAuth 2.0 provider to exchange to a JWT in order to satisfy the light framework requirement. This is usually used on the BFF which is a static access point for the external clients. For some organizations, they would not send the JWT token to the Internet but only the by reference token to the outside. However, internally we need JWT token to access APIs or services. This handler can work with one OAuth 2.0 provider or two OAuth 2.0 providers (External OAuth 2.0 and Internal OAuth 2.0)
    Author:
    Steve Hu
    • Constructor Detail

      • DerefMiddlewareHandler

        public DerefMiddlewareHandler()