Java 在Eclipse中安装了Wildfly8.0服务器,在启动项目时询问用户名、密码?

Java 在Eclipse中安装了Wildfly8.0服务器,在启动项目时询问用户名、密码?,java,Java,在Eclipse中安装了Wildfly8.0服务器,在启动项目时,它会在终端cd中向/bin询问用户名、密码? 执行以下命令: 转到WildFly基本目录: stpl@darkserver:~$ cd wildfly-10.0.0.Final/bin/ stpl@darkserver:~/wildfly-10.0.0.Final/bin$ ./add-user.sh 在windows中执行add user.sh/(add-user.bat): stpl@darkserver:~$ cd

在Eclipse中安装了Wildfly8.0服务器,在启动项目时,它会在终端cd中向/bin询问用户名、密码?

执行以下命令:

转到WildFly基本目录

 stpl@darkserver:~$ cd wildfly-10.0.0.Final/bin/
stpl@darkserver:~/wildfly-10.0.0.Final/bin$ ./add-user.sh 
在windows中执行add user.sh/(add-user.bat)

 stpl@darkserver:~$ cd wildfly-10.0.0.Final/bin/
stpl@darkserver:~/wildfly-10.0.0.Final/bin$ ./add-user.sh 
选择用户类型:

What type of user do you wish to add? 
 a) Management User (mgmt-users.properties) 
 b) Application User (application-users.properties)
(a): a
Password recommendations are listed below. To modify these restrictions edit the add-user.properties configuration file.
 - The password should be different from the username
 - The password should not be one of the following restricted values {root, admin, administrator}
 - The password should contain at least 8 characters, 1 alphabetic character(s), 1 digit(s), 1 non-alphanumeric symbol(s)
Password :
Re-enter Password : 
What groups do you want this user to belong to? (Please enter a comma separated list, or leave blank for none)[  ]: 
About to add user 'demoAdmin' for realm 'ManagementRealm'
Is this correct yes/no? yes

Added user 'demoAdmin' to file '/home/stpl/wildfly-10.0.0.Final/standalone/configuration/mgmt-users.properties'
Added user 'demoAdmin' to file '/home/stpl/wildfly-10.0.0.Final/domain/configuration/mgmt-users.properties'
Added user 'demoAdmin' with groups  to file '/home/stpl/wildfly-10.0.0.Final/standalone/configuration/mgmt-groups.properties'
Added user 'demoAdmin' with groups  to file '/home/stpl/wildfly-10.0.0.Final/domain/configuration/mgmt-groups.properties'
    Is this new user going to be used for one AS process to connect to another AS process? 
e.g. for a slave host controller connecting to the master or for a Remoting connection for server to server EJB calls.
    yes/no? yes

To represent the user add the following to the server-identities definition <secret value="cXdlcnR5MTIz" />
输入要添加的新用户的详细信息。 提供用户名:

Using realm 'ManagementRealm' as discovered from the existing property files.
Username : demoAdmin
提供密码:

What type of user do you wish to add? 
 a) Management User (mgmt-users.properties) 
 b) Application User (application-users.properties)
(a): a
Password recommendations are listed below. To modify these restrictions edit the add-user.properties configuration file.
 - The password should be different from the username
 - The password should not be one of the following restricted values {root, admin, administrator}
 - The password should contain at least 8 characters, 1 alphabetic character(s), 1 digit(s), 1 non-alphanumeric symbol(s)
Password :
Re-enter Password : 
What groups do you want this user to belong to? (Please enter a comma separated list, or leave blank for none)[  ]: 
About to add user 'demoAdmin' for realm 'ManagementRealm'
Is this correct yes/no? yes

Added user 'demoAdmin' to file '/home/stpl/wildfly-10.0.0.Final/standalone/configuration/mgmt-users.properties'
Added user 'demoAdmin' to file '/home/stpl/wildfly-10.0.0.Final/domain/configuration/mgmt-users.properties'
Added user 'demoAdmin' with groups  to file '/home/stpl/wildfly-10.0.0.Final/standalone/configuration/mgmt-groups.properties'
Added user 'demoAdmin' with groups  to file '/home/stpl/wildfly-10.0.0.Final/domain/configuration/mgmt-groups.properties'
    Is this new user going to be used for one AS process to connect to another AS process? 
e.g. for a slave host controller connecting to the master or for a Remoting connection for server to server EJB calls.
    yes/no? yes

To represent the user add the following to the server-identities definition <secret value="cXdlcnR5MTIz" />
如果您没有按照建议提供密码,它将显示如下警告。忽略它并输入yes:

WFLYDM0102: Password should have at least 1 non-alphanumeric symbol.
Are you sure you want to use the password entered yes/no? yes
重新输入密码:

What type of user do you wish to add? 
 a) Management User (mgmt-users.properties) 
 b) Application User (application-users.properties)
(a): a
Password recommendations are listed below. To modify these restrictions edit the add-user.properties configuration file.
 - The password should be different from the username
 - The password should not be one of the following restricted values {root, admin, administrator}
 - The password should contain at least 8 characters, 1 alphabetic character(s), 1 digit(s), 1 non-alphanumeric symbol(s)
Password :
Re-enter Password : 
What groups do you want this user to belong to? (Please enter a comma separated list, or leave blank for none)[  ]: 
About to add user 'demoAdmin' for realm 'ManagementRealm'
Is this correct yes/no? yes

Added user 'demoAdmin' to file '/home/stpl/wildfly-10.0.0.Final/standalone/configuration/mgmt-users.properties'
Added user 'demoAdmin' to file '/home/stpl/wildfly-10.0.0.Final/domain/configuration/mgmt-users.properties'
Added user 'demoAdmin' with groups  to file '/home/stpl/wildfly-10.0.0.Final/standalone/configuration/mgmt-groups.properties'
Added user 'demoAdmin' with groups  to file '/home/stpl/wildfly-10.0.0.Final/domain/configuration/mgmt-groups.properties'
    Is this new user going to be used for one AS process to connect to another AS process? 
e.g. for a slave host controller connecting to the master or for a Remoting connection for server to server EJB calls.
    yes/no? yes

To represent the user add the following to the server-identities definition <secret value="cXdlcnR5MTIz" />
您可以在此处输入任何值,然后按enter:

What type of user do you wish to add? 
 a) Management User (mgmt-users.properties) 
 b) Application User (application-users.properties)
(a): a
Password recommendations are listed below. To modify these restrictions edit the add-user.properties configuration file.
 - The password should be different from the username
 - The password should not be one of the following restricted values {root, admin, administrator}
 - The password should contain at least 8 characters, 1 alphabetic character(s), 1 digit(s), 1 non-alphanumeric symbol(s)
Password :
Re-enter Password : 
What groups do you want this user to belong to? (Please enter a comma separated list, or leave blank for none)[  ]: 
About to add user 'demoAdmin' for realm 'ManagementRealm'
Is this correct yes/no? yes

Added user 'demoAdmin' to file '/home/stpl/wildfly-10.0.0.Final/standalone/configuration/mgmt-users.properties'
Added user 'demoAdmin' to file '/home/stpl/wildfly-10.0.0.Final/domain/configuration/mgmt-users.properties'
Added user 'demoAdmin' with groups  to file '/home/stpl/wildfly-10.0.0.Final/standalone/configuration/mgmt-groups.properties'
Added user 'demoAdmin' with groups  to file '/home/stpl/wildfly-10.0.0.Final/domain/configuration/mgmt-groups.properties'
    Is this new user going to be used for one AS process to connect to another AS process? 
e.g. for a slave host controller connecting to the master or for a Remoting connection for server to server EJB calls.
    yes/no? yes

To represent the user add the following to the server-identities definition <secret value="cXdlcnR5MTIz" />
通过输入yes确认添加用户:

What type of user do you wish to add? 
 a) Management User (mgmt-users.properties) 
 b) Application User (application-users.properties)
(a): a
Password recommendations are listed below. To modify these restrictions edit the add-user.properties configuration file.
 - The password should be different from the username
 - The password should not be one of the following restricted values {root, admin, administrator}
 - The password should contain at least 8 characters, 1 alphabetic character(s), 1 digit(s), 1 non-alphanumeric symbol(s)
Password :
Re-enter Password : 
What groups do you want this user to belong to? (Please enter a comma separated list, or leave blank for none)[  ]: 
About to add user 'demoAdmin' for realm 'ManagementRealm'
Is this correct yes/no? yes

Added user 'demoAdmin' to file '/home/stpl/wildfly-10.0.0.Final/standalone/configuration/mgmt-users.properties'
Added user 'demoAdmin' to file '/home/stpl/wildfly-10.0.0.Final/domain/configuration/mgmt-users.properties'
Added user 'demoAdmin' with groups  to file '/home/stpl/wildfly-10.0.0.Final/standalone/configuration/mgmt-groups.properties'
Added user 'demoAdmin' with groups  to file '/home/stpl/wildfly-10.0.0.Final/domain/configuration/mgmt-groups.properties'
    Is this new user going to be used for one AS process to connect to another AS process? 
e.g. for a slave host controller connecting to the master or for a Remoting connection for server to server EJB calls.
    yes/no? yes

To represent the user add the following to the server-identities definition <secret value="cXdlcnR5MTIz" />
您可以在此处输入yes:

What type of user do you wish to add? 
 a) Management User (mgmt-users.properties) 
 b) Application User (application-users.properties)
(a): a
Password recommendations are listed below. To modify these restrictions edit the add-user.properties configuration file.
 - The password should be different from the username
 - The password should not be one of the following restricted values {root, admin, administrator}
 - The password should contain at least 8 characters, 1 alphabetic character(s), 1 digit(s), 1 non-alphanumeric symbol(s)
Password :
Re-enter Password : 
What groups do you want this user to belong to? (Please enter a comma separated list, or leave blank for none)[  ]: 
About to add user 'demoAdmin' for realm 'ManagementRealm'
Is this correct yes/no? yes

Added user 'demoAdmin' to file '/home/stpl/wildfly-10.0.0.Final/standalone/configuration/mgmt-users.properties'
Added user 'demoAdmin' to file '/home/stpl/wildfly-10.0.0.Final/domain/configuration/mgmt-users.properties'
Added user 'demoAdmin' with groups  to file '/home/stpl/wildfly-10.0.0.Final/standalone/configuration/mgmt-groups.properties'
Added user 'demoAdmin' with groups  to file '/home/stpl/wildfly-10.0.0.Final/domain/configuration/mgmt-groups.properties'
    Is this new user going to be used for one AS process to connect to another AS process? 
e.g. for a slave host controller connecting to the master or for a Remoting connection for server to server EJB calls.
    yes/no? yes

To represent the user add the following to the server-identities definition <secret value="cXdlcnR5MTIz" />
此新用户是否将用于一个AS进程以连接到另一个AS进程?
e、 g.对于连接到主机的从主机控制器,或者对于服务器到服务器EJB调用的远程连接。
是/否?对
要表示用户,请将以下内容添加到服务器标识定义中
用户添加完毕。 有关更多信息,请查看官方网站。 您可以使用这些用户名和密码访问eclipse、命令行实用程序或web控制台中的管理控制台。


我想知道为什么你需要用户名/密码来启动这个项目。“启动项目”一词的真正含义是什么请澄清

创建帐户并使用这些凭据?