Task #376
Create REST Endpoint
100%
Description
Create a REST endpoint for managing the app configuration. This endpoint ought to manage the conf files that contains the relevant settings and it needs to setup the authentication script so that Splunk uses the RADIUS script for authentication.
Below are the things that the handler needs to do:- Update and manage the radius.conf file
- Create the changes necessary to get Splunk to use the authentication script
- Perform a test of the settings to ensure that they are correct
Related issues
Associated revisions
Created a REST handler that manages the settings for the radius_auth script (closes #376)
Created a REST handler that manages the settings for the radius_auth script (closes #376)
History
#1 Updated by Luke Murphey over 12 years ago
Currently, the stanza names define the RADIUS server. However, this makes the REST endpoint a bit difficult to use since the setup page was going to be designed to manage only a single entry.
#2 Updated by Luke Murphey over 12 years ago
- Status changed from New to In Progress
#3 Updated by Luke Murphey over 12 years ago
Need to capture networking errors when performing tests (such as socket.gaierror).
#4 Updated by Luke Murphey over 12 years ago
Need to change the endpoint such that the passwords are not updated at all if none is provided. The checks should only throw an error if no password was set already.
#5 Updated by Luke Murphey over 12 years ago
- % Done changed from 0 to 80
#6 Updated by Luke Murphey over 12 years ago
- Status changed from In Progress to Closed
- % Done changed from 80 to 100
Applied in changeset r27.