JavaTM 2 Platform
Standard Ed. 5.0

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.
 

Methods in java.security that return PermissionCollection
 PermissionCollection ProtectionDomain.getPermissions()
          Returns the static permissions granted to this domain.
abstract  PermissionCollection Policy.getPermissions(CodeSource codesource)
          Evaluates the global policy and returns a PermissionCollection object specifying the set of permissions allowed for code from the specified code source.
protected  PermissionCollection SecureClassLoader.getPermissions(CodeSource codesource)
          Returns the permissions for the given CodeSource object.
 PermissionCollection Policy.getPermissions(ProtectionDomain domain)
          Evaluates the global policy and returns a PermissionCollection object specifying the set of permissions allowed given the characteristics of the protection domain.
 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.
 


JavaTM 2 Platform
Standard Ed. 5.0

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

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.