public boolean addNamedPolicy ( String ptype , String ... params ) { return addNamedPolicy ( ptype , Arrays . asList ( params ) ) ; }
AddNamedPolicy adds an authorization rule to the current named policy . If the rule already exists the function returns false and the rule will not be added . Otherwise the function returns true by adding the new rule .