new PermissionMetaData( RuntimePermission.class.getName(), "getFactory", null,
null, null );
final GrantMetaData grant =
new GrantMetaData( "file:/", "jenny,mischelle,jenny", "default",
new PermissionMetaData[]{permission} );
final KeyStoreMetaData keyStore =
new KeyStoreMetaData( "default", "http://spice.sourceforge.net", "DoDgY" );
final PolicyMetaData metaData =
new PolicyMetaData( new KeyStoreMetaData[]{keyStore}, new GrantMetaData[]{grant} );
final TestResolver resolver = new TestResolver();
final Policy policy = builder.buildPolicy( metaData, resolver );
final CodeSource codesource =