code: protected Tuple2<String, Seq<Object>> toScalaTuple(String message, List<Object> params) {
          return new Tuple2<String, Seq<Object>>(message, JavaConverters.collectionAsScalaIterableConverter(params).asScala().toSeq());
      }
docs: A helper method to create the tuple expected by PasswordValidator from a Java String and List objects.
  
  @param message
  @param params
  @return