Skip to content

Commit 4f62dc4

Browse files
committed
Changes for v1.5.1
1 parent a0354ca commit 4f62dc4

File tree

6 files changed

+15
-4
lines changed

6 files changed

+15
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# cordova-plugin-oracle-idm-auth 1.5.0
1+
# cordova-plugin-oracle-idm-auth 1.5.1
22

33
## About the cordova-plugin-oracle-idm-auth
44
The plugin provides authentication and authorization functionality for cordova based mobile applications,

RELEASENOTES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Release Notes
22

3+
## 1.5.1 (25 May, 2020)
4+
* Support for parsing password as character array.
5+
36
## 1.5.0 (11 May, 2020)
47
* Support for CSRF Protection for token relay service.
58

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cordova-plugin-oracle-idm-auth",
3-
"version": "1.5.0",
3+
"version": "1.5.1",
44
"description": "Provides authentication and authorization functionality using the Oracle IDM SDK, supporting standard protocols like Basic Auth, OAUTH, OpenID Connect and WebSSO.",
55
"cordova": {
66
"id": "cordova-plugin-oracle-idm-auth",

plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
77
xmlns:android="http://schemas.android.com/apk/res/android"
88
id="cordova-plugin-oracle-idm-auth"
9-
version="1.5.0">
9+
version="1.5.1">
1010
<name>cordova-plugin-oracle-idm-auth</name>
1111
<description>Provides authentication and authorization functionality using the Oracle IDM SDK, supporting standard protocols like Basic Auth, OAUTH, OpenID Connect and WebSSO</description>
1212
<keywords>cordova,idm,authentication,auth</keywords>

src/android/src/oracle/idm/auth/plugin/IdmAuthentication.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,14 @@ public void finishLogin(final JSONObject challengeFieldsJson, final CallbackCont
157157
if (value == JSONObject.NULL)
158158
value = null;
159159

160+
if(key.equals(OMSecurityConstants.Challenge.PASSWORD_KEY_2))
161+
{
162+
String passwordAsString = (String) challengeFieldsJson.opt(OMSecurityConstants.Challenge.PASSWORD_KEY);
163+
if(passwordAsString != null) {
164+
char[] passwordAsCharArray = passwordAsString.toCharArray();
165+
value = passwordAsCharArray;
166+
}
167+
}
160168
challengeFields.put(key, value);
161169
}
162170
_completionHandler.proceed(challengeFields);

www/IdmAuthFlows.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* The Universal Permissive License (UPL), Version 1.0
44
*/
55
/* jshint esversion: 6 */
6-
/* Plugin Version : 1.5.0 */
6+
/* Plugin Version : 1.5.1 */
77

88
/**
99
* @file {@link https://github.com/oracle/cordova-plugin-oracle-idm-auth|cordova-plugin-oracle-idm-auth}

0 commit comments

Comments
 (0)