com.cafesoft.cams.oblig
Interface EvaluationResultMatch

All Known Implementing Classes:
AcrEvaluationResultMatch

public interface EvaluationResultMatch

EvaluationResultMatch defines the interface for objects that match a given AccessControlRule evaluation result against a specified return value or EvaluationException reason code.

Since:
11/02/2004

Field Summary
static int ANY_REASON_CODE
          Constant used to represent ANY EvaluationException reason code.
 
Method Summary
 boolean matches(EvaluationResult evalResult)
          Returns true if a boolean AccessControlRule return value matches the return value pattern specified by this EvaluationResultMatch.
 

Field Detail

ANY_REASON_CODE

static final int ANY_REASON_CODE
Constant used to represent ANY EvaluationException reason code.

See Also:
Constant Field Values
Method Detail

matches

boolean matches(EvaluationResult evalResult)
Returns true if a boolean AccessControlRule return value matches the return value pattern specified by this EvaluationResultMatch.

Parameters:
evalResult - the result of a security component evaluation.
Returns:
true if a match, else false.


Generated on 10:38:35 AM April 14, 2011, © 1996-2010 Cafésoft LLC. All rights reserved.