class AKRuntime


Public Methods

~AKRuntime ()
const string& getResource ()
Returns the name of the resource
const AkentiPrincipal& getAkentiPrincipal ()
Returns the user
const vector <Policy> & getPolicies ()
Returns the policies
const PolicyContext& getPolicyContext ()
Returns the policy context
CertInfoCollector& getCertInfoCollector ()
Returns the CertInfo collector
const set & getDesiredActions ()
Returns the desired actions
const multimap & getRestrictedAttributes ()
Returns the desired attributes
bool isAttributeDesired (const string& attribute, const string& value) const
Returns true if action is desired
bool isActionDesired (const string& action) const
Returns true if action is desired
const vector <URL> & getAttributeURLS ()
Returns the urls used to locate attribute directories
CertificateVerifier& getCertificateVerifier ()
Returns the certificate verifier
long getCacheInterval ()
Returns the cache interval
CertificateCache& getCertificateCache ()
Use this to cache certificates
void setResource (const string& resource)
void setAkentiPrincipal (const AkentiPrincipal& ap)
void setResourceAltName (const string& resAltName)
void setSubjectCert (const AkentiX509Certificate& cert)
void setCapabilityCert (const CapabilityCertificate& cert)
void addAkentiX509Cert (const AkentiX509Certificate& x509Cert)
void addAttributeCert (const AttributeCertificate& attrCert)
void addUnconditionalAction (const string& unconditionalAction)
void addConditionalActions (const ConditionalActions& condActions)
const vector <AKCertHolder> & getCACerts (int startLevel, int &caLevel)
int getCALevel (int level)
const vector <URL> & getIdentityURLS (int level)
void addPolicy (const Policy& policy)
Policy& getPolicy (int index)
int numOfPolicies ()
void setLevel (int level)
int getLevel ()
void setExternalEvaluator (const ExternalEvaluator& externalEvaluator)
void setDesiredActions (const set& desiredActions)
void setRestrictedAttributes (const multimap& desiredAttributes)
void setCacheCap (bool)
bool getCacheCap () const
ExternalEvaluator& getExternalEvaluator ()
bool shouldStop () const
string paramString () const
static AKRuntime* createAKRuntime ()

Documentation

~AKRuntime()

const string& getResource()
Returns the name of the resource.
See Also:
getResource()

const AkentiPrincipal& getAkentiPrincipal()
Returns the user.
See Also:
getAkentiPrincipal()

const vector <Policy> & getPolicies()
Returns the policies.
See Also:
Policy
getPolicies()

const PolicyContext& getPolicyContext()
Returns the policy context.
See Also:
PolicyContext

CertInfoCollector& getCertInfoCollector()
Returns the CertInfo collector
See Also:
CertInfoCollector

const set & getDesiredActions()
Returns the desired actions. empty => all actions are desired.
See Also:
getDesiredActions();

const multimap & getRestrictedAttributes()
Returns the desired attributes.
See Also:
getRestrictedAttributes()

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

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

const vector <URL> & getAttributeURLS()
Returns the urls used to locate attribute directories

CertificateVerifier& getCertificateVerifier()
Returns the certificate verifier.
See Also:
CertificateVerifier

long getCacheInterval()
Returns the cache interval

CertificateCache& getCertificateCache()
Use this to cache certificates

void setResource(const string& resource)

void setAkentiPrincipal(const AkentiPrincipal& ap)

void setResourceAltName(const string& resAltName)

void setSubjectCert(const AkentiX509Certificate& cert)

void setCapabilityCert(const CapabilityCertificate& cert)

void addAkentiX509Cert(const AkentiX509Certificate& x509Cert)

void addAttributeCert(const AttributeCertificate& attrCert)

void addUnconditionalAction(const string& unconditionalAction)

void addConditionalActions(const ConditionalActions& condActions)

const vector <AKCertHolder> & getCACerts(int startLevel, int &caLevel)

int getCALevel(int level)

const vector <URL> & getIdentityURLS(int level)

void addPolicy(const Policy& policy)

Policy& getPolicy(int index)

int numOfPolicies()

void setLevel(int level)

int getLevel()

void setExternalEvaluator(const ExternalEvaluator& externalEvaluator)

void setDesiredActions(const set& desiredActions)

void setRestrictedAttributes(const multimap& desiredAttributes)

void setCacheCap(bool)

bool getCacheCap() const

ExternalEvaluator& getExternalEvaluator()

bool shouldStop() const

string paramString() const

static AKRuntime* createAKRuntime()


This class has no child classes.
Author:
Abdelilah Essiari
Version:
1.1 00/05/01
See Also:
CertificateCache
CertificateVerifier

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