public static Map < String , String > getRegisterdSASLMechanisms ( ) { Map < String , String > answer = new LinkedHashMap <> ( ) ; synchronized ( REGISTERED_MECHANISMS ) { for ( SASLMechanism mechanism : REGISTERED_MECHANISMS ) { answer . put ( mechanism . getClass ( ) . getName ( ) , mechanism . toString ( ) ) ; } } return answer ; }
Returns the registered SASLMechanism sorted by the level of preference .