public void addObjectPermissions(Collection<Permission> permissions) {
        if (this.objectPermissions == null) {
            this.objectPermissions = new HashSet<Permission>();
        }
        this.objectPermissions.addAll(permissions);
    }
Adds (assigns) multiple permissions to those associated directly with the account.  If the account doesn't yet
have any object-based permissions, a  new permissions collection (a Set&lt;{@link Permission Permission}&gt;)
will be created automatically.

@param permissions the permissions to add to those associated directly with the account.
core/src/main/java/org/apache/shiro/authz/SimpleAuthorizationInfo.java