#include <shibsp/attribute/NameIDAttribute.h>
Inheritance diagram for shibsp::NameIDAttribute:
Public Member Functions | |
NameIDAttribute (const std::vector< std::string > &ids, const char *formatter="$Name!!$NameQualifier!!$SPNameQualifier", const char *hashAlg=nullptr) | |
Constructor. | |
NameIDAttribute (DDF &in) | |
Constructs based on a remoted NameIDAttribute. | |
std::vector< Value > & | getValues () |
Returns the set of values encoded as UTF-8 strings. | |
const std::vector< Value > & | getValues () const |
Returns the set of values encoded as UTF-8 strings. | |
size_t | valueCount () const |
Returns the number of values. | |
void | clearSerializedValues () |
Informs the Attribute that values have changed and any serializations must be cleared. | |
const char * | getString (size_t index) const |
Gets the string equivalent of the value at the specified position (starting from zero). | |
const char * | getScope (size_t index) const |
Gets the "scope" of the value at the specified position (starting from zero). | |
void | removeValue (size_t index) |
Removes the value at the specified position (starting from zero). | |
const std::vector< std::string > & | getSerializedValues () const |
Returns serialized Attribute values encoded as UTF-8 strings. | |
DDF | marshall () const |
Marshalls an Attribute for remoting. | |
Classes | |
struct | Value |
Holds all the fields associated with a NameID. More... |
|
Constructor.
|
|
Constructs based on a remoted NameIDAttribute.
|
|
Gets the "scope" of the value at the specified position (starting from zero).
Reimplemented from shibsp::Attribute. |
|
Returns serialized Attribute values encoded as UTF-8 strings.
Reimplemented from shibsp::Attribute. |
|
Gets the string equivalent of the value at the specified position (starting from zero).
Reimplemented from shibsp::Attribute. |
|
Returns the set of values encoded as UTF-8 strings.
|
|
Returns the set of values encoded as UTF-8 strings.
|
|
Marshalls an Attribute for remoting. This allows Attribute objects to be communicated across process boundaries without excess XML parsing. The DDF returned must be a struct containing a single list member named with the Attribute's "id". The name of the struct should contain the registered name of the Attribute implementation. Reimplemented from shibsp::Attribute. |
|
Removes the value at the specified position (starting from zero).
Reimplemented from shibsp::Attribute. |
|
Returns the number of values.
Reimplemented from shibsp::Attribute. |