public class OServerConfigurationManager extends Object
Constructor and Description |
---|
OServerConfigurationManager(File iFile) |
OServerConfigurationManager(InputStream iInputStream) |
OServerConfigurationManager(OServerConfiguration iConfiguration) |
Modifier and Type | Method and Description |
---|---|
void |
dropUser(String iServerUserName) |
boolean |
existsUser(String iServerUserName) |
OServerConfiguration |
getConfiguration() |
OServerUserConfiguration |
getUser(String iServerUserName) |
Set<OServerUserConfiguration> |
getUsers() |
void |
saveConfiguration() |
OServerUserConfiguration |
setEphemeralUser(String username,
String password,
String resources) |
OServerConfigurationManager |
setUser(String iServerUserName,
String iServerUserPasswd,
String iPermissions) |
public OServerConfigurationManager(InputStream iInputStream) throws IOException
IOException
public OServerConfigurationManager(File iFile) throws IOException
IOException
public OServerConfigurationManager(OServerConfiguration iConfiguration)
public OServerConfiguration getConfiguration()
public OServerConfigurationManager setUser(String iServerUserName, String iServerUserPasswd, String iPermissions)
public void saveConfiguration() throws IOException
IOException
public OServerUserConfiguration setEphemeralUser(String username, String password, String resources)
public OServerUserConfiguration getUser(String iServerUserName)
public boolean existsUser(String iServerUserName)
public void dropUser(String iServerUserName)
public Set<OServerUserConfiguration> getUsers()
Copyright © 2009–2020 OrientDB. All rights reserved.