Fixed attribute-based functors.
[shibboleth/sp.git] / shibsp / Application.h
index 7f67005..28e970c 100644 (file)
@@ -117,6 +117,14 @@ namespace shibsp {
          */
         virtual AttributeResolver* getAttributeResolver() const=0;
 
+        /**\r
+         * Returns a set of attribute IDs to use as a REMOTE_USER value.\r
+         * <p>The first attribute with a value (and only a single value) will be used.\r
+         *\r
+         * @return  a set of attribute IDs, or an empty set\r
+         */\r
+        virtual const std::set<std::string>& getRemoteUserAttributeIds() const=0;
+
         /**
          * Returns the CredentialResolver instance associated with this Application.
          *