Commit e4ba8864 authored by Gabriel Guardincerri's avatar Gabriel Guardincerri Committed by gguardin

[RTC-16] Unable to access OF Admin Console when shared key is changed in...

[RTC-16] Unable to access OF Admin Console when shared key is changed in Clearspace but not in Openfire
[JM-1428] Fixed: Non-descriptive error message when OF is in an update state.
[JM-1408] Fixed: Non-descriptive error message when login to OF admin console while Clearspace is down.
[JM-1429] Fixed: Secure the shared secret of OF's CS integration admin page.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@10693 b35dd754-fafc-0310-a699-88a17e54d16e
parent fe131760
...@@ -62,7 +62,6 @@ ...@@ -62,7 +62,6 @@
// Hash the current shared secret // Hash the current shared secret
if (plainSharedSecret != null) { if (plainSharedSecret != null) {
existingHashSharedSecret = StringUtils.hash(plainSharedSecret); existingHashSharedSecret = StringUtils.hash(plainSharedSecret);
System.out.println("2- existingHashSharedSecret: " + existingHashSharedSecret);
} }
// Check if the new shared secret was changed. If it wasn't changed, then it is the original hashed shared secret // Check if the new shared secret was changed. If it wasn't changed, then it is the original hashed shared secret
// NOTE: if the new PLAIN password equals the previous HASHED password this fails, but is unlikely. // NOTE: if the new PLAIN password equals the previous HASHED password this fails, but is unlikely.
...@@ -119,7 +118,6 @@ ...@@ -119,7 +118,6 @@
// Save settings and redirect // Save settings and redirect
manager.setConnectionURI(uri); manager.setConnectionURI(uri);
manager.setSharedSecret(plainSharedSecret); manager.setSharedSecret(plainSharedSecret);
System.out.println("6- plainSharedSecret: " + plainSharedSecret);
// Enable the Clearspace auth, user, group, vcard, lockout, security audit, and admin providers. // Enable the Clearspace auth, user, group, vcard, lockout, security audit, and admin providers.
JiveGlobals.setProperty("provider.auth.className", JiveGlobals.setProperty("provider.auth.className",
......
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