server/src/main/java/com/orientechnologies/orient/server/security/OSecurityAuthenticatorAbstract.java
public String getAuthenticationHeader(String databaseName) {
    String header;

    // Default to Basic.
    if (databaseName != null)
      header = "WWW-Authenticate: Basic realm=\"OrientDB db-" + databaseName + "\"";
    else
      header = "WWW-Authenticate: Basic realm=\"OrientDB Server\"";

    return header;
  }
public String getAuthenticationHeader(String databaseName) {
    String header;

    // Default to Basic.
    if (databaseName != null)
      header = "WWW-Authenticate: Basic realm=\"OrientDB db-" + databaseName + "\"";
    else
      header = "WWW-Authenticate: Basic realm=\"OrientDB Server\"";

    return header;
  }
public String getAuthenticationHeader ( String databaseName ) { String header ; // Default to Basic. if ( databaseName != null ) header = "WWW-Authenticate: Basic realm=\"OrientDB db-" + databaseName + "\"" ; else header = "WWW-Authenticate: Basic realm=\"OrientDB Server\"" ; return header ; }
databaseName may be null.
databaseName may be null .