Okay, I see. Shiro doesn't provide an API for this. You would need to handle this additional query separately. You shouldn't need additional dependencies though, you can use javax.naming.ldap API directly.
Does that help? -Brian On Wed, Jun 10, 2020 at 8:23 AM braus <[email protected]> wrote: > Hi Brian, > > I just want to check if a username exists or not for registration purposes > (not login). I only allow accounts registered from the LDAP realm to be > used > in my different realms. > So my basic problem would be to see if there is a simple method of checking > if a username exists within a LDAPRealm. > > I could query the LDAP with seperate frameworks and such, but I prefer to > have minimal dependencies. > > > > -- > Sent from: http://shiro-user.582556.n2.nabble.com/ >
