code: @Override
      public IPermission newPermission(String owner, IAuthorizationPrincipal principal) {
          IPermission p = getPermissionStore().newInstance(owner);
          if (principal != null) {
              String pString = getPrincipalString(principal);
              p.setPrincipal(pString);
          }
          return p;
      }
docs: Factory method for an <code>IPermission</code>.
  
  @param owner String
  @param principal IAuthorizationPrincipal
  @return org.apereo.portal.security.IPermission