1 |
/* DefaultPolicy.java |
/* DefaultPolicy.java |
2 |
Copyright (C) 2001 Free Software Foundation, Inc. |
Copyright (C) 2001, 2002 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
47 |
*/ |
*/ |
48 |
public class DefaultPolicy extends Policy |
public class DefaultPolicy extends Policy |
49 |
{ |
{ |
|
/* |
|
|
static Permissions allPermissions = new Permissions(); |
|
|
|
|
|
static |
|
|
{ |
|
|
allPermissions.add(new AllPermission()); |
|
|
} |
|
|
*/ |
|
50 |
static Permission allPermission = new AllPermission(); |
static Permission allPermission = new AllPermission(); |
51 |
|
|
52 |
public PermissionCollection getPermissions(CodeSource codesource) |
public PermissionCollection getPermissions(CodeSource codesource) |