@Override
  public TrustedProxyAuthenticationDetails buildDetails(HttpServletRequest httpServletRequest) {
    return new TrustedProxyAuthenticationDetails(httpServletRequest);
  }
TrustedProxyAuthenticationDetailsSource is an implementation of a {@link AuthenticationDetailsSource}
that produces {@link TrustedProxyAuthenticationDetails} instances.

@see TrustedProxyAuthenticationDetails
ambari-server/src/main/java/org/apache/ambari/server/security/authentication/tproxy/TrustedProxyAuthenticationDetailsSource.java