@Override
public SaslServer createSaslServer(String mechanism, String localFQDN, Principal externalPrincipal) throws SaslException
{
if(EXTERNAL.equals(mechanism))
{
return new ExternalSaslServer(externalPrincipal, _useFullDN);
}
else
{
throw new SaslException("Unknown mechanism: " + mechanism);
}