GeezerVison is showing docs.oracle.com — SecurityPermission (Java Platform SE 8 )
Java™ Platform Standard Ed. 8
- Detail:
- Field |
- Constr |
- Method
compact1, compact2, compact3
java.security
Class SecurityPermission
-
-
Constructor Detail
-
SecurityPermission
public SecurityPermission(String name)
Creates a new SecurityPermission with the specified name.
The name is the symbolic name of the SecurityPermission. An asterisk
may appear at the end of the name, following a ".", or by itself, to
signify a wildcard match.
- Parameters:
name - the name of the SecurityPermission
- Throws:
NullPointerException - if name is null.
IllegalArgumentException - if name is empty.
-
SecurityPermission
public SecurityPermission(String name,
String actions)
Creates a new SecurityPermission object with the specified name.
The name is the symbolic name of the SecurityPermission, and the
actions String is currently unused and should be null.
- Parameters:
name - the name of the SecurityPermission
actions - should be null.
- Throws:
NullPointerException - if name is null.
IllegalArgumentException - if name is empty.
Java™ Platform Standard Ed. 8
- Detail:
- Field |
- Constr |
- Method
Submit a bug or feature For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
|