Commit 55d14b3a authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Use static method as static and not as instance

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@10213 b35dd754-fafc-0310-a699-88a17e54d16e
parent 06ffffd5
......@@ -79,7 +79,7 @@
if (StringUtils.hash(AdminConsolePlugin.secret).equals(secret) && ClusterManager.isClusterMember(Base64.decode(nodeID, Base64.URL_SAFE))) {
authToken = new AuthToken(username);
}
else if ("clearspace".equals(nodeID) && ClearspaceManager.getInstance().isEnabled()) {
else if ("clearspace".equals(nodeID) && ClearspaceManager.isEnabled()) {
ClearspaceManager csmanager = ClearspaceManager.getInstance();
String sharedSecret = csmanager.getSharedSecret();
if (nonce == null || sharedSecret == null || !csmanager.isValidNonce(nonce) ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment