pt.tecnico.dsi.afs
This class holds all the settings that parameterize AFS.
By default these settings are read from the Config obtained with ConfigFactory.load().
ConfigFactory.load()
You can change the settings in multiple ways:
new Settings(yourConfig)
However it will be more succinct to pass your config directly to AFS:
new AFS(yourConfig)
object YourSettings extends Settings() { override val realm: String = "YOUR.DOMAIN.TLD" override val keytabsLocation: String = "/var/local/keytabs" override val commandWithAuthentication: String = s"""ssh user@server:port "kadmin -p $authenticatingPrincipal"""" } new AFS(YourSettings)
This class holds all the settings that parameterize AFS.
By default these settings are read from the Config obtained with
ConfigFactory.load()
.You can change the settings in multiple ways:
new Settings(yourConfig)
However it will be more succinct to pass your config directly to AFS:
new AFS(yourConfig)