Any free Java APIs to access freeRadius server?
Hi, I am using freeRadius server for authentication. I am able to authenticate for ssh login. I want to authenticate my java application using radius server. Is there any java libraries/APIs available to access and authenticate directly. Please advise me. Thanks in advance. Regards, Dhandapani -- View this message in context: http://www.nabble.com/Any-free-Java-APIs-to-access-freeRadius-server--tp2414... Sent from the FreeRadius - User mailing list archive at Nabble.com.
I am using freeRadius server for authentication. I am able to authenticate for ssh login.
I want to authenticate my java application using radius server. Is there any java libraries/APIs available to access and authenticate directly. Please advise me.
jRadius. Ivan Kalik Kalik Informatika ISP
Hi Ivan, Thanks I am able setup standalone JRadius to access radius server and able to send/receive access requests. I need one more clarification here :) Access Challenge: I am able to generate Access Request/Reject/Accept with the APIs. Still I am not sure on how to make radius server to trigger Access Challenge requests and get the Access Challenge reply in radius client code. So that I can prompt for next response. Please guide me. Please note blindly I tried to set pass EAPMSCHAPv2Authenticator instance as like below and could see some Access Challenge triggers in server logs (Attached). However I could not http://www.nabble.com/file/p24147803/radius_server_logs.txt radius_server_logs.txt see the next request in client & received only final Access Accept. I except the client to prompt for each request. //RadiusPacket reply = radiusClient.authenticate(request, new EAPMSCHAPv2Authenticator(), 1); Regards, Dhandapani Ivan Kalik wrote:
I am using freeRadius server for authentication. I am able to authenticate for ssh login.
I want to authenticate my java application using radius server. Is there any java libraries/APIs available to access and authenticate directly. Please advise me.
jRadius.
Ivan Kalik Kalik Informatika ISP
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- View this message in context: http://www.nabble.com/Any-free-Java-APIs-to-access-freeRadius-server--tp2414... Sent from the FreeRadius - User mailing list archive at Nabble.com.
Access Challenge: I am able to generate Access Request/Reject/Accept with the APIs. Still I am not sure on how to make radius server to trigger Access Challenge requests and get the Access Challenge reply in radius client code. So that I can prompt for next response. Please guide me.
Please note blindly I tried to set pass EAPMSCHAPv2Authenticator instance as like below and could see some Access Challenge triggers in server logs (Attached). However I could not http://www.nabble.com/file/p24147803/radius_server_logs.txt radius_server_logs.txt see the next request in client & received only final Access Accept. I except the client to prompt for each request. //RadiusPacket reply = radiusClient.authenticate(request, new EAPMSCHAPv2Authenticator(), 1);
There is no problem with Access-Challenge in that log. Authentication completed fine. Accounting packets were rubbish. Ivan Kalik Kalik Informatika ISP
Thanks Ivan. Sorry for extending again. I am not clear with first part. 1) With EAPMSCHAPv2Authenticator as authenticator, as you said the server logs are fine with Challenge. But radius client receives only the final access-accept response. But I want each request in access-challenge should be sent to client and the client will handle it. For instance, I want to authenticate user with multiple passwords. How can I achieve this? 2) Is this(using EAPMSCHAPv2Authenticator) the only way to trigger Access-Challenge? Or any other way? Please suggest me. Regards, Dhandapani Ivan Kalik wrote:
Access Challenge: I am able to generate Access Request/Reject/Accept with the APIs. Still I am not sure on how to make radius server to trigger Access Challenge requests and get the Access Challenge reply in radius client code. So that I can prompt for next response. Please guide me.
Please note blindly I tried to set pass EAPMSCHAPv2Authenticator instance as like below and could see some Access Challenge triggers in server logs (Attached). However I could not http://www.nabble.com/file/p24147803/radius_server_logs.txt radius_server_logs.txt see the next request in client & received only final Access Accept. I except the client to prompt for each request. //RadiusPacket reply = radiusClient.authenticate(request, new EAPMSCHAPv2Authenticator(), 1);
There is no problem with Access-Challenge in that log. Authentication completed fine. Accounting packets were rubbish.
Ivan Kalik Kalik Informatika ISP
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- View this message in context: http://www.nabble.com/Any-free-Java-APIs-to-access-freeRadius-server--tp2414... Sent from the FreeRadius - User mailing list archive at Nabble.com.
1) With EAPMSCHAPv2Authenticator as authenticator, as you said the server logs are fine with Challenge. But radius client receives only the final access-accept response.
No, it recieved all the Challenges too.
But I want each request in access-challenge should be sent to client and the client will handle it.
There is nothing for client to "handle" there - it just passes it on to the supplicant. Supplicant has additional data.
For instance, I want to authenticate user with multiple passwords. How can I achieve this?
2) Is this(using EAPMSCHAPv2Authenticator) the only way to trigger Access-Challenge? Or any other way? Please suggest me.
This is freeradius users list. It looks like you are trying to develop a custom authentication protocol. You probably want the developers list. Ivan Kalik Kalik Informatika ISP
participants (2)
-
Ivan Kalik -
kpani