Does JBoss EAP supports RADIUS Authentication for Oracle Data Source configuration ?

Solution Unverified - Updated -


  • Red Hat JBoss Enterprise Application Platform
    • 7.x


  • Does JBoss supports RADIUS Authentication for Oracle Data Source configuration ?


  • Please note that JBoss EAP just passes the connection string to the datasource driver, so it is something the Oracle Driver provides not JBoss EAP.
  String url ="jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)"+
    "(" +

    Properties prop = new Properties();

    // The user "aso" needs to be properly setup on the radius server with
    // password "1234".

    Connection conn  = driver.connect(url,prop);

  • On an EAP datasource you can set connection-properties which is passed into Driver.connect(url, props)

      <xs:element name="connection-property" type="connection-propertyType" minOccurs="0" maxOccurs="unbounded">
              The connection-property element allows you to pass in arbitrary connection
              properties to the Driver.connect(url, props) method. Each connection-property
              specifies a string name/value pair with the property name coming from the
              name attribute and the value coming from the element content. Ex:
              <connection-property name="char.encoding">UTF-8</connection-property>
  • So you could try :
                <datasource jndi-name="java:jboss/datasources/OracleDS" pool-name="OracleDS" enabled="true" use-java-context="true" statistics-enabled="${wildfly.datasources.statistics-enabled:${wildfly.statistics-enabled:false}}">
                    <connection-url> jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)( </connection-url>
                    <connection-property name="">

Root Cause

Disclaimer: Links contained herein to external website(s) are provided for convenience only. Red Hat has not reviewed the links and is not responsible for the content or its availability. The inclusion of any link to an external website does not imply endorsement by Red Hat of the website or their entities, products or services. You agree that Red Hat is not responsible or liable for any loss or expenses that may result due to your use of (or reliance on) the external site or content.




This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.