@Inject
private OauthAuthenticator oauthAuthenticator;
@Override
public List<ResourceFilter> create(AbstractMethod am) {
Secure secureAnnotation = am.getResource().getAnnotation(Secure.class);
// Secure annotation at the method takes precedence over the class
if (am.isAnnotationPresent(Secure.class)) {
secureAnnotation = am.getAnnotation(Secure.class);
}