com.cafesoft.cams.oblig
Interface Obligation

All Known Implementing Classes:
StandardObligation

public interface Obligation

Obligation defines the interface for objects representing a course of action that must be fulfilled by a Cams policy enforcement point based on instructions from a Cams policy decision point. Cams Obligation instances are generally specific to the Cams agent (policy enforcement point).

Since:
9/20/2004

Method Summary
 int getAttributeCount()
          Get the number of attributes.
 AttributeSet getAttributes()
          Get the attributes.
 String getDescription()
          Get the obligation description.
 URI getId()
          Get the obligation identifier.
 boolean matches(Effect effect)
          Determine if this Obligation matches a given Effect.
 boolean matches(EvaluationResult evalResult)
          Determine if this Obligation matches a given security component evaluation result.
 

Method Detail

getId

public URI getId()
Get the obligation identifier.

Returns:
the obligation's identifier as a URI.

getDescription

public String getDescription()
Get the obligation description.

Returns:
a textual description of the obligation.

matches

public boolean matches(EvaluationResult evalResult)
Determine if this Obligation matches a given security component evaluation result.

Parameters:
evalResult - the EvaluationResult.
Returns:
true if this Obligation matches the specified EvaluationResult else false.

matches

public boolean matches(Effect effect)
Determine if this Obligation matches a given Effect.

Parameters:
effect - the Effect to be matched.

getAttributeCount

public int getAttributeCount()
Get the number of attributes.

Returns:
the number of attributes for this Obligation instance.

getAttributes

public AttributeSet getAttributes()
Get the attributes.

Returns:
the attributes for this Obligation instance.


Generated on 5:16:42 PM May 12, 2008, © 1996-2005 Cafésoft LLC. All rights reserved.