Java 在OpenXava免费版本中是否可以创建多个用户?

Java 在OpenXava免费版本中是否可以创建多个用户?,java,security,openxava,Java,Security,Openxava,我的OpenXava应用程序中唯一可用的用户是“admin”。我知道使用XavaPro,我的OpenXava应用程序有一个完整的用户和角色管理系统,但XavaPro是一个商业产品 我可以使用开源版本向OpenXava应用程序添加其他用户吗?可以。转到项目中的“属性”文件夹。在那里,您可以找到名为naviox-users.properties的文件,其中包含以下内容: # In plain OpenXava the users are added here in the form user=pas

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


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

可以。转到项目中的“属性”文件夹。在那里,您可以找到名为naviox-users.properties的文件,其中包含以下内容:

# 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安全性和用户管理的更多信息,请查看: