Interface ModifyAccountApi


  • public interface ModifyAccountApi
    • Method Detail

      • createAccount

        void createAccount​(String username,
                           String password,
                           IReadProperties properties)
                    throws de.mhus.lib.errors.MException
        Throws:
        de.mhus.lib.errors.MException
      • deleteAccount

        void deleteAccount​(String username)
                    throws de.mhus.lib.errors.MException
        Throws:
        de.mhus.lib.errors.MException
      • changePassword

        void changePassword​(String username,
                            String newPassword)
                     throws de.mhus.lib.errors.MException
        Throws:
        de.mhus.lib.errors.MException
      • changeAccount

        void changeAccount​(String username,
                           IReadProperties properties)
                    throws de.mhus.lib.errors.MException
        Throws:
        de.mhus.lib.errors.MException
      • activateAccount

        void activateAccount​(String username,
                             boolean active)
                      throws de.mhus.lib.errors.MException
        Throws:
        de.mhus.lib.errors.MException
      • appendGroups

        void appendGroups​(String username,
                          String... group)
                   throws de.mhus.lib.errors.MException
        Throws:
        de.mhus.lib.errors.MException
      • removeGroups

        void removeGroups​(String username,
                          String... group)
                   throws de.mhus.lib.errors.MException
        Throws:
        de.mhus.lib.errors.MException
      • getGroups

        Collection<String> getGroups​(String username)
                              throws de.mhus.lib.errors.MException
        Throws:
        de.mhus.lib.errors.MException
      • changePasswordInternal

        void changePasswordInternal​(String username,
                                    String md5Password)
                             throws de.mhus.lib.errors.MException
        Throws:
        de.mhus.lib.errors.MException