Philippe Marschall

Results 166 comments of Philippe Marschall

Just assuming a character set / encoding when one was not provided and the contents is not binary will just open a back door to introduce the kind of encoding...

> using the String only as a container of the UTF-8 bytes Sorry to be that guy but this should be avoided. If you're just sending bytes then `String` is...

> I agree, but there were historical reasons for it And we have spent years trying to slowly move away from it. It's not behaviour we want to encourage. >...

I don't know the exact word for this, most databases seem to offer something called "binary collation". I don't know if this is an official thing. But if the specification...

> Any interest in providing a pull request? The tricky part is to generate the dynamic subclass that implements `#getDefault()`. This would be much simpler with when using a byte...

> I think I must be missing something. Can you expand on why making it easier for SSL configuraiton you need to generate a dynamic class that implements getDefault()? Because...

I started a small project that does this. It requires ByteBuddy and Java 11+ https://github.com/marschall/ssl-socket-factory-factory-bean

> JndiSocketFactory.setSocketFactory(getSslSocketFactory()); That does not look particularly thread safe.

> Any interest in providing a PR? I can give it a try. Where would that go? `docs/asciidoc/index.adoc`? If so which chapter?

> Hi, @marschall. I can see how this would be nice, but I'm not sure the underlying Java API supports it since ultimately the `DirContext` environment [wants a class name](https://docs.oracle.com/javase/jndi/tutorial/ldap/security/ssl.html),...