powered by Jive Software

HybridAuthProvider + HybridUserProvider causing console login failure?

hello every one.

recently i setup an env of openfire 3.8.2 and spark 2.6.3

they worked fine when using the default local db mode, or using the ldap binding mode(active directory).

but when using hybrid mode, it failed to login the web admin console, always staying at the login page.

on the other hand, spark is able to login using both local db account and ad account.

my db settings are:

hybridAuthProvider.primaryProvider.className
org.jivesoftware.openfire.ldap.LdapAuthProvider
hybridAuthProvider.secondaryProvider.className
org.jivesoftware.openfire.auth.DefaultAuthProvider
hybridUserProvider.primaryProvider.className
org.jivesoftware.openfire.ldap.LdapUserProvider
hybridUserProvider.secondaryProvider.className
org.jivesoftware.openfire.user.DefaultUserProvider
provider.auth.className
org.jivesoftware.openfire.auth.HybridAuthProvider
provider.user.className
org.jivesoftware.openfire.user.HybridUserProvider

has anyone met the same case? any suggestion? thanks.

resolved. need add something in openfire.xml, like this:

org.jivesoftware.openfire.ldap.LdapUserProvider

org.jivesoftware.openfire.user.DefaultUserProvider

maybe it is better to add db property support to HybridUserProvider, like HybridAuthProvider. it is currently using “JiveGlobals.getXMLProperty” so it can only read settings from openfire.xml?