KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > impl > presentation > rmi > DynamicAccessPermission


1 /*
2  * @(#)DynamicAccessPermission.java 1.1 05/08/26
3  *
4  * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package com.sun.corba.se.impl.presentation.rmi;
9
10 import java.security.*;
11
12 /**
13  * This class controls the use of dynamic proxies.
14  * A DynamicAccessPermission contains a name (also referred to as a "target name") but
15  * no actions list; you either have the named permission
16  * or you don't.
17  *
18  * @version 1.1 05/08/26
19  */

20
21 public final class DynamicAccessPermission extends BasicPermission {
22     //private static final long serialVersionUID = -8343910153355041693L;
23

24     /**
25      * Creates a new DynamicAccessPermission with the specified name.
26      * @param name the name of the DynamicAccessPermission.
27      */

28     public DynamicAccessPermission(String JavaDoc name)
29     {
30     super(name);
31     }
32
33     /**
34      * Creates a new DynamicAccessPermission object with the specified name.
35      * The name is the symbolic name of the DynamicAccessPermission, and the
36      * actions String is currently unused and should be null.
37      *
38      * @param name the name of the DynamicAccessPermission.
39      * @param actions should be null.
40      */

41     public DynamicAccessPermission(String JavaDoc name, String JavaDoc actions)
42     {
43     super(name, actions);
44     }
45 }
46
Popular Tags