You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by sm...@apache.org on 2016/09/20 17:22:48 UTC
directory-fortress-realm git commit: FC-181 - cleanup
Repository: directory-fortress-realm
Updated Branches:
refs/heads/master 278b001a6 -> 14e7927b9
FC-181 - cleanup
Project: http://git-wip-us.apache.org/repos/asf/directory-fortress-realm/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-fortress-realm/commit/14e7927b
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-realm/tree/14e7927b
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-realm/diff/14e7927b
Branch: refs/heads/master
Commit: 14e7927b9b9950d92204f54a6438113b8e9e6a9d
Parents: 278b001
Author: Shawn McKinney <sm...@apache.org>
Authored: Tue Sep 20 12:18:48 2016 -0500
Committer: Shawn McKinney <sm...@apache.org>
Committed: Tue Sep 20 12:18:48 2016 -0500
----------------------------------------------------------------------
.../directory/fortress/realm/tomcat/TcAccessMgrImpl.java | 8 --------
1 file changed, 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/directory-fortress-realm/blob/14e7927b/impl/src/main/java/org/apache/directory/fortress/realm/tomcat/TcAccessMgrImpl.java
----------------------------------------------------------------------
diff --git a/impl/src/main/java/org/apache/directory/fortress/realm/tomcat/TcAccessMgrImpl.java b/impl/src/main/java/org/apache/directory/fortress/realm/tomcat/TcAccessMgrImpl.java
index 6f260a7..76b1f5e 100644
--- a/impl/src/main/java/org/apache/directory/fortress/realm/tomcat/TcAccessMgrImpl.java
+++ b/impl/src/main/java/org/apache/directory/fortress/realm/tomcat/TcAccessMgrImpl.java
@@ -81,8 +81,6 @@ public class TcAccessMgrImpl implements TcAccessMgr
public Principal authenticate( String userId, char[] password )
{
TcPrincipal principal = null;
-
- System.out.println("BREAK1");
try
{
// If a 'default.roles' property set in config, user them
@@ -113,20 +111,15 @@ public class TcAccessMgrImpl implements TcAccessMgr
{
boolean result = false;
String userId = principal.getName();
-
- System.out.println("BREAK2 user:" + userId + ", role" + roleName);
try
{
if ( j2eeMgr.hasRole( principal, roleName ) )
{
- System.out.println("BREAK3 user:" + userId + ", role" + roleName);
-
LOG.debug( "{}.hasRole userId [{}], role[{}], successful", CLS_NM, principal.getName(), roleName );
result = true;
}
else
{
- System.out.println("BREAK4 user:" + userId + ", role" + roleName);
LOG.debug( "{}.hasRole userId [{}], role[{}], failed", CLS_NM, principal.getName(), roleName );
}
}
@@ -135,7 +128,6 @@ public class TcAccessMgrImpl implements TcAccessMgr
LOG.warn( "{}.hasRole userId <{}> role <{}> caught SecurityException= {}", CLS_NM, userId, roleName, se);
}
- System.out.println("BREAK5 user:" + userId + ", role" + roleName);
return result;
}