Imported Upstream version 2.2.1+dfsg
[shibboleth/sp.git] / shibsp / attribute / ScopedAttribute.h
index d72cd0c..a8acac5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Copyright 2001-2007 Internet2
+ *  Copyright 2001-2009 Internet2
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -84,6 +84,17 @@ namespace shibsp {
             return m_values;
         }
 
+        /**
+         * Returns the set of values encoded as UTF-8 strings.
+         * 
+         * <p>Each compound value is a pair containing the simple value and the scope. 
+         * 
+         * @return  an immutable vector of the values
+         */
+        const std::vector< std::pair<std::string,std::string> >& getValues() const {
+            return m_values;
+        }
+
         size_t valueCount() const {
             return m_values.size();
         }