Interface UserManager

All Known Implementing Classes:
FileUserManager

public interface UserManager
The main interface for managing user details.
Since:
7.0.1
Author:
Moran Avigdor
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    createUser(UserDetails userDetails)
    Create a new user with the specified userDetails.
    void
    deleteUser(String username)
    Delete an existing user represented by the specified username.
    getUser(String username)
    Retrieve the user details by username.
    boolean
    Indicates that this manager is for read-only purposes, and that any invocation of a destructive operation will throw an AccessDeniedException.
    Returns a map containing mapping between username and user-details.
    void
    updateUser(UserDetails userDetails)
    Updates the user details, excluding the username which must remain the same.
    boolean
    userExists(String username)
    Queries for presence of a user by username.