ExternalClient(String authorizationID) throws SaslException {
  if (authorizationID != null) {
    try {
      username=authorizationID.getBytes("UTF8");
    }
 catch (    java.io.UnsupportedEncodingException e) {
      throw new SaslException("Cannot convert " + authorizationID + " into UTF-8",e);
    }
  }
 else {
    username=new byte[0];
  }
}

ExternalClient ( String authorizationID ) throws SaslException { if ( authorizationID != null ) { try { username = authorizationID . getBytes ( "UTF8" ) ; } catch ( java . io . UnsupportedEncodingException e ) { throw new SaslException ( "Cannot convert " + authorizationID + " into UTF-8" , e ) ; } } else { username = new byte [ 0 ] ; } }
constructs an external mechanism with optional authorization id .
