From 8944204061a3685b0e683d902e93ada9453d54af Mon Sep 17 00:00:00 2001 From: lresende Date: Mon, 27 Jul 2009 22:46:53 +0000 Subject: Removing debug code that was printing user credentials git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@798319 13f79535-47bb-0310-9956-ffa450edef68 --- .../policy/security/http/LDAPRealmAuthenticationCallbackHandler.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'branches/sca-java-1.x/modules') diff --git a/branches/sca-java-1.x/modules/policy-security-http/src/main/java/org/apache/tuscany/sca/policy/security/http/LDAPRealmAuthenticationCallbackHandler.java b/branches/sca-java-1.x/modules/policy-security-http/src/main/java/org/apache/tuscany/sca/policy/security/http/LDAPRealmAuthenticationCallbackHandler.java index 00453a213b..6c5c2df2e5 100644 --- a/branches/sca-java-1.x/modules/policy-security-http/src/main/java/org/apache/tuscany/sca/policy/security/http/LDAPRealmAuthenticationCallbackHandler.java +++ b/branches/sca-java-1.x/modules/policy-security-http/src/main/java/org/apache/tuscany/sca/policy/security/http/LDAPRealmAuthenticationCallbackHandler.java @@ -46,10 +46,11 @@ public class LDAPRealmAuthenticationCallbackHandler implements CallbackHandler { BasicAuthenticationPrincipal principal = SecurityUtil.getPrincipal(subject, BasicAuthenticationPrincipal.class); if (principal != null){ + /* System.out.println(">>> LDAPRealmAuthenticationCallbackHandler" + " Username: " + principal.getName() + " Password: " + principal.getPassword()); - + */ for (int i = 0; i < callbacks.length; i++) { if (callbacks[i] instanceof NameCallback) { NameCallback nc = (NameCallback)callbacks[i]; -- cgit v1.2.3