class PolicyContextImpl

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

Public Methods

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


Documentation

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

o ~PolicyContextImpl()
Destroys this object.

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

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

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

oconst AkentiX509Certificate& getSubjectCert() const
Returns the user's x509Certificate.

See Also:
AkentiX509Certificate

oconst CapabilityCertificate& getCapabilityCert() const
Returns the user's capability.

See Also:
CapabilityCertificate

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

See Also:
PolicyImpl

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

See Also:
AttributeCertificate

oconst multimap<string, string> & getRestrictedAttributes() const
Returns the desired attributes.

Note: empty map implies all attributes are desired.

obool 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.

oconst set<string> & getDesiredActions() const
Returns the desired actions.

Note: empty set implies all actions are desired.

obool isActionDesired(const string& action) const
Returns true if action is desired.

Note: empty ==> all actions are desired.

oconst vector<string> & getUnconditionalActions() const
Returns the unconditional actions

oconst vector<ConditionalActions> & getConditionalActionsList() const
Returns the conditional actions.

See Also:
ConditionalActions

ostring paramString() const
For debugging


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

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.