dummy SecurityManager and related classes added

This commit is contained in:
Zsombor Gegesy
2010-08-15 14:47:45 +02:00
parent 6985e81503
commit 7376425b24
7 changed files with 105 additions and 2 deletions

View File

@ -11,6 +11,22 @@
package java.security;
public abstract class Permission {
protected String name;
public Permission(String name) {
this.name = name;
}
public String getName() {
return name;
}
@Override
public String toString() {
return this.getClass().getSimpleName() + '['+name+']';
}
public PermissionCollection newPermissionCollection() {
return null;
}