public Serializer disableWhitelist(){
  whitelistRequired.set(false);
  return this;
}

public Serializer disableWhitelist ( ) { whitelistRequired . set ( false ) ; return this ; }
disables whitelisting for serializable types . < p > when whitelisting is disabled , types that are not registered may be serialized and deserialized by this serializer . this can pose a security risk in an untrusted network . it ' s recommended that users enable whitelisting and register serializable classes .
