Java™ Platform
Standard Ed. 6

Uses of Class
java.security.PermissionCollection

Packages that use PermissionCollection
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. 
 

Uses of PermissionCollection in java.io
 

Methods in java.io that return PermissionCollection
 PermissionCollection FilePermission.newPermissionCollection()
          Returns a new PermissionCollection object for storing FilePermission objects.
 

Uses of PermissionCollection in java.net
 

Methods in java.net that return PermissionCollection
protected  PermissionCollection URLClassLoader.getPermissions(CodeSource codesource)
          Returns the permissions for the given codesource object.
 PermissionCollection SocketPermission.newPermissionCollection()
          Returns a new PermissionCollection object for storing SocketPermission objects.
 

Uses of PermissionCollection in java.security
 

Subclasses of PermissionCollection in java.security
 class Permissions
          This class represents a heterogeneous collection of Permissions.
 

Fields in java.security declared as PermissionCollection
static PermissionCollection Policy.UNSUPPORTED_EMPTY_COLLECTION
          A read-only empty PermissionCollection instance.
 

Methods in java.security that return PermissionCollection
protected  PermissionCollection PolicySpi.engineGetPermissions(CodeSource codesource)
          Return a PermissionCollection object containing the set of permissions granted to the specified CodeSource.
protected  PermissionCollection PolicySpi.engineGetPermissions(ProtectionDomain domain)
          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.
 PermissionCollection Policy.getPermissions(CodeSource codesource)
          Return a PermissionCollection object containing the set of permissions granted to the specified CodeSource.
protected  PermissionCollection SecureClassLoader.getPermissions(CodeSource codesource)
          Returns the permissions for the given CodeSource object.
 PermissionCollection Policy.getPermissions(ProtectionDomain domain)
          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 AllPermission.newPermissionCollection()
          Returns a new PermissionCollection object for storing AllPermission objects.
 PermissionCollection BasicPermission.newPermissionCollection()
          Returns a new PermissionCollection object for storing BasicPermission objects.
 PermissionCollection Permission.newPermissionCollection()
          Returns an empty PermissionCollection for a given Permission object, or null if one is not defined.
 

Constructors in java.security with parameters of type PermissionCollection
ProtectionDomain(CodeSource codesource, PermissionCollection permissions)
          Creates a new ProtectionDomain with the given CodeSource and Permissions.
ProtectionDomain(CodeSource codesource, PermissionCollection permissions, ClassLoader classloader, Principal[] principals)
          Creates a new ProtectionDomain qualified by the given CodeSource, Permissions, ClassLoader and array of Principals.
 

Uses of PermissionCollection in java.util
 

Methods in java.util that return PermissionCollection
 PermissionCollection PropertyPermission.newPermissionCollection()
          Returns a new PermissionCollection object for storing PropertyPermission objects.
 

Uses of PermissionCollection in javax.management
 

Methods in javax.management that return PermissionCollection
 PermissionCollection MBeanServerPermission.newPermissionCollection()
           
 

Uses of PermissionCollection in javax.security.auth
 

Methods in javax.security.auth that return PermissionCollection
abstract  PermissionCollection Policy.getPermissions(Subject subject, CodeSource cs)
          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.
 

Uses of PermissionCollection in javax.security.auth.kerberos
 

Methods in javax.security.auth.kerberos that return PermissionCollection
 PermissionCollection ServicePermission.newPermissionCollection()
          Returns a PermissionCollection object for storing ServicePermission objects.
 PermissionCollection DelegationPermission.newPermissionCollection()
          Returns a PermissionCollection object for storing DelegationPermission objects.
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved.