class ExternalEvaluatorImpl

Subclass implementors should overide the virtual public methods to help the engine evaluate

Public Methods

ExternalEvaluatorImpl ()
Constructor
virtual ~ExternalEvaluatorImpl ()
Destructor
virtual bool canHandleSystemAttribute (const string& attribute)
Returns true if this evaluator knows how to handle the SYSTEM attribute specified in the argument
virtual bool evaluateSystemAttribute (TokenType op, const AttributeInfo& attrInfo)
Returns true if (attrInfo
virtual bool canHandleExternalAttribute (const string& attribute)
Returns true if this evaluator knows how to handle the EXT_AUTH attribute specified in the argument
virtual bool evaluateExternalAttribute (TokenType op, const AttributeInfo& attrInfo)
Returns true if (attrInfo
int getCacheInterval () const
Returns the cache Interval

Protected Methods

void setCacheInterval (int numOfseconds)
Allows the external evaluator to suggest whether it likes the capability certificate to be cached
const PolicyContext& getPolicyContext ()
CertificateVerifier& getCertificateVerifier ()
CertificateCache& getCertificateCache ()

Documentation

Subclass implementors should overide the virtual public methods to help the engine evaluate
ExternalEvaluatorImpl()
Constructor

virtual ~ExternalEvaluatorImpl()
Destructor

virtual bool canHandleSystemAttribute(const string& attribute)
Returns true if this evaluator knows how to handle the SYSTEM attribute specified in the argument.
See Also:
evaluateSystemAttribute(TokenType, const AttributeInfo&)

virtual bool evaluateSystemAttribute(TokenType op, const AttributeInfo& attrInfo)
Returns true if (attrInfo.getAttribute() op attrInfo.getValue()) Note: the engine will call this method only if canHandleSystemAttribute
See Also:
AttributeInfo
TokenType

virtual bool canHandleExternalAttribute(const string& attribute)
Returns true if this evaluator knows how to handle the EXT_AUTH attribute specified in the argument.
See Also:
evaluateExternalAttribute(TokenType, const AttributeInfo&)

virtual bool evaluateExternalAttribute(TokenType op, const AttributeInfo& attrInfo)
Returns true if (attrInfo.getAttribute() op attrInfo.getValue()) Note: the engine will call this method only if canHandleHandleExternalAttribute returned true.
See Also:
AttributeInfo
TokenType

int getCacheInterval() const
Returns the cache Interval. If return value > 0 The engine may not cache the capability certificate but if it does it will cache it for no longer than the cache Interval. Note: a return value < 0 implies the external evaluator does not care.

void setCacheInterval(int numOfseconds)
Allows the external evaluator to suggest whether it likes the capability certificate to be cached. A negative value implies the evaluator does not care.

const PolicyContext& getPolicyContext()
See Also:
PolicyContext

CertificateVerifier& getCertificateVerifier()
See Also:
CertificateVerifier

CertificateCache& getCertificateCache()
See Also:
CertificateCache


This class has no child classes.
Author:
Abdelilah Essiari
Version:
1.1 03/04/2003
See Also:
ExternalEvaluator
AKRuntime

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