79 * constructor with a {@code null} name and/or actions.
80 * If an appropriate permission constructor is not available,
81 * the UnresolvedPermission is ignored and the relevant permission
82 * will not be granted to executing code.
83 *
84 * <p> The newly created permission object replaces the
85 * UnresolvedPermission, which is removed.
86 *
87 * <p> Note that the {@code getName} method for an
88 * {@code UnresolvedPermission} returns the
89 * {@code type} (class name) for the underlying permission
90 * that has not been resolved.
91 *
92 * @see java.security.Permission
93 * @see java.security.Permissions
94 * @see java.security.PermissionCollection
95 * @see java.security.Policy
96 *
97 *
98 * @author Roland Schemers
99 */
100
101 public final class UnresolvedPermission extends Permission
102 implements java.io.Serializable
103 {
104
105 private static final long serialVersionUID = -4821973115467008846L;
106
107 private static final sun.security.util.Debug debug =
108 sun.security.util.Debug.getInstance
109 ("policy,access", "UnresolvedPermission");
110
111 /**
112 * The class name of the Permission class that will be
113 * created when this unresolved permission is resolved.
114 *
115 * @serial
116 */
117 private String type;
118
|
79 * constructor with a {@code null} name and/or actions.
80 * If an appropriate permission constructor is not available,
81 * the UnresolvedPermission is ignored and the relevant permission
82 * will not be granted to executing code.
83 *
84 * <p> The newly created permission object replaces the
85 * UnresolvedPermission, which is removed.
86 *
87 * <p> Note that the {@code getName} method for an
88 * {@code UnresolvedPermission} returns the
89 * {@code type} (class name) for the underlying permission
90 * that has not been resolved.
91 *
92 * @see java.security.Permission
93 * @see java.security.Permissions
94 * @see java.security.PermissionCollection
95 * @see java.security.Policy
96 *
97 *
98 * @author Roland Schemers
99 * @since 1.2
100 */
101
102 public final class UnresolvedPermission extends Permission
103 implements java.io.Serializable
104 {
105
106 private static final long serialVersionUID = -4821973115467008846L;
107
108 private static final sun.security.util.Debug debug =
109 sun.security.util.Debug.getInstance
110 ("policy,access", "UnresolvedPermission");
111
112 /**
113 * The class name of the Permission class that will be
114 * created when this unresolved permission is resolved.
115 *
116 * @serial
117 */
118 private String type;
119
|