Skip to content

Commit

Permalink
TEIID-4731: Unable to connect to MongoDB pod from JBoss Data Virtuali…
Browse files Browse the repository at this point in the history
…zation (on OpenShift) (changing the default of authentication scheme used for MongoDB to SCRAM_SHA_1 as MongoDB >= 3.0 uses this auth scheme)
  • Loading branch information
rareddy authored and johnathonlee committed Sep 18, 2018
1 parent 24b811c commit cf9cb02
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
Expand Up @@ -224,6 +224,14 @@ <h2 class="western"><a name="Compatibility"></a>Compatibility Issues</h2>

<h4 class="western">from ${project.version}</h4>
<ul>
<li/>
<p style="margin-bottom: 0in">
<a href='https://issues.jboss.org/browse/TEIID-4731'>TEIID-4731</a> - Unable to connect to MongoDB pod from JBoss Data Virtualization (on OpenShift) (changing the default of authentication scheme used for MongoDB to SCRAM_SHA_1 as MongoDB >= 3.0 uses this auth scheme)
<li/>
</ul>

<h4 class="western">from 8.12.15.6_4</h4>
<ul>
<li/>
<p style="margin-bottom: 0in">
<a href='https://issues.jboss.org/browse/TEIID-2476'>TEIID-2476</a> - Exclude hidden tables/columns from metadata (filtering metadata based upon data roles, improving the performance of pg system queries, allowing admin access to see everything, adding a test for properties, expanding the check of key records)
Expand Down
Expand Up @@ -49,7 +49,7 @@ public enum SecurityType {None, SCRAM_SHA_1, MONGODB_CR, Kerberos, X509};
private String username;
private String password;
private String database;
private String securityType = SecurityType.None.name();
private String securityType = SecurityType.SCRAM_SHA_1.name();
private String authDatabase;
private Boolean ssl;

Expand Down
1 change: 1 addition & 0 deletions connectors/connector-mongodb/src/main/rar/META-INF/ra.xml
Expand Up @@ -64,6 +64,7 @@
<description>{$display:"Authentication Mechanism",$allowed:["None","SCRAM_SHA_1","MONGODB_CR", "Kerberos","X509"], $description:"Type of Authentication to used", $required:"false"}</description>
<config-property-name>SecurityType</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>SCRAM_SHA_1</config-property-value>
</config-property>

<config-property>
Expand Down

0 comments on commit cf9cb02

Please sign in to comment.