<socket-binding-groups> <socket-binding-groupname="standard-sockets"default-interface="public"> ... </socket-binding-group> <socket-binding-groupname="ha-sockets"default-interface="public"> ... </socket-binding-group> <!-- load-balancer-sockets should be removed in production systems and replaced with a better softare or hardare based one --> <socket-binding-groupname="load-balancer-sockets"default-interface="public"> ... </socket-binding-group> </socket-binding-groups>
<server-groups> <!-- load-balancer-group should be removed in production systems and replaced with a better softare or hardare based one --> <server-groupname="load-balancer-group"profile="load-balancer"> <jvmname="default"> <heapsize="64m"max-size="512m"/> </jvm> <socket-binding-groupref="load-balancer-sockets"/> </server-group> <server-groupname="auth-server-group"profile="auth-server-clustered"> <jvmname="default"> <heapsize="64m"max-size="512m"/> </jvm> <socket-binding-groupref="ha-sockets"/> </server-group> </server-groups>
$ add-user.sh What typeofuserdo you wish toadd? a) Management User (mgmt-users.properties) b) Application User (application-users.properties) (a): a Enter the details of the newusertoadd. Using realm 'ManagementRealm'as discovered from the existing property files. Username : admin Password recommendations are listed below. To modify these restrictions edit the add-user.properties configuration file. - 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) - The password should be different from the username Password : Re-enter Password : What groupsdo you want this userto belong to? (Please enter a comma separated list, or leave blank fornone)[ ]: About toadduser'admin'for realm 'ManagementRealm' Is this correct yes/no? yes Added user'admin'to file '/.../standalone/configuration/mgmt-users.properties' Added user'admin'to file '/.../domain/configuration/mgmt-users.properties' Added user'admin'withgroupsto file '/.../standalone/configuration/mgmt-groups.properties' Added user'admin'withgroupsto file '/.../domain/configuration/mgmt-groups.properties' Is this newuser going to be used for one AS process toconnectto another AS process? e.g. for a slave host controller connecting to the master orfor a Remoting connectionforservertoserver EJB calls. yes/no? yes To represent the useradd the followingto the server-identities definition <secret value="bWdtdDEyMyE=" /> <management> <security-realms> <security-realm name="ManagementRealm"> <server-identities> <secret value="bWdtdDEyMyE="/> </server-identities>