(Quick Reference)

2 Configuration - Reference Documentation

Authors: Sami Mäkelä

Version: 1.1.1

Table of Contents

2 Configuration

Minimal configuration

You have to configure two parameters in the grails-app/conf/Config.groovy:

grails.plugins.springsecurity.radius.servers = [
    [host:'motp',
     sharedSecret:'1234567890']
]

if you want to configure multiple RADIUS servers (for failover):

grails.plugins.springsecurity.radius.servers = [
    [host:'motp-down',
     sharedSecret:'1234567890-up'],
    [host:'motp-up',
     sharedSecret:'1234567890-down']
]

If you don't configure properties per RADIUS server then the dafault value is used.

2.1 Configurable parameters

PropertyDefault ValueMeaningConfigurable per RADIUS authenticator
hostnullHostname of the RADIUS serverYes
sharedSecretnullSecret key used for password hashing between RADIUS client and serverYes
authenticatorClassNamePAPAuthenticatorClass name of the RADIUS authenticator. See RadiusAuthenticatorYes
activetrueIs plugin enabled?No
timeout5How long to wait response from the RADIUS server (seconds)Yes
retries3How many times we want to retry connection to the RADIUS server?Yes
authentication.port1812Authentication port of the RADIUS serverYes
authorization.useDatabasefalseGet roles etc. from the database?No
accounting.port1813Accounting port of the RADIUS serverYes