Skip to content

Commit 6ae4287

Browse files
committed
fix: update settings configuration
Signed-off-by: Otavio Santana <otaviopolianasantana@gmail.com>
1 parent 136476e commit 6ae4287

File tree

1 file changed

+2
-2
lines changed
  • jnosql-nosql-oracle/src/main/java/org/eclipse/jnosql/databases/oracle/communication

1 file changed

+2
-2
lines changed

jnosql-nosql-oracle/src/main/java/org/eclipse/jnosql/databases/oracle/communication/DeploymentType.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ public Optional<AuthorizationProvider> apply(Settings settings) {
7272
String profileName = settings.get(OracleNoSQLConfigurations.PROFILE_NAME, String.class).orElse(null);
7373
String configFile = settings.get(OracleNoSQLConfigurations.CONFIG_FILE, String.class).orElse(null);
7474

75-
if(user != null && password.length > 0 && tenantId != null && fingerprint != null && privateKey != null) {
76-
return Optional.of(new SignatureProvider(tenantId, user, fingerprint, privateKey, password));
75+
if(user != null && tenantId != null && fingerprint != null && privateKey != null) {
76+
return Optional.of(new SignatureProvider(tenantId, user, fingerprint, new File(privateKey), password));
7777
}
7878
try {
7979
if(profileName != null && configFile != null) {

0 commit comments

Comments
 (0)