class AKRuntime


Public Methods

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


Documentation

o ~AKRuntime()

oconst string& getResource()
Returns the name of the resource.

See Also:
getResource()

oconst AkentiPrincipal& getAkentiPrincipal()
Returns the user.

See Also:
getAkentiPrincipal()

oconst vector<Policy> & getPolicies()
Returns the policies.

See Also:
Policy
getPolicies()

oconst PolicyContext& getPolicyContext()
Returns the policy context.

See Also:
PolicyContext

oCertInfoCollector& getCertInfoCollector()
Returns the CertInfo collector

See Also:
CertInfoCollector

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

empty => all actions are desired.

See Also:
getDesiredActions();

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

See Also:
getRestrictedAttributes()

obool isAttributeDesired(const string& attribute, const string& value) const
Returns true if action is desired.

Note: empty ==> all actions are desired.

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

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

oCertificateVerifier& getCertificateVerifier()
Returns the certificate verifier.

See Also:
CertificateVerifier

olong getCacheInterval()
Returns the cache interval

oCertificateCache& getCertificateCache()
Use this to cache certificates

ovoid setResource(const string& resource)

ovoid setAkentiPrincipal(const AkentiPrincipal& ap)

ovoid setResourceAltName(const string& resAltName)

ovoid setSubjectCert(const AkentiX509Certificate& cert)

ovoid setCapabilityCert(const CapabilityCertificate& cert)

ovoid addAkentiX509Cert(const AkentiX509Certificate& x509Cert)

ovoid addAttributeCert(const AttributeCertificate& attrCert)

ovoid addUnconditionalAction(const string& unconditionalAction)

ovoid addConditionalActions(const ConditionalActions& condActions)

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

oint getCALevel(int level)

oconst vector<URL> & getIdentityURLS(int level)

ovoid addPolicy(const Policy& policy)

oPolicy& getPolicy(int index)

oint numOfPolicies()

ovoid setLevel(int level)

oint getLevel()

ovoid setExternalEvaluator(const ExternalEvaluator& externalEvaluator)

ovoid setDesiredActions(const set<string>& desiredActions)

ovoid setRestrictedAttributes(const multimap<string, string>& desiredAttributes)

ovoid setCacheCap(bool)

obool getCacheCap() const

oExternalEvaluator& getExternalEvaluator()

obool shouldStop() const

ostring paramString() const

ostatic AKRuntime* createAKRuntime()


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

Alphabetic index HTML hierarchy of classes or Java



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