diff options
author | Instrumental <jonathan.gathman@att.com> | 2019-02-15 19:40:04 -0600 |
---|---|---|
committer | Instrumental <jonathan.gathman@att.com> | 2019-02-15 20:04:29 -0600 |
commit | 628b7105ce4d9818aac69a082e515f9275fd46fd (patch) | |
tree | 3f1e073e6973efd06f950a70a12499976027eae4 /auth/auth-service/src/main | |
parent | 4b6435c97dc1e05ee6a1e06190e3c431f9d1a8fe (diff) |
Batch work and client
Issue-ID: AAF-740
Change-Id: I16da4f2a87ec5d19590f0af642b91f9e2e02b246
Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'auth/auth-service/src/main')
-rw-r--r-- | auth/auth-service/src/main/java/org/onap/aaf/auth/service/AuthzCassServiceImpl.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/auth/auth-service/src/main/java/org/onap/aaf/auth/service/AuthzCassServiceImpl.java b/auth/auth-service/src/main/java/org/onap/aaf/auth/service/AuthzCassServiceImpl.java index 3bc06f11..c9730f5b 100644 --- a/auth/auth-service/src/main/java/org/onap/aaf/auth/service/AuthzCassServiceImpl.java +++ b/auth/auth-service/src/main/java/org/onap/aaf/auth/service/AuthzCassServiceImpl.java @@ -2395,6 +2395,7 @@ public class AuthzCassServiceImpl <NSS,PERMS,PERMKEY,ROLES,USERS,USERROLES,DE } catch (Exception e) { trans.error().log(e, "While setting expiration to TempPassword"); } + Result<?>udr = ques.credDAO.create(trans, rcred.value); if (udr.isOK()) { return Result.ok(); @@ -2632,8 +2633,6 @@ public class AuthzCassServiceImpl <NSS,PERMS,PERMKEY,ROLES,USERS,USERROLES,DE } else { rcred.value.expires = org.expiration(null,exp).getTime(); } - // Copy in other fields 10/21/2016 - rcred.value.notes=current.notes; udr = ques.credDAO.create(trans, rcred.value); if (udr.isOK()) { @@ -2731,9 +2730,9 @@ public class AuthzCassServiceImpl <NSS,PERMS,PERMKEY,ROLES,USERS,USERROLES,DE cd.cred = found.cred; cd.other = found.other; cd.type = found.type; - cd.notes = found.notes; cd.ns = found.ns; cd.expires = org.expiration(null, Expiration.ExtendPassword,days).getTime(); + cd.tag = found.tag; cred = ques.credDAO.create(trans, cd); if (cred.isOK()) { |