Secure annotation = ctx.getTarget().getClass().getAnnotation(Secure.class);
return new HashSet<String>(Arrays.asList(annotation.value()));
}
private Set<String> methodMetadata(InvocationContext ctx) {
Secure annotation = ctx.getMethod().getAnnotation(Secure.class);
return new HashSet<String>(Arrays.asList(annotation.value()));
}