@Autowired
    public void setUserService(UserService userService) {
        this.userService = userService;
    }
Web MVC controller that handles operations related to managing users, such as editing them and deleting them.
samples/spring-hibernate/src/main/java/org/apache/shiro/samples/sprhib/web/ManageUsersController.java