01: /*
02: * Copyright (C) The MX4J Contributors.
03: * All rights reserved.
04: *
05: * This software is distributed under the terms of the MX4J License version 1.0.
06: * See the terms of the MX4J License in the documentation provided with this software.
07: */
08:
09: package javax.management.remote;
10:
11: import java.security.BasicPermission;
12:
13: /**
14: * @version $Revision: 1.3 $
15: */
16: public final class SubjectDelegationPermission extends BasicPermission {
17: public SubjectDelegationPermission(String name) {
18: super (name);
19: }
20:
21: public SubjectDelegationPermission(String name, String actions) {
22: super (name, actions);
23: if (actions != null)
24: throw new IllegalArgumentException(
25: "The permission's actions must be null");
26: }
27: }
|