RADIUSUserNameAndPasswordValidator

Valve for validating username and password on remote RADIUS server(s).

If validation is successful (remote RADIUS server responding with ACCESS-ACCEPT), any attributes on the response will be added as item properties.

Properties

Name Description Default value Mandatory Supports property expansion
username Property containing the username. Yes Yes
pwd Property containing the password. Yes No
request_attributes Property containing the request attributes to send to external RADIUS server. See example configuration below. No Yes
secret The RADIUS shared secret. Yes No
host The ip of the remote RADIUS server. Yes No
port The port of the remote RADIUS server. Yes No
socket_timeout Timeout value for the remote RADIUS server. 5000 No No

Example Configuration

{
	"id": "c502c490-d85f-4313-9da3-04974bc971b7",
	"name": "RADIUSUserNameAndPasswordValidator",
	"enabled": "true",
	"config": {
		"proceed_on_error": "false",
		"username": "{{request.User-Name}}",
                "pwd": "{{request.User-Password}}",
                "request_attributes" : "32=SMS,26={{item.somethingelse}}",
		"secret": "{enc}O8ZcWOKstoarnawYkNnufikVRaZQ9Xg/PxbZLXYc+F0=",
		"host": "10.1.0.18",
		"port": "1812",
                "socket_timeout" : "10000"
	    }
}

Requirements