public interface Validator
ClockTime
Date
Day
Timeout
LockDate
DSDChecker
Modifier and Type | Method and Description |
---|---|
int |
validate(Session session,
Constraint constraint,
Time time,
VUtil.ConstraintType type)
This method is called during activation of
UserRole and UserAdminRole |
int validate(Session session, Constraint constraint, Time time, VUtil.ConstraintType type) throws SecurityException
UserRole
and UserAdminRole
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.SecurityException
- in the event of validation fails or system exception.Copyright © 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated 20160718-1621