public String getCachedAppCookie(String endpoint) {
    return endpointCookieMap.get(endpoint);
  }
Returns the cached app cookie
 @param endpoint the hadoop end point we authenticate to
@return the cached app cookie, can be null
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AppCookieManager.java