org.apache.activemq.artemis.spi.core.security

## Interface UserManagement

- All Known Implementing Classes:
    ActiveMQBasicSecurityManager, PropertiesLoginModuleConfigurator

      public interface UserManagement

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addNewUser(String user, String password, String... roles)`
    `Map<String,Set<String>>` | `listUser(String user)`
    `void` | `removeUser(String user)`
    `void` | `updateUser(String username, String password, String... roles)`

- - ### Method Detail

    - #### addNewUser

          void addNewUser(String user,
                          String password,
                          String... roles)
                   throws Exception

      Throws:
        `Exception`

    - #### removeUser

          void removeUser(String user)
                   throws Exception

      Throws:
        `Exception`

    - #### listUser

          Map<String,Set<String>> listUser(String user)

    - #### updateUser

          void updateUser(String username,
                          String password,
                          String... roles)
                   throws Exception

      Throws:
        `Exception`

Copyright © 2021 The Apache Software Foundation. All rights reserved.