<commit_before>/*
 * License
 */
package org.igniterealtime.xiff.auth
{
	import flash.xml.XMLNode;

	/**
	 * This is a base class for use with Simple Authentication and Security Layer
	 * (SASL) mechanisms. Sub-class this class when creating new SASL mechanisms.
	 * @see http://tools.ietf.org/html/rfc4422
	 * @see http://en.wikipedia.org/wiki/Simple_Authentication_and_Security_Layer
	 */
	public class SASLAuth
	{

		/**
		 * The XML of the authentication request.
		 */
		protected var req:XMLNode;

		/**
		 * The current response stage.
		 */
		protected var stage:int;
		
		public function SASLAuth()
		{
			throw new Error( "Don't call directly SASLAuth; use a subclass" );
		}

		/**
		 * Called when a response to this authentication is received.
		 *
		 * @param	stage The current stage in the authentication process.
		 * @param	response The XML of the actual authentication response.
		 *
		 * @return An object specifying the current state of the authentication.
		 */
		public function handleResponse( stage:int, response:XMLNode ):Object
		{
			throw new Error( "Don't call this method on SASLAuth; use a subclass" );
		}

		/**
		 * The XML for the authentication request.
		 */
		public function get request():XMLNode
		{
			return req;
		}
	}
}<commit_msg>Obviously super() is ran anyhow in the extending classes thus error was thrown as per the previous commit. Perhaps I should just start to post patches and wait some weeks until they would be reviewed...<commit_after>/*
 * License
 */
package org.igniterealtime.xiff.auth
{
	import flash.xml.XMLNode;

	/**
	 * This is a base class for use with Simple Authentication and Security Layer
	 * (SASL) mechanisms. Sub-class this class when creating new SASL mechanisms.
	 * @see http://tools.ietf.org/html/rfc4422
	 * @see http://en.wikipedia.org/wiki/Simple_Authentication_and_Security_Layer
	 */
	public class SASLAuth
	{

		/**
		 * The XML of the authentication request.
		 */
		protected var req:XMLNode;

		/**
		 * The current response stage.
		 */
		protected var stage:int;
		
		public function SASLAuth()
		{
			// Don't call directly SASLAuth; use a subclass
		}

		/**
		 * Called when a response to this authentication is received.
		 *
		 * @param	stage The current stage in the authentication process.
		 * @param	response The XML of the actual authentication response.
		 *
		 * @return An object specifying the current state of the authentication.
		 */
		public function handleResponse( stage:int, response:XMLNode ):Object
		{
			throw new Error( "Don't call this method on SASLAuth; use a subclass" );
		}

		/**
		 * The XML for the authentication request.
		 */
		public function get request():XMLNode
		{
			return req;
		}
	}
}
{'fraction_non_alphanumeric': 0.09154411764705882, 'fraction_numerical': 0.0029411764705882353, 'mean_word_length': 3.135258358662614, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2641125', 'n_tokens_mistral': 898, 'n_tokens_neox': 745, 'n_words': 295}