diff --git a/lib/SimpleSAML/Auth/BWC.php b/lib/SimpleSAML/Auth/BWC.php
index 538ca90443220f23dbcb55cb6c8d16f88681a325..2866f11c2bbc54cb0487bf396594dc8b14ea1303 100644
--- a/lib/SimpleSAML/Auth/BWC.php
+++ b/lib/SimpleSAML/Auth/BWC.php
@@ -59,6 +59,16 @@ class SimpleSAML_Auth_BWC extends SimpleSAML_Auth_Simple {
 	}
 
 
+	/**
+	 * Retrieve the implementing authentication source.
+	 *
+	 * @return NULL  There is never an authentication source behind this class.
+	 */
+	public function getAuthSource() {
+		return NULL;
+	}
+
+
 	/**
 	 * Start a login operation.
 	 *
diff --git a/lib/SimpleSAML/Auth/Simple.php b/lib/SimpleSAML/Auth/Simple.php
index ec08f29d680386ae9e54c4ac3c794844d18acdab..0041dddb95c3ce70cdd90545b61b9f41fe19ebcb 100644
--- a/lib/SimpleSAML/Auth/Simple.php
+++ b/lib/SimpleSAML/Auth/Simple.php
@@ -28,6 +28,16 @@ class SimpleSAML_Auth_Simple {
 	}
 
 
+	/**
+	 * Retrieve the implementing authentication source.
+	 *
+	 * @return SimpleSAML_Auth_Source  The authentication source.
+	 */
+	public function getAuthSource() {
+		return SimpleSAML_Auth_Source::getById($this->authSource);
+	}
+
+
 	/**
 	 * Check if the user is authenticated.
 	 *