validate
boolean validate(Principal principal)
By default principal validation is lazy, with the assumption
that this will be initiated by the resource later on the
dispatch path. This method allows subclasses to pursue an
alternate strategy based on eager validation. The injected
validator, if present, will be called immediately after the
credentials have been decoded.
- Parameters:
principal
- the decoded principal
- Returns:
- true iff dispatch should continue