You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ki...@apache.org on 2013/02/06 10:56:40 UTC

git commit: refs/heads/4.1 - CLOUDSTACK-1175: PlainTextAuthenticator was being loaded due @Component annotation. Removed the annotation so that MD5 authenticator will be used

Updated Branches:
  refs/heads/4.1 1c88f3c73 -> dd675a16d


CLOUDSTACK-1175: PlainTextAuthenticator was being loaded due @Component annotation. Removed the annotation so that MD5 authenticator will be used


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/dd675a16
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/dd675a16
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/dd675a16

Branch: refs/heads/4.1
Commit: dd675a16da85dd2d4c1d78293e47ad847f0df543
Parents: 1c88f3c
Author: Kishan Kavala <ki...@cloud.com>
Authored: Wed Feb 6 15:23:47 2013 +0530
Committer: Kishan Kavala <ki...@cloud.com>
Committed: Wed Feb 6 15:24:01 2013 +0530

----------------------------------------------------------------------
 .../server/auth/PlainTextUserAuthenticator.java    |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/dd675a16/plugins/user-authenticators/plain-text/src/com/cloud/server/auth/PlainTextUserAuthenticator.java
----------------------------------------------------------------------
diff --git a/plugins/user-authenticators/plain-text/src/com/cloud/server/auth/PlainTextUserAuthenticator.java b/plugins/user-authenticators/plain-text/src/com/cloud/server/auth/PlainTextUserAuthenticator.java
index d2f4347..52e7cb3 100644
--- a/plugins/user-authenticators/plain-text/src/com/cloud/server/auth/PlainTextUserAuthenticator.java
+++ b/plugins/user-authenticators/plain-text/src/com/cloud/server/auth/PlainTextUserAuthenticator.java
@@ -25,16 +25,13 @@ import javax.inject.Inject;
 import javax.naming.ConfigurationException;
 
 import org.apache.log4j.Logger;
-import org.springframework.stereotype.Component;
 
-import com.cloud.server.ManagementServer;
 import com.cloud.user.UserAccount;
 import com.cloud.user.dao.UserAccountDao;
 
 import com.cloud.utils.exception.CloudRuntimeException;
 
 
-@Component
 @Local(value={UserAuthenticator.class})
 public class PlainTextUserAuthenticator extends DefaultUserAuthenticator {
 	public static final Logger s_logger = Logger.getLogger(PlainTextUserAuthenticator.class);