You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by ng...@apache.org on 2011/12/27 22:54:03 UTC
svn commit: r1225023 -
/mina/vysper/trunk/server/core/src/main/java/org/apache/vysper/xmpp/authentication/SimpleUserAuthentication.java
Author: ngn
Date: Tue Dec 27 21:54:03 2011
New Revision: 1225023
URL: http://svn.apache.org/viewvc?rev=1225023&view=rev
Log:
Removing non longer used method
Modified:
mina/vysper/trunk/server/core/src/main/java/org/apache/vysper/xmpp/authentication/SimpleUserAuthentication.java
Modified: mina/vysper/trunk/server/core/src/main/java/org/apache/vysper/xmpp/authentication/SimpleUserAuthentication.java
URL: http://svn.apache.org/viewvc/mina/vysper/trunk/server/core/src/main/java/org/apache/vysper/xmpp/authentication/SimpleUserAuthentication.java?rev=1225023&r1=1225022&r2=1225023&view=diff
==============================================================================
--- mina/vysper/trunk/server/core/src/main/java/org/apache/vysper/xmpp/authentication/SimpleUserAuthentication.java (original)
+++ mina/vysper/trunk/server/core/src/main/java/org/apache/vysper/xmpp/authentication/SimpleUserAuthentication.java Tue Dec 27 21:54:03 2011
@@ -23,7 +23,6 @@ import java.util.HashMap;
import java.util.Map;
import org.apache.vysper.xmpp.addressing.Entity;
-import org.apache.vysper.xmpp.addressing.EntityImpl;
/**
* very simple in-memory {@link org.apache.vysper.xmpp.authentication.UserAuthentication} service
@@ -57,10 +56,6 @@ public class SimpleUserAuthentication im
return verify(jid.getBareJID(), passwordCleartext);
}
- public boolean verifyCredentials(String username, String passwordCleartext, Object credentials) {
- return verify(EntityImpl.parseUnchecked(username).getBareJID(), passwordCleartext);
- }
-
public boolean verifyAccountExists(Entity jid) {
return userPasswordMap.get(jid.getBareJID()) != null;
}