Interface ConfidentialPortManager


  • public interface ConfidentialPortManager
    A utility to take the HttpServerExchange of the current request and obtain the number of the port number to use in https redirects.
    Author:
    Darran Lofthouse
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getConfidentialPort​(io.undertow.server.HttpServerExchange exchange)
      Obtain the port number to redirect the current request to to provide the transport guarantee of CONDIFENTIAL.
    • Method Detail

      • getConfidentialPort

        int getConfidentialPort​(io.undertow.server.HttpServerExchange exchange)
        Obtain the port number to redirect the current request to to provide the transport guarantee of CONDIFENTIAL.
        Parameters:
        exchange - The current HttpServerExchange being redirected.
        Returns:
        The port to use in the redirection URI or -1 if no configured port is available.