Package com.getperka.flatpack.policy.pst

Examples of com.getperka.flatpack.policy.pst.AllowRule


      return false;
    }

    @Override
    public boolean visit(AllowRule x) {
      AllowRule n = new AllowRule();
      n.setGroupName(clone(x.getGroupName()));
      n.setSecurityActions(clone(x.getSecurityActions()));
      stack.push(n);
      return false;
    }
View Full Code Here


    List<AllowRule> toInherit = listForAny();
    for (AllowBlock inherited : policy.getAllows()) {
      toInherit.addAll(inherited.getAclRules());
    }
    for (ListIterator<AllowRule> it = toInherit.listIterator(); it.hasNext();) {
      it.set(new AllowRule(it.next()));
    }
    x.getAclRules().addAll(0, toInherit);
    return true;
  }
View Full Code Here

            )
        ),
        new Action<Object>() {
          @Override
          public boolean run(Context<Object> ctx) {
            AllowRule x = new AllowRule();
            x.setSecurityActions(popIdentList(SecurityAction.class));
            x.setGroupName(popIdent(SecurityGroup.class));
            push(x);
            return true;
          }
        });
  }
View Full Code Here

TOP

Related Classes of com.getperka.flatpack.policy.pst.AllowRule

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.