public int getServerPort() {
        int port = getUri().getPort();
        if(port == -1) {
            if(isSecure()) {
                port = DEFAULT_HTTPS_PORT;
            }
            else {
                port = DEFAULT_HTTP_PORT;
            }
        }

        return port;
    }
Returns the login of the user making this request,
 if the user has been authenticated, or null if the user has not been authenticated.
container-core/src/main/java/com/yahoo/jdisc/http/filter/DiscFilterRequest.java