code: public void setAuthMechOid(String authMechOid) {
          if (authMechOid == null || authMechOid.length() == 0) {
              this.authMechOid = this.getdefaultAuthMechOid();
          } else {
              this.authMechOid = authMechOid;
          }
      }
docs: <p>
  Set the authentication mechanism OID.
  </p>
  
  @param authMechOid The authentication mechanism OID.