01: package org.osbl.authorization;
02:
03: import java.security.*;
04:
05: public class ActionPermission extends BasicPermission {
06: String actions;
07:
08: public ActionPermission(String name, String actions) {
09: super (name);
10: this .actions = actions;
11: }
12:
13: public String getActions() {
14: return actions;
15: }
16:
17: public PermissionCollection newPermissionCollection() {
18: return new PatternPermissionCollection();
19: }
20: }
|