Deprecated
for removal since 25.
This permission cannot be used for controlling access to resources as the Security Manager is no longer supported.
AuthPermission
contains a name (also referred to as a "target name") but no actions
list; you either have the named permission or you don't.
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | AuthPermission(String
the name of the AuthPermission name)Creates a new AuthPermission with the specified name. |
| public | AuthPermission(String
the name of the AuthPermission name, String should be null. actions)Creates a new AuthPermission object with the specified name. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| AuthPermission | back to summary |
|---|---|
| public AuthPermission(String name) Creates a new AuthPermission with the specified name. The name is the symbolic name of the AuthPermission.
| |
| AuthPermission | back to summary |
|---|---|
| public AuthPermission(String name, String actions) Creates a new AuthPermission object with the specified name. The name is the symbolic name of the AuthPermission, and the actions String is currently unused and should be null.
| |