public interface ConfidentialPortManager
HttpServerExchange
of the current request and obtain the number of the port number to use in https redirects.Modifier and Type | Method and Description |
---|---|
int | getConfidentialPort(HttpServerExchange exchange) Obtain the port number to redirect the current request to to provide the transport guarantee of CONDIFENTIAL. |
int getConfidentialPort(HttpServerExchange exchange)
exchange
- The current HttpServerExchange
being redirected.-1
if no configured port is available.Copyright © 2017 JBoss by Red Hat. All rights reserved.