directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smckin...@apache.org
Subject directory-fortress-enmasse git commit: change version to 2.0.0-RC1-SNAPSHOT
Date Tue, 11 Oct 2016 03:08:19 GMT
Repository: directory-fortress-enmasse
Updated Branches:
  refs/heads/master 29a4c3b06 -> d683ef869


change version to 2.0.0-RC1-SNAPSHOT


Project: http://git-wip-us.apache.org/repos/asf/directory-fortress-enmasse/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-fortress-enmasse/commit/d683ef86
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-enmasse/tree/d683ef86
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-enmasse/diff/d683ef86

Branch: refs/heads/master
Commit: d683ef8693c312c676b3362074cc221186365010
Parents: 29a4c3b
Author: Shawn McKinney <smckinney@apache.org>
Authored: Mon Oct 10 21:46:56 2016 -0500
Committer: Shawn McKinney <smckinney@apache.org>
Committed: Mon Oct 10 21:46:56 2016 -0500

----------------------------------------------------------------------
 .../java/org/apache/directory/fortress/rest/AccessMgrImpl.java   | 2 +-
 .../java/org/apache/directory/fortress/rest/AdminMgrImpl.java    | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-enmasse/blob/d683ef86/src/main/java/org/apache/directory/fortress/rest/AccessMgrImpl.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/rest/AccessMgrImpl.java b/src/main/java/org/apache/directory/fortress/rest/AccessMgrImpl.java
index 326d88e..f8aca22 100644
--- a/src/main/java/org/apache/directory/fortress/rest/AccessMgrImpl.java
+++ b/src/main/java/org/apache/directory/fortress/rest/AccessMgrImpl.java
@@ -58,7 +58,7 @@ class AccessMgrImpl extends AbstractMgrImpl
         {
             AccessMgr accessMgr = AccessMgrFactory.createInstance( request.getContextId()
);
             User inUser = (User) request.getEntity();
-            Session outSession = accessMgr.authenticate( inUser.getUserId(), inUser.getPassword().toCharArray()
);
+            Session outSession = accessMgr.authenticate( inUser.getUserId(), inUser.getPassword()
);
             response.setSession( outSession );
             response.setErrorCode( GlobalErrIds.NO_ERROR );
         }

http://git-wip-us.apache.org/repos/asf/directory-fortress-enmasse/blob/d683ef86/src/main/java/org/apache/directory/fortress/rest/AdminMgrImpl.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/rest/AdminMgrImpl.java b/src/main/java/org/apache/directory/fortress/rest/AdminMgrImpl.java
index 702029b..820b963 100644
--- a/src/main/java/org/apache/directory/fortress/rest/AdminMgrImpl.java
+++ b/src/main/java/org/apache/directory/fortress/rest/AdminMgrImpl.java
@@ -128,7 +128,7 @@ class AdminMgrImpl extends AbstractMgrImpl
             AdminMgr adminMgr = AdminMgrFactory.createInstance( request.getContextId() );
             adminMgr.setAdmin( request.getSession() );
             User inUser = (User) request.getEntity();
-            adminMgr.changePassword( inUser, inUser.getNewPassword().toCharArray() );
+            adminMgr.changePassword( inUser, inUser.getNewPassword() );
             ReviewMgr reviewMgr = ReviewMgrFactory.createInstance( request.getContextId()
);
             User outUser = reviewMgr.readUser( inUser );
             response.setEntity( outUser );
@@ -197,7 +197,7 @@ class AdminMgrImpl extends AbstractMgrImpl
             AdminMgr adminMgr = AdminMgrFactory.createInstance( request.getContextId() );
             adminMgr.setAdmin( request.getSession() );
             User inUser = (User) request.getEntity();
-            adminMgr.resetPassword( inUser, inUser.getNewPassword().toCharArray() );
+            adminMgr.resetPassword( inUser, inUser.getNewPassword() );
             ReviewMgr reviewMgr = ReviewMgrFactory.createInstance( request.getContextId()
);
             User outUser = reviewMgr.readUser( inUser );
             response.setEntity( outUser );


Mime
View raw message