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:
Inheritance graph
[legend]

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 (  )  [virtual]

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:
another A 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:

Generated on 1 Dec 2014 for activemq-cpp-3.8.2 by  doxygen 1.6.1