RADIUSdesk Blog
The professional way to manage your WiFi network using FreeRADIUS
Brought to you by:
dvdwalt
This is the first blog entry for Radius Desk
It will make use of CakePHP 2.X as a RESTfull interface
It will also make use of Extjs4 to create a Webtop (Desktop running in the browser)
We will start with a device and conquer approach. The following sections will discuss how to do this approach.
RESTfull services are suppose to be stateless.
In order to do this in CakePHP while maintaining a secure API we will assign a token to each user and use this token as the username with basic authentication when doing RESTfull requests to CakePHP
Task | Progress |
---|---|
Design a basic database with users, groups, aros and acros | 0% |
Create a dummy RESTfull interface that will make use of a token | 0% |
Create a CakePHP shell to test the RESTfull interface | 0% |
In the file radiusdesk/Config/Routes.php add the following:
//Specify which resources (controllers) should be mapped to the RESTfull interface Note the smalls
Router::mapResources(array('users','groups'));
//Inform CakePHP to also consider .json URLs
Router::parseExtensions('json');