WildFly Security Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 55: Line 55:
</pre>
</pre>


The secret maintained in the <tt><server-identities></tt> section of <tt>host.xml</tt> is the hashed value of the domain controller Management Realm user's password.
The secret maintained in the <tt><server-identities></tt> section of <tt>host.xml</tt> is the hashed value of the domain controller Management Realm user's password. Given the password value, the secret value can be calculated as follows:
 
<pre>
echo -n "myPassword" | openssl enc -base64
</pre>


==Configuration==
==Configuration==

Revision as of 01:19, 19 February 2016




in process of being migrated from https://home.feodorov.com:9443/wiki/Wiki.jsp?page=JBoss7SecurityConcepts




Internal

Relevance

  • EAP 6.4 August 2015

Security Realms

Security Realms

The Security Subsystem

Security Subsystem Concepts

Relationship between a Security Realm and a Security Domain

Subordinated Host Controller Identity

Subordinated host controllers must authenticate against the domain controller's Management Realm in order to be able to interact with it. The host controller identity is associated to a domain controller's Management Realm user whose name is identical with the host controller's host name (the <host name="..."> element in the host controller's host.xml.

From the domain controller's perspective, the host controller identity is established by adding a regular Management Realm user. This is done with the add-user.sh utility, as described here:

Adding a User to the Management Realm

A Management Realm user authenticates with a regular password, so the host controllers will also have to use the same mechanism - password - to authenticate. The password is is known as server identity secret on the host controller, and it is specified in its host.xml:

<host name="..." ...>
  <management>
    <security-realms>
      <security-realm name="ManagementRealm">
        ...
        <server-identities>
          <secret value="bjFfMTIz"/>
        </server-identities>
      </security-realm>
    ...
</host>

The secret maintained in the <server-identities> section of host.xml is the hashed value of the domain controller Management Realm user's password. Given the password value, the secret value can be calculated as follows:

echo -n "myPassword" | openssl enc -base64

Configuration

Subordinated Host Controller Identity Configuration