官术网_书友最值得收藏!

Configuring host authentication

Host authentication is used when a host controller tries to connect to a domain controller. Host authentication can also be configured using a technical user account.

Create a management user, slave/Slave01#, on all the hosts to authorized communications between the host and the controller:

$cd $EAP_DOMAIN/jboss-eap-7.0/bin
./add-user.sh -dc $EAP_DOMAIN/host0/domain/configuration
Quel type d'utilisateur souhaitez-vous ajouter ?
a) Management User (mgmt-users.properties)
b) Application User (application-users.properties)
(a): a
Saisir les informations sur le nouvel utilisateur
Utiliser le domaine 'ManagementRealm' selon les fichiers de propriétés existants.
Nom d'utilisateur : slave
Les recommandations de mot de passe sont énumérés ci-dessous. Pour modifier ces restrictions, modifier le fichier de configuration add-user.properties.
- Le mot de passe doit être différent du nom d'utilisateur- Le mot de passe doit correspondre à une des valeurs limitées suivantes {root, admin, administrator}
- Le mot de passe doit contenir au moins 8 caractères, 1 caractère(s) alphabétique(s), 1 chiffre (s), 1 symbole(s) non alpha-numériques
Mot de passe :
Saisir mot de passe à nouveau :
Quels groupes souhaitez-vous impartir à cet utilisateur ? (Veuillez saisir une liste séparée par des virgules, ou laisser vide)[ ]:
L'utilisateur 'slave' va être ajouté pour le domaine 'ManagementRealm'
Est-ce correct ? oui/non? oui
Utilisateur 'slave' ajouté au fichier '/Users/enonowog/books/jbossdev/BeosBankDevDomain/host0/domain/configuration/mgmt-users.properties'
Utilisateur 'slave' ajouté aux groupes dans le fichier '/Users/enonowog/books/jbossdev/BeosBankDevDomain/host0/domain/configuration/mgmt-groups.properties'
Est-ce que ce nouvel utilisateur va être utilisé pour qu'un processus AS puisse se connecter à un autre processus AS, comme par exemple
pour qu'un contr?leur d'h?te esclave se connecte au master ou pour une connexion distante de serveur à serveur pour les appels EJB.
oui/non ? oui
Pour représenter l'utilisateur, ajouter ce qui suit à la définition des identités du serveur <secret value="U2xhdmUwMSM=" />

Use the following commands to create the same user on host1 and host2 slave/Slave01#:

./add-user.sh -dc $EAP_DOMAIN/host1/domain/configuration -r ManagementRealm -u slave -p Slave01# -ro admin,manager 

./add-user.sh -dc $EAP_DOMAIN/host2/domain/configuration-r ManagementRealm -u slave -p Slave01# -ro admin,manager

When the add-user scripts complete, an encrypted password is generated in the output. Keep the encrypted password generated at the end of the user creation and replace the default secret value for host1 and host2 server identities:
host1/domain/configuration/host-salve.xml
host2/domain/configuration/host-salve.xml

<server-identities>
<secret value="U2xhdmUwMSM="/>
</server-identities>

At this stage, communications between the hosts and controller is authorized but there is still a set of configuration steps to complete before having a fully working domain cluster. In the next section, we will be editing the domain and host interfaces.

主站蜘蛛池模板: 巴里| 安泽县| 武定县| 永安市| 乐业县| 越西县| 聂荣县| 宁陕县| 股票| 中西区| 鹿邑县| 阜阳市| 奉贤区| 珠海市| 花莲县| 和平区| 五莲县| 文山县| 浦北县| 成安县| 鹿邑县| 康平县| 沧州市| 三江| 东乌珠穆沁旗| 四会市| 神农架林区| 奎屯市| 大连市| 武冈市| 剑阁县| 河间市| 沁水县| 育儿| 五莲县| 永吉县| 叙永县| 墨脱县| 安顺市| 深圳市| 渭南市|