directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smckin...@apache.org
Subject [09/23] directory-fortress-core git commit: FC-54 - Benchmark activities - correct checkpermission connection release
Date Tue, 27 Jan 2015 12:54:36 GMT
FC-54 - Benchmark activities - correct checkpermission connection release


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

Branch: refs/heads/master
Commit: 7978fe0741da3e4e421321117233748b219cb11b
Parents: 6df596d
Author: Shawn McKinney <smckinney@apache.org>
Authored: Tue Dec 23 11:48:31 2014 -0600
Committer: Shawn McKinney <smckinney@apache.org>
Committed: Tue Dec 23 11:48:31 2014 -0600

----------------------------------------------------------------------
 src/main/java/org/apache/directory/fortress/core/rbac/PermDAO.java | 2 +-
 src/main/java/org/apache/directory/fortress/core/rbac/UserDAO.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/7978fe07/src/main/java/org/apache/directory/fortress/core/rbac/PermDAO.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/rbac/PermDAO.java b/src/main/java/org/apache/directory/fortress/core/rbac/PermDAO.java
index ead2d7d..96f4b4e 100755
--- a/src/main/java/org/apache/directory/fortress/core/rbac/PermDAO.java
+++ b/src/main/java/org/apache/directory/fortress/core/rbac/PermDAO.java
@@ -883,7 +883,7 @@ final class PermDAO extends ApacheDsDataProvider
         }
         finally
         {
-            closeUserConnection( ld );
+            closeAdminConnection( ld );
         }
 
         return isAuthZd;

http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/7978fe07/src/main/java/org/apache/directory/fortress/core/rbac/UserDAO.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/rbac/UserDAO.java b/src/main/java/org/apache/directory/fortress/core/rbac/UserDAO.java
index d1eebb4..6b8d57f 100755
--- a/src/main/java/org/apache/directory/fortress/core/rbac/UserDAO.java
+++ b/src/main/java/org/apache/directory/fortress/core/rbac/UserDAO.java
@@ -894,7 +894,7 @@ final class UserDAO extends ApacheDsDataProvider
         }
         catch ( LdapAuthenticationException e )
         {
-            String info = "checkPassword INVALID PASSWORD for userId [" + user.getUserId()
+ "]";
+            String info = "checkPassword INVALID PASSWORD for userId [" + user.getUserId()
+ "] exception";
             session.setMsg( info );
             session.setErrorId( GlobalErrIds.USER_PW_INVLD );
             session.setAuthenticated( false );


Mime
View raw message