GUACAMOLE-197: Change RADIUS server to RADIUS hostname.

This commit is contained in:
Nick Couchman
2018-01-30 18:33:13 -05:00
parent 037913ac73
commit 789da68574
2 changed files with 4 additions and 4 deletions

View File

@@ -47,7 +47,7 @@ public class ConfigurationService {
*/ */
public String getRadiusServer() throws GuacamoleException { public String getRadiusServer() throws GuacamoleException {
return environment.getProperty( return environment.getProperty(
RadiusGuacamoleProperties.RADIUS_SERVER, RadiusGuacamoleProperties.RADIUS_HOSTNAME,
"localhost" "localhost"
); );
} }

View File

@@ -58,12 +58,12 @@ public class RadiusGuacamoleProperties {
/** /**
* The hostname or ip of the RADIUS server to connect to when authenticating users. * The hostname or IP address of the RADIUS server to connect to when authenticating users.
*/ */
public static final StringGuacamoleProperty RADIUS_SERVER = new StringGuacamoleProperty() { public static final StringGuacamoleProperty RADIUS_HOSTNAME = new StringGuacamoleProperty() {
@Override @Override
public String getName() { return "radius-server"; } public String getName() { return "radius-hostname"; }
}; };