activemq-cpp-3.4.0
|
Base interface for a principal, which can represent an individual or organization. More...
#include <src/main/decaf/security/Principal.h>
Public Member Functions | |
virtual | ~Principal () |
virtual bool | equals (const Principal &another) const =0 |
Compares two principals to see if they are the same. | |
virtual std::string | getName () const =0 |
Provides the name of this principal. |
Base interface for a principal, which can represent an individual or organization.
virtual decaf::security::Principal::~Principal | ( | ) | [inline, virtual] |
virtual bool decaf::security::Principal::equals | ( | const Principal & | another | ) | const [pure virtual] |
Compares two principals to see if they are the same.
another | A principal to be tested for equality to this one. |
virtual std::string decaf::security::Principal::getName | ( | ) | const [pure virtual] |
Provides the name of this principal.
Implemented in decaf::security::auth::x500::X500Principal.