| Package | Description |
|---|---|
| java.io |
Provides for system input and output through data streams, serialization and the file system.
|
| java.net |
Provides the classes for implementing networking applications.
|
| java.security |
Provides the classes and interfaces for the security framework.
|
| java.util |
Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).
|
| javax.management |
Provides the core classes for the Java Management Extensions.
|
| javax.security.auth |
This package provides a framework for authentication and authorization.
|
| javax.security.auth.kerberos |
This package contains utility classes related to the Kerberos network authentication protocol.
|
| Modifier and Type | Method and Description |
|---|---|
PermissionCollection |
FilePermission.newPermissionCollection()
Returns a new PermissionCollection object for storing FilePermission objects.
|
| Modifier and Type | Method and Description |
|---|---|
protected PermissionCollection |
URLClassLoader.getPermissions(CodeSource
Returns the permissions for the given codesource object.
|
PermissionCollection |
SocketPermission.newPermissionCollection()
Returns a new PermissionCollection object for storing SocketPermission objects.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Permissions
This class represents a heterogeneous collection of Permissions.
|
| Modifier and Type | Field and Description |
|---|---|
static PermissionCollection |
Policy.UNSUPPORTED_EMPTY_COLLECTION
A read-only empty PermissionCollection instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected PermissionCollection |
PolicySpi.engineGetPermissions(CodeSource
Return a PermissionCollection object containing the set of permissions granted to the specified CodeSource.
|
protected PermissionCollection |
PolicySpi.engineGetPermissions(ProtectionDomain
Return a PermissionCollection object containing the set of permissions granted to the specified ProtectionDomain.
|
PermissionCollection |
ProtectionDomain.getPermissions()
Returns the static permissions granted to this domain.
|
protected PermissionCollection |
SecureClassLoader.getPermissions(CodeSource
Returns the permissions for the given CodeSource object.
|
PermissionCollection |
Policy.getPermissions(CodeSource
Return a PermissionCollection object containing the set of permissions granted to the specified CodeSource.
|
PermissionCollection |
Policy.getPermissions(ProtectionDomain
Return a PermissionCollection object containing the set of permissions granted to the specified ProtectionDomain.
|
PermissionCollection |
UnresolvedPermission.newPermissionCollection()
Returns a new PermissionCollection object for storing UnresolvedPermission objects.
|
PermissionCollection |
Permission.newPermissionCollection()
Returns an empty PermissionCollection for a given Permission object, or null if one is not defined.
|
PermissionCollection |
AllPermission.newPermissionCollection()
Returns a new PermissionCollection object for storing AllPermission objects.
|
PermissionCollection |
BasicPermission.newPermissionCollection()
Returns a new PermissionCollection object for storing BasicPermission objects.
|
| Constructor and Description | |
|---|---|
ProtectionDomain(CodeSource
Creates a new ProtectionDomain with the given CodeSource and Permissions.
|
|
ProtectionDomain(CodeSource
Creates a new ProtectionDomain qualified by the given CodeSource, Permissions, ClassLoader and array of Principals.
|
| Modifier and Type | Method and Description |
|---|---|
PermissionCollection |
PropertyPermission.newPermissionCollection()
Returns a new PermissionCollection object for storing PropertyPermission objects.
|
| Modifier and Type | Method and Description |
|---|---|
PermissionCollection |
MBeanServerPermission.newPermissionCollection()
|
| Modifier and Type | Method and Description |
|---|---|
abstract PermissionCollection |
Policy.getPermissions(Subject
Deprecated.
Retrieve the Permissions granted to the Principals associated with the specified
CodeSource.
|
PermissionCollection |
PrivateCredentialPermission.newPermissionCollection()
Return a homogeneous collection of PrivateCredentialPermissions in a
PermissionCollection.
|
| Modifier and Type | Method and Description |
|---|---|
PermissionCollection |
ServicePermission.newPermissionCollection()
Returns a PermissionCollection object for storing ServicePermission objects.
|
PermissionCollection |
DelegationPermission.newPermissionCollection()
Returns a PermissionCollection object for storing DelegationPermission objects.
|