Project

General

Profile

Task #376

Create REST Endpoint

Added by Luke Murphey over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
Due date:
% Done:

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:
  1. Update and manage the radius.conf file
  2. Create the changes necessary to get Splunk to use the authentication script
  3. Perform a test of the settings to ensure that they are correct

Related issues

Blocks RADIUS Authentication - Task #369: Create Setup Page Closed

Associated revisions

Revision 27 (diff)
Added by Luke Murphey over 12 years ago

Created a REST handler that manages the settings for the radius_auth script (closes #376)

Revision 24 (diff)
Added by Luke Murphey over 12 years ago

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.

Also available in: Atom PDF