Hi Alan, actually, I do not know, but I suspect it should work OOTB as we are using the javax.naming.ldap.InitialLdapContext [1].
I discussed the new SPI with the shiro team, there is no experience with it yet. An integration test with an ApacheDS server as might reveal if it works as expected. However, no such tests exists at this time. I will get back to you as soon as we have a working IT in place. Contributions are always welcome! ;-) - Ben [1]: https://github.com/apache/shiro/blob/0e5a4428bcaa0a4c03680f5faad5a4c897379497/core/src/main/java/org/apache/shiro/realm/ldap/JndiLdapContextFactory.java#L507-L509 Am Di., 29. Dez. 2020 um 07:39 Uhr schrieb Alan Bateman < alan.bate...@oracle.com>: > On 27/12/2020 10:05, Benjamin Marwell wrote: > > Is there more than just one? The built-in will provide support > > for javax.naming.spi.LdapDnsProvider from java 12 onwards. > > But I was not aware of any custom implementations I could use as a > > drop-in replacement with Apache Shiro. > > > Do you know if the Apache Shiro project are using the SPI when deployed > on newer Java releases? > > -Alan >