Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

Openfire 3.8.2 provider.auth.className is not working for smack api login auth

$
0
0

Hi,

 

I am using Openfire 3.8.2. We want to use special check of authentication in addition to org.jivesoftware.openfire.auth.DefaultAuthProvider. So I have changed the provider.auth.className to our new class "xxx.yyyy.CustomAuthProvider" which extends DefaultAuthProvider.

 

This works perfectly fine though login using localhost:9090.

But if I use smack api to login, it is authenticatiing, but not using our CustomAuthProvider. This is the issue.

We have java client which uses smack api to connect to openfire.

 

So how to force to use CustomAuthProvider in case of smack api calls for login?

Please help.. it is urgent.

 

Even I have tried to give in operfire.xml with following tags

<provider>

      <auth>

        <className>xxx.yyyy.CustomAuthProvide</className>

      </auth> 

            </provider>

 

Still no use.

Note here that I cant use HybridAuthProvider as DefaultAuthProvider auth check will be done based on our special logic in CustomAuthProvider.


Viewing all articles
Browse latest Browse all 10742

Trending Articles