public final class ContextPermission extends AccessPermission
ServerContext
and
ObjectStreamContext
.
An instance contains a name (also referred to as a "target name") but no
actions list; you either have the named permission or you don't. The
convention is that the target name is the fully qualified name of the
(interface) method being invoked on the context element. Wildcard matches
are supported using the syntax specified by AccessPermission
.
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
ContextPermission(String name)
Creates an instance with the specified name.
|
equals, getActions, hashCode, implies
checkGuard, getName, newPermissionCollection, toString
private static final long serialVersionUID
public ContextPermission(String name)
name
- the target nameCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.