public boolean isValidInternalToken(String token) {
    return this.token.equals(token);
  }
Generates single token for internal authentication
ambari-server/src/main/java/org/apache/ambari/server/security/authorization/internal/InternalTokenStorage.java