activemq-cpp-3.6.0
decaf::security::Principal Class Reference

Base interface for a principal, which can represent an individual or organization. More...

#include <src/main/decaf/security/Principal.h>

Inheritance diagram for decaf::security::Principal:

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.

Detailed Description

Base interface for a principal, which can represent an individual or organization.

Constructor & Destructor Documentation

virtual decaf::security::Principal::~Principal ( )
inlinevirtual

Member Function Documentation

virtual bool decaf::security::Principal::equals ( const Principal another) const
pure virtual

Compares two principals to see if they are the same.

Parameters
anotherA principal to be tested for equality to this one.
Returns
true if the given principal is equivalent to this one.
virtual std::string decaf::security::Principal::getName ( ) const
pure virtual

Provides the name of this principal.

Returns
the name of this principal.

Implemented in decaf::security::auth::x500::X500Principal.


The documentation for this class was generated from the following file: