title: JAVA SecurityManager - custom BasicPermission with multiple actions
body: <p>I created the following policy file:</p>
  
  <pre><code>grant {
      permission StackPermission "use,save";
  };
  </code></pre>
  
  <p>In order to access it, I run my JVM using the following params:</p>
  
  <pre><code>-Djava.security.manager -Djava.security.policy=my.policy
  </code></pre>
  
  <p>My code looks like this:</p>
  
  <pre><code>SecurityManager sec = System.getSecurityManager();
  sec.checkPermission( new StackPermission( "use,save" ) );
  </code></pre>
  
  <p>Everything works great, but I want to go a bit more granular, without checking the "save" action:</p>
  
  <pre><code>sec.checkPermission( new StackPermission( "use" ) );
  </code></pre>
  
  <p>It seems this doesn't work even though my policy specifies both "use" and "save" alltogether, what should I do in order to provide such functionality?</p>
  
  <p>Many thanks, 
  Vlad</p>