Commit 90b143b8 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Made #addSupportedMechanism and #removeSupportedMechanism static. JM-740

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@4164 b35dd754-fafc-0310-a699-88a17e54d16e
parent 4acd591e
......@@ -448,11 +448,12 @@ public class SASLAuthentication {
}
/**
* Adds a new SASL mechanism to the list of supported SASL mechanisms by the server.
* Adds a new SASL mechanism to the list of supported SASL mechanisms by the server. The
* new mechanism will be offered to clients and connection managers as stream features.
*
* @param mechanism the new SASL mechanism.
*/
public void addSupportedMechanism(String mechanism) {
public static void addSupportedMechanism(String mechanism) {
mechanisms.add(mechanism);
}
......@@ -461,7 +462,7 @@ public class SASLAuthentication {
*
* @param mechanism the SASL mechanism to remove.
*/
public void removeSupportedMechanism(String mechanism) {
public static void removeSupportedMechanism(String mechanism) {
mechanisms.remove(mechanism);
}
......
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