Package com.arcadedb.security
Interface SecurityUser
-
public interface SecurityUser
Security user at global level. The user can have access to multiple databases.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SecurityUser
addDatabase(String databaseName, String[] groups)
Add a database to the user's authorized list.Set<String>
getAuthorizedDatabases()
Returns the set of databases the user has access to.String
getName()
Returns the user's name.String
getPassword()
Returns the user's encoded password.
-
-
-
Method Detail
-
getName
String getName()
Returns the user's name.
-
getPassword
String getPassword()
Returns the user's encoded password.
-
getAuthorizedDatabases
Set<String> getAuthorizedDatabases()
Returns the set of databases the user has access to.
-
addDatabase
SecurityUser addDatabase(String databaseName, String[] groups)
Add a database to the user's authorized list. Groups is a list of group names the user belong to for the specific database or can be empty ot null (default group will be taken).
-
-