Need to call accessRejected if the method is not whitelisted.
Merge branch 'script-security' of github.com:jenkinsci/workflow-plugin into script-security