|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.cafesoft.cams.oblig.AcrEvaluationResultMatch
AcrEvaluationResultMatch is the implementation of
EvaluationResultMatch for matching AccessControlRule
EvaluationResult instances.
| Field Summary | |
static int |
EVALUATION_EXCEPTION_RETURN_VALUE
The result pattern representing an EvaluationException thrown from an evaluated AccessControlRule. |
static int |
FALSE_RETURN_VALUE
The result pattern representing a false return value from an evaluated AccessControlRule. |
static int |
NOT_APPLICABLE_REASON_CODE
The reason pattern indicating that a reason code is not applicable because the AccessControlRule returned a true or false value. |
static int |
TRUE_OR_FALSE_RETURN_VALUE
The result pattern representing a true or false return value from an evaluated AccessControlRule. |
static int |
TRUE_RETURN_VALUE
The result pattern representing a true return value from an evaluated AccessControlRule. |
| Fields inherited from interface com.cafesoft.cams.oblig.EvaluationResultMatch |
ANY_REASON_CODE |
| Constructor Summary | |
AcrEvaluationResultMatch(int returnValuePattern,
int reason)
Create a new AcrEvaluationResultMatch object. |
|
| Method Summary | |
boolean |
matches(EvaluationResult evalResult)
Returns true if a boolean AccessControlRule return value matches the return value pattern specified by this EvaluationResultMatch. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int FALSE_RETURN_VALUE
public static final int TRUE_RETURN_VALUE
public static final int TRUE_OR_FALSE_RETURN_VALUE
public static final int EVALUATION_EXCEPTION_RETURN_VALUE
public static final int NOT_APPLICABLE_REASON_CODE
| Constructor Detail |
public AcrEvaluationResultMatch(int returnValuePattern,
int reason)
returnValuePattern - the return value pattern used to match
AccessControlRule return values.reason - the EvaluationException reason to be matched. Use
NOT_APPLICABLE_REASON_CODE if returnValuePattern is not
EVALUATION_EXCEPTION_RETURN_VALUE.| Method Detail |
public boolean matches(EvaluationResult evalResult)
matches in interface EvaluationResultMatchevalResult - the result of a security component evaluation.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||