Interface PasswordCredentialManagingAuthenticationProvider<X extends PasswordCredentialManagingAuthenticationProvider<X>>

    • Method Detail

      • createUser

        boolean createUser​(java.lang.String username,
                           java.lang.String password,
                           java.util.Map<java.lang.String,​java.lang.String> attributes)
      • deleteUser

        void deleteUser​(java.lang.String user)
                 throws javax.security.auth.login.AccountNotFoundException
        Throws:
        javax.security.auth.login.AccountNotFoundException
      • setPassword

        void setPassword​(java.lang.String username,
                         java.lang.String password)
                  throws javax.security.auth.login.AccountNotFoundException
        Throws:
        javax.security.auth.login.AccountNotFoundException
      • getUsers

        java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>> getUsers()
      • reload

        void reload()
             throws java.io.IOException
        Refreshes the cache of user and password data from the underlying storage. If there is a failure whilst reloading the data, the implementation must throw an IOException and revert to using the previous cached username and password data. In this way, the broker will remain usable.
        Throws:
        java.io.IOException