- All Known Implementing Classes:
public interface ValidatorInterface used by Fortress to provide pluggable validation routines for constraints.
- Time of day:
- Days of week:
- Lock dates:
Constraint Error Codes
- Apache Directory Project
int validate(Session session, Constraint constraint, Time time, VUtil.ConstraintType type) throws SecurityExceptionThis method is called during activation of
The following error codes can be returned for validations:
session- contains the reference to Fortress entities that are targets for constraints.
constraint- contains the temporal attributes.
time- current time of day.
type- contains type of either role or user constraint.
- activation failure code.
SecurityException- in the event of validation fails or system exception.