20.2.3. ExternalContext

Instead of configuring your own connection you can use JNDI context federation mechanism in JBoss Application Server. Configuration of ExternalContext is described in the JBoss Enterprise Web Platform documentation.
When you have ExternalContext configured you can use it in JBoss Portal by providing proper JNDI name in the configuration:


When using "externalContextJndiName" you don't need to specify any other option for this datasource