Interface SecurityUser


  • public interface SecurityUser
    Security user at global level. The user can have access to multiple databases.
    • 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).