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 thegrails-app/conf/Config.groovy
:
grails.plugins.springsecurity.radius.servers = [ [host:'motp', sharedSecret:'1234567890'] ]
grails.plugins.springsecurity.radius.servers = [ [host:'motp-down', sharedSecret:'1234567890-up'], [host:'motp-up', sharedSecret:'1234567890-down'] ]
2.1 Configurable parameters
Property | Default Value | Meaning | Configurable per RADIUS authenticator |
---|---|---|---|
host | null | Hostname of the RADIUS server | Yes |
sharedSecret | null | Secret key used for password hashing between RADIUS client and server | Yes |
authenticatorClassName | PAPAuthenticator | Class name of the RADIUS authenticator. See RadiusAuthenticator | Yes |
active | true | Is plugin enabled? | No |
timeout | 5 | How long to wait response from the RADIUS server (seconds) | Yes |
retries | 3 | How many times we want to retry connection to the RADIUS server? | Yes |
authentication.port | 1812 | Authentication port of the RADIUS server | Yes |
authorization.useDatabase | false | Get roles etc. from the database? | No |
accounting.port | 1813 | Accounting port of the RADIUS server | Yes |