有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

java在OpenXava免费版本中可以创建多个用户吗?

我的OpenXava应用程序中唯一可用的用户是“admin”。我知道使用XavaPro,我的OpenXava应用程序有一个完整的用户和角色管理系统,但XavaPro是一个商业产品

我可以使用开源版本向OpenXava应用程序添加其他用户吗


共 (1) 个答案

  1. # 1 楼答案

    是的,你可以。转到项目中的“属性”文件夹。在那里你可以找到一个名为naviox users的文件。属性,包含以下内容:

    # In plain OpenXava the users are added here in the form user=password
    # If you want full management of users, roles and modules stored in database, 
    #   get XavaPro from here: http://www.openxava.org/xavapro
    
    admin=admin
    

    编辑它,并使用user=password对添加所有用户,方法如下:

    # In plain OpenXava the users are added here in the form user=password
    # If you want full management of users, roles and modules stored in database, 
    #   get XavaPro from here: http://www.openxava.org/xavapro
    
    admin=admin
    john=sjr3ji
    juan=mso2rl
    dorotea=mosoko
    

    必须重新启动应用程序才能生效

    要了解有关OpenXava安全性和用户管理的更多信息,请查看:https://openxava.org/OpenXavaDoc/docs/security_en.html