org.netbeans.lib.collab
Interface SASLClientProviderFactory


public interface SASLClientProviderFactory

A SASL client provider factory. The factory exposes the SASL mechanisms supported at the client side. The supported set of mechanism is the subset of : 1) mechanisms supported by the various factories registered on the client side. 2) native mechanisms supported at the client side. 3) Mechanisms supported by the server - as returned by XMPP features. The actual mechanism which is selected will be what gets returned by

Author:
Mridul Muralidharan
See Also:
Depending on which mechanism is selected, the createInstance(String) is invoked on the Factory which supports that mechanism.

Method Summary
 SASLClientProvider createInstance(java.lang.String mechanism)
          Create a new provider instance which will be used to handle the sasl authentication
 java.lang.String[] getSupportedMechanisms()
          Return an array of mechanism's that will be supported by the provider instances created by this factory.
 

Method Detail

getSupportedMechanisms

public java.lang.String[] getSupportedMechanisms()
Return an array of mechanism's that will be supported by the provider instances created by this factory.


createInstance

public SASLClientProvider createInstance(java.lang.String mechanism)
Create a new provider instance which will be used to handle the sasl authentication