diff --git a/lib/SimpleSAML/Session.php b/lib/SimpleSAML/Session.php
index 4756b0d93e49f0f6ca883cdac72498d738c2a58b..998045ff1dda102117509ce58cd9112afaabfbb2 100644
--- a/lib/SimpleSAML/Session.php
+++ b/lib/SimpleSAML/Session.php
@@ -734,21 +734,6 @@ class SimpleSAML_Session {
 	}
 
 
-	/**
-	 * Retrieve a single attribute.
-	 *
-	 * @param string $name  The name of the attribute.
-	 * @return array|NULL  The values of the given attribute.
-	 * @deprecated
-	 */
-	public function getAttribute($name) {
-		if (!isset($this->authData[$this->authority]['Attributes'][$name])) {
-			return NULL;
-		}
-		return $this->authData[$this->authority]['Attributes'][$name];
-	}
-
-
 	/**
 	 * Set the attributes for this session.
 	 *
@@ -763,20 +748,6 @@ class SimpleSAML_Session {
 	}
 
 
-	/**
-	 * Set the values of a single attribute.
-	 *
-	 * @param string $name The name of the attribute.
-	 * @param array $value The values of the attribute.
-	 */
-	public function setAttribute($name, $value) {
-		assert('isset($this->authData[$this->authority])');
-
-		$this->dirty = true;
-		$this->authData[$this->authority]['Attributes'][$name] = $value;
-	}
-
-
 	/**
 	 * Calculates the size of the session object after serialization
 	 *