class ExternalEvaluatorImpl

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

Public Methods

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

Protected Methods

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


Documentation

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

o ExternalEvaluatorImpl()
Constructor

ovirtual ~ExternalEvaluatorImpl()
Destructor

ovirtual 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&)

ovirtual bool evaluateSystemAttribute(TokenType op, const AttributeInfo& attrInfo)
Returns true if (attrInfogetAttribute() op attrInfogetValue())

Note: the engine will call this method only if canHandleSystemAttribute

See Also:
AttributeInfo
TokenType

ovirtual 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&)

ovirtual bool evaluateExternalAttribute(TokenType op, const AttributeInfo& attrInfo)
Returns true if (attrInfogetAttribute() op attrInfogetValue())

Note: the engine will call this method only if canHandleHandleExternalAttribute returned true.

See Also:
AttributeInfo
TokenType

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

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

oconst PolicyContext& getPolicyContext()
See Also:
PolicyContext

oCertificateVerifier& getCertificateVerifier()
See Also:
CertificateVerifier

oCertificateCache& getCertificateCache()

See Also:
CertificateCache


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

Alphabetic index HTML hierarchy of classes or Java



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