Querying freeRADIUS from Java

stefan.paetow at diamond.ac.uk stefan.paetow at diamond.ac.uk
Fri Apr 4 01:46:47 CEST 2014


Hi Estefania,

JRadius is your friend. JRadius speaks most EAP methods too, so should be sufficient :-)

Stefan

________________________________
From: Estefania figueroa buitrago [kaoru_chan0212 at hotmail.com]
Sent: Thursday, April 03, 2014 8:29 PM
To: freeradius-users at lists.freeradius.org
Subject: Querying freeRADIUS from Java

Hello guys,

I just started to use freeRADIUS. The server is running and working with mySQL just like in this tutorial:

http://wiki.freeradius.org/guide/SQL-HOWTO

What I want to do is really simple. I want to be able to query the server from Java just like radtest does and get response information, for example:

Framed-IP-Address = 2.3.4.1
    Framed-IP-Netmask = 255.255.255.255
    Framed-Routing = Broadcast-Listen
    Framed-Route = "2.3.4.0 255.255.255.248"
    Idle-Timeout = 900
    Service-Type = Framed-User
    Framed-Protocol = PPP

to be processed later also in Java. Is there a way to do this and keep it as simple as possible? I have an application server written in Java (Mobicents) and I only need to obtain authentication information from freeRADIUS to process it later. Sorry if my cuestion isn't pertinent, but I haven't find anything in the wiki. If there is no way to do this, I would be very grateful if you could show another way to do it.

Greetings,
Estefanía

-- 
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 





More information about the Freeradius-Users mailing list