log.debug("Allowing invokation to proceed with no authentication: {}",
method.getName());
return;
}
Access defaultAccess = getAssumedAccessType(method);
// Need to check after examining all parameters to see if we found any:
boolean foundVerifiedParameters = false;
Owner owner = null;
Annotation[][] annotations = method.getParameterAnnotations();
for (int i = 0; i < annotations.length; i++) {
for (Annotation a : annotations[i]) {
if (a instanceof Verify) {
foundVerifiedParameters = true;
Access requiredAccess = defaultAccess;
@SuppressWarnings("rawtypes")
Class verifyType = ((Verify) a).value();
if (((Verify) a).require() != Access.NONE) {
requiredAccess = ((Verify) a).require();