@RequiresPermissions("write")
    public void writeRestrictedCall() {
        log.info("executing method that requires the 'write' permission");
    }
Simple Service with methods protected with annotations.
samples/spring/src/main/java/org/apache/shiro/samples/spring/SimpleService.java