code: public void setPrincipals(java.util.Collection<String> principals) {
          if (principals == null) {
              this.principals = null;
              return;
          }
  
          this.principals = new java.util.ArrayList<String>(principals);
      }
docs: <p>
  The principals.
  </p>
  
  @param principals
  The principals.