|
| 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.
|
|
const char * | getId () const |
| Returns the Attribute identifier.
|
|
const std::vector< std::string > & | getAliases () const |
| Returns all of the effective names for the Attribute.
|
|
std::vector< std::string > & | getAliases () |
| Returns all of the effective names for the Attribute.
|
|
void | setCaseSensitive (bool caseSensitive) |
| Sets whether case sensitivity should apply to basic value comparisons.
|
|
void | setInternal (bool internal) |
| Sets whether the attribute should be exported for CGI use.
|
|
bool | isCaseSensitive () const |
| Indicates whether case sensitivity should apply to basic value comparisons.
|
|
bool | isInternal () const |
| Indicates whether the attribute should be exported for CGI use.
|
|
virtual size_t | valueCount () const |
| Returns the number of values.
|
|
virtual const std::vector< std::string > & | getSerializedValues () const |
| Returns serialized Attribute values encoded as UTF-8 strings.
|
|
virtual void | clearSerializedValues ()=0 |
| Informs the Attribute that values have changed and any serializations must be cleared.
|
|
virtual const char * | getString (size_t index) const |
| Gets the string equivalent of the value at the specified position (starting from zero).
|
|
virtual const char * | getScope (size_t index) const |
| Gets the "scope" of the value at the specified position (starting from zero).
|
|
virtual void | removeValue (size_t index) |
| Removes the value at the specified position (starting from zero).
|
|
virtual DDF | marshall () const |
| Marshalls an Attribute for remoting.
|
|
|
typedef Attribute * | AttributeFactory(DDF &in) |
| A function that unmarshalls remoted data into the proper Attribute subclass.
|
|
static Attribute * | unmarshall (DDF &in) |
| Unmarshalls a remoted Attribute.
|
|
static void | registerFactory (const char *type, AttributeFactory *factory) |
| Registers an AttributeFactory function for a given attribute "type".
|
|
static void | deregisterFactory (const char *type) |
| Deregisters an AttributeFactory function for a given attribute "type".
|
|
static void | deregisterFactories () |
| Clears the map of factories.
|
|
| Attribute (const std::vector< std::string > &ids) |
| Constructor.
|
|
| Attribute (DDF &in) |
| Constructs based on a remoted Attribute.
|
|
std::vector< std::string > | m_serialized |
| Maintains a copy of serialized attribute values, when possible.
|
|
An Attribute whose values are derived from or mappable to a SAML NameID.