getting secure port
by Bill Burke
I need to be able to resolve what port SSL is on. I'm getting an NPE,
am I doing something wrong?
I'm getting the port manager within a ServletExtension:
deploymentInfo.getConfidentialPortManager()
Then during requests I'm calling
ConfidentialPortManager.getConfidentialPort(exchange)
But I'm getting an NPE:
09:15:46,705 ERROR [io.undertow.request] (default task-96) UT005023:
Exception handling request to /customer-portal/index. html:
java.lang.NullPointerException
at
org.wildfly.extension.undertow.Server.lookupSecurePort(Server.java:113)
at
org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$2.getConfidentialPort(UndertowDeploymen
tInfoService.java:461)
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
10 years, 6 months