namespace Akenti class PolicyContextImpl

The policy context contains all the relevent information that was used by the engine to satisfy a request

Public Methods

~PolicyContextImpl ()
Destroys this object
const string& getResource () const
Returns the name of the resource being accesed
const string& getResourceAltName () const
Returns the friendly resource name
const AkentiPrincipal& getAkentiPrincipal () const
Returns the dn/caDN of the user
const AkentiX509Certificate& getSubjectCert () const
Returns the user's x509Certificate
const CapabilityCertificate& getCapabilityCert () const
Returns the user's capability
const vector <Policy> & getPolicies () const
Returns a vector of all policies that apply to this resource
const vector <AttributeCertificate> & getAttributeCerts () const
Returns a vector of all users' attribute certificates to evaluate the Use Conditions
const multimap & getRestrictedAttributes () const
Returns the desired attributes
bool isAttributeDesired (const string& attribute, const string& value) const
Returns true if attribute and value is desired to be used
const set & getDesiredActions () const
Returns the desired actions
bool isActionDesired (const string& action) const
Returns true if action is desired
const vector & getUnconditionalActions () const
Returns the unconditional actions
const vector <ConditionalActions> & getConditionalActionsList () const
Returns the conditional actions
string paramString () const
For debugging

Documentation

The policy context contains all the relevent information that was used by the engine to satisfy a request.
~PolicyContextImpl()
Destroys this object

const string& getResource() const
Returns the name of the resource being accesed

const string& getResourceAltName() const
Returns the friendly resource name

const AkentiPrincipal& getAkentiPrincipal() const
Returns the dn/caDN of the user

const AkentiX509Certificate& getSubjectCert() const
Returns the user's x509Certificate.
See Also:
AkentiX509Certificate

const CapabilityCertificate& getCapabilityCert() const
Returns the user's capability.
See Also:
CapabilityCertificate

const vector <Policy> & getPolicies() const
Returns a vector of all policies that apply to this resource.
See Also:
PolicyImpl

const vector <AttributeCertificate> & getAttributeCerts() const
Returns a vector of all users' attribute certificates to evaluate the Use Conditions.
See Also:
AttributeCertificate

const multimap & getRestrictedAttributes() const
Returns the desired attributes. Note: empty map implies all attributes are desired.

bool isAttributeDesired(const string& attribute, const string& value) const
Returns true if attribute and value is desired to be used. Note: empty ==> all attribute/values are desired.

const set & getDesiredActions() const
Returns the desired actions. Note: empty set implies all actions are desired.

bool isActionDesired(const string& action) const
Returns true if action is desired. Note: empty ==> all actions are desired.

const vector & getUnconditionalActions() const
Returns the unconditional actions

const vector <ConditionalActions> & getConditionalActionsList() const
Returns the conditional actions.
See Also:
ConditionalActions

string paramString() const
For debugging


This class has no child classes.
Author:
Srilekha Mudumbai Abdelilah Essiari
Version:
1.1 00/05/01

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de