code: private static String determineTicketSuffixByHostName(final String suffix) {
          if (StringUtils.isNotBlank(suffix)) {
              return suffix;
          }
          return InetAddressUtils.getCasServerHostName();
      }
docs: Appends the first part of the host name to the ticket id,
  so as to moderately provide a relevant unique value mapped to
  the host name AND not auto-leak infrastructure data out into the configuration and logs.
  <ul>
  <li>If the CAS node name is {@code cas-01.sso.edu} then, the suffix
  determined would just be {@code cas-01}</li>
  <li>If the CAS node name is {@code cas-01} then, the suffix
  determined would just be {@code cas-01}</li>
  </ul>
  
  @param suffix the suffix
  @return the shortened ticket suffix based on the hostname
  @since 4.1.0