Project

General

Profile

Does Tigase support Authentication with Radius?

Keren Meir
Added over 5 years ago

The only information I found is http://www.tigase.org/content/93-radius ("Support for authentication against Radius")

(Radius - http://en.wikipedia.org/wiki/RADIUS)

If supported, how do I use it?

Thanks


Replies (4)

Avatar?id=6098&size=32x32

Added by Bartosz Malkowski TigaseTeam over 5 years ago

Radius Mechanism is not implemented in Tigase XMPP Server.

However you can write own SASL Mechanism. Check configuration details in manual and look at sources to see how mechanisms are made.

Added by Keren Meir over 5 years ago

Hi,

thanks for the links, I have 2 questions:

  1. I'm trying to figure out how the mechanism works, from the moment I log in in a client 'till the moment he is online. I try to follow the mechanism, didn't get it.

  2. Where do I need to write my auth mechanism in the source files in https://projects.tigase.org/projects/tigase-server/repository/revisions/master/show/src/main/java/tigase/auth .

For example, if I want to get the username and the password from the user and send it to external HTTP server to check if it is correct, where do I write it?

Thanks

Avatar?id=6098&size=32x32

Added by Bartosz Malkowski TigaseTeam over 5 years ago

See AuthRepoPlainCallbackHandler. It works in similar way. And VerifyPasswordCallback of course.

Added by Keren Meir over 5 years ago

I add to init.properties the line:

sess-man/plugins-conf/urn\:ietf\:params\:xml\:ns\:xmpp-sasl/callbackhandler=tigase.auth.impl.AuthRepoPlainCallbackHandler

and it doesn't work (the debugger isn't enter this class)

What am I missing?

And another question: in the default authentication, where is exactly the code that the server take the user's password from db and check if the user entered correct password?

Thanks

    (1-4/4)