WildFly Naming Subsystem Configuration

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

The "naming" subsystem contains configuration related to various JNDI namespaces.

<subsystem xmlns="urn:jboss:domain:naming:1.4">
    <remote-naming/>
</subsystem>

Configuration

<remote-naming>

If present, this element activates the remote naming server, that allows access to items bound in the java:jboss/exported JNDI context. More details about the JBoss exported JNDI namespace and the remote naming server can be found here:

WildFly JNDI Concepts - Exporting for Access by Remote JNDI Clients

Importing an External JNDI Context

                        <property name="java.naming.security.principal" value="${remoting.user.name}"/>
                        <property name="java.naming.security.credentials" value="${remoting.password}"/>

"name" is the local JNDI name to bind to.

More details about external JNDI Contexts can be found here:

External JNDI Contexts